PPNotParser.st
changeset 43 4bc103d5f559
parent 4 90de244a7fa2
child 377 6112a403a52d
equal deleted inserted replaced
42:9b021405b8a5 43:4bc103d5f559
     3 PPDelegateParser subclass:#PPNotParser
     3 PPDelegateParser subclass:#PPNotParser
     4 	instanceVariableNames:''
     4 	instanceVariableNames:''
     5 	classVariableNames:''
     5 	classVariableNames:''
     6 	poolDictionaries:''
     6 	poolDictionaries:''
     7 	category:'PetitParser-Parsers'
     7 	category:'PetitParser-Parsers'
     8 !
       
     9 
       
    10 PPNotParser comment:'The not-predicate, a parser that succeeds whenever its delegate does not, but consumes no input [Parr 1994, 1995].'
       
    11 !
     8 !
    12 
     9 
    13 
    10 
    14 !PPNotParser methodsFor:'parsing'!
    11 !PPNotParser methodsFor:'parsing'!
    15 
    12 
    22 		ifFalse: [ PPFailure message: '' at: aStream position ]
    19 		ifFalse: [ PPFailure message: '' at: aStream position ]
    23 ! !
    20 ! !
    24 
    21 
    25 !PPNotParser class methodsFor:'documentation'!
    22 !PPNotParser class methodsFor:'documentation'!
    26 
    23 
       
    24 version
       
    25     ^ '$Header: /cvs/stx/stx/goodies/petitparser/PPNotParser.st,v 1.3 2012-05-04 22:06:22 vrany Exp $'
       
    26 !
       
    27 
       
    28 version_CVS
       
    29     ^ '$Header: /cvs/stx/stx/goodies/petitparser/PPNotParser.st,v 1.3 2012-05-04 22:06:22 vrany Exp $'
       
    30 !
       
    31 
    27 version_SVN
    32 version_SVN
    28     ^ '$Id: PPNotParser.st,v 1.2 2012-01-13 11:22:50 cg Exp $'
    33     ^ '§Id: PPNotParser.st 2 2010-12-17 18:44:23Z vranyj1 §'
    29 ! !
    34 ! !