PPChoiceParser.st
changeset 36 4fe8e6295f9e
parent 4 90de244a7fa2
child 377 6112a403a52d
equal deleted inserted replaced
35:f34ac42e9496 36:4fe8e6295f9e
     5 	classVariableNames:''
     5 	classVariableNames:''
     6 	poolDictionaries:''
     6 	poolDictionaries:''
     7 	category:'PetitParser-Parsers'
     7 	category:'PetitParser-Parsers'
     8 !
     8 !
     9 
     9 
    10 PPChoiceParser comment:'A parser that uses the first parser that succeeds.'
       
    11 !
       
    12 
       
    13 
    10 
    14 !PPChoiceParser methodsFor:'operations'!
    11 !PPChoiceParser methodsFor:'operations'!
    15 
    12 
    16 / aRule
    13 / aRule 
    17 	^ self copyWith: aRule
    14 	^ self copyWith: aRule
    18 ! !
    15 ! !
    19 
    16 
    20 !PPChoiceParser methodsFor:'parsing'!
    17 !PPChoiceParser methodsFor:'parsing'!
    21 
    18 
    31 	^ element
    28 	^ element
    32 ! !
    29 ! !
    33 
    30 
    34 !PPChoiceParser class methodsFor:'documentation'!
    31 !PPChoiceParser class methodsFor:'documentation'!
    35 
    32 
       
    33 version
       
    34     ^ '$Header: /cvs/stx/stx/goodies/petitparser/PPChoiceParser.st,v 1.3 2012-05-04 22:05:05 vrany Exp $'
       
    35 !
       
    36 
       
    37 version_CVS
       
    38     ^ '$Header: /cvs/stx/stx/goodies/petitparser/PPChoiceParser.st,v 1.3 2012-05-04 22:05:05 vrany Exp $'
       
    39 !
       
    40 
    36 version_SVN
    41 version_SVN
    37     ^ '$Id: PPChoiceParser.st,v 1.2 2012-01-13 11:22:50 cg Exp $'
    42     ^ '§Id: PPChoiceParser.st 2 2010-12-17 18:44:23Z vranyj1 §'
    38 ! !
    43 ! !