extensions.st
author Claus Gittinger <cg@exept.de>
Mon, 02 Jul 2018 07:38:26 +0200
changeset 569 a048528ff697
parent 309 a60bee92ad60
child 376 a2656b27cace
child 634 e63445bb2c9a
permissions -rw-r--r--
removed container
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
4
90de244a7fa2 move to package
Claus Gittinger <cg@exept.de>
parents: 3
diff changeset
     1
"{ Package: 'stx:goodies/petitparser' }"!
0
739fe9b7253e *** empty log message ***
Claus Gittinger <cg@exept.de>
parents:
diff changeset
     2
739fe9b7253e *** empty log message ***
Claus Gittinger <cg@exept.de>
parents:
diff changeset
     3
!Block methodsFor:'*petitparser-core-converting'!
739fe9b7253e *** empty log message ***
Claus Gittinger <cg@exept.de>
parents:
diff changeset
     4
739fe9b7253e *** empty log message ***
Claus Gittinger <cg@exept.de>
parents:
diff changeset
     5
asParser
213
b38781d329c5 comments
Claus Gittinger <cg@exept.de>
parents: 155
diff changeset
     6
	"Answer a parser implemented in the receiving one-argument block."
b38781d329c5 comments
Claus Gittinger <cg@exept.de>
parents: 155
diff changeset
     7
0
739fe9b7253e *** empty log message ***
Claus Gittinger <cg@exept.de>
parents:
diff changeset
     8
	^ PPPluggableParser on: self
739fe9b7253e *** empty log message ***
Claus Gittinger <cg@exept.de>
parents:
diff changeset
     9
! !
3
e1b11f74e142 initial checkin
Claus Gittinger <cg@exept.de>
parents: 0
diff changeset
    10
0
739fe9b7253e *** empty log message ***
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    11
!BlockContext methodsFor:'*petitparser-core-converting'!
739fe9b7253e *** empty log message ***
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    12
739fe9b7253e *** empty log message ***
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    13
asParser
739fe9b7253e *** empty log message ***
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    14
	^ PPPluggableParser on: self
739fe9b7253e *** empty log message ***
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    15
! !
3
e1b11f74e142 initial checkin
Claus Gittinger <cg@exept.de>
parents: 0
diff changeset
    16
213
b38781d329c5 comments
Claus Gittinger <cg@exept.de>
parents: 155
diff changeset
    17
!Character methodsFor:'*petitparser-core-converting'!
0
739fe9b7253e *** empty log message ***
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    18
154
5c8f5da40d90 manually fixed bad checkin version
Claus Gittinger <cg@exept.de>
parents: 153
diff changeset
    19
asParser
213
b38781d329c5 comments
Claus Gittinger <cg@exept.de>
parents: 155
diff changeset
    20
	"Answer a parser that accepts the receiving character."
b38781d329c5 comments
Claus Gittinger <cg@exept.de>
parents: 155
diff changeset
    21
	
154
5c8f5da40d90 manually fixed bad checkin version
Claus Gittinger <cg@exept.de>
parents: 153
diff changeset
    22
	^ PPLiteralObjectParser on: self
0
739fe9b7253e *** empty log message ***
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    23
! !
3
e1b11f74e142 initial checkin
Claus Gittinger <cg@exept.de>
parents: 0
diff changeset
    24
0
739fe9b7253e *** empty log message ***
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    25
!Character methodsFor:'arithmetic'!
739fe9b7253e *** empty log message ***
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    26
154
5c8f5da40d90 manually fixed bad checkin version
Claus Gittinger <cg@exept.de>
parents: 153
diff changeset
    27
ppMinus: aCharacter
5c8f5da40d90 manually fixed bad checkin version
Claus Gittinger <cg@exept.de>
parents: 153
diff changeset
    28
    "Create a range of characters between the receiver and the argument."
0
739fe9b7253e *** empty log message ***
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    29
154
5c8f5da40d90 manually fixed bad checkin version
Claus Gittinger <cg@exept.de>
parents: 153
diff changeset
    30
    ^ PPPredicateObjectParser between: self and: aCharacter
0
739fe9b7253e *** empty log message ***
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    31
154
5c8f5da40d90 manually fixed bad checkin version
Claus Gittinger <cg@exept.de>
parents: 153
diff changeset
    32
    "Created: / 19-12-2010 / 18:13:19 / Jan Kurs <kurs.jan@post.cz>"
0
739fe9b7253e *** empty log message ***
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    33
! !
3
e1b11f74e142 initial checkin
Claus Gittinger <cg@exept.de>
parents: 0
diff changeset
    34
226
f88e1127557a initial
Claus Gittinger <cg@exept.de>
parents: 213
diff changeset
    35
!Collection methodsFor:'*petitparser-core-converting'!
f88e1127557a initial
Claus Gittinger <cg@exept.de>
parents: 213
diff changeset
    36
f88e1127557a initial
Claus Gittinger <cg@exept.de>
parents: 213
diff changeset
    37
asChoiceParser
f88e1127557a initial
Claus Gittinger <cg@exept.de>
parents: 213
diff changeset
    38
	^ PPChoiceParser withAll: (self collect: [ :each | each asParser ])
f88e1127557a initial
Claus Gittinger <cg@exept.de>
parents: 213
diff changeset
    39
! !
f88e1127557a initial
Claus Gittinger <cg@exept.de>
parents: 213
diff changeset
    40
f88e1127557a initial
Claus Gittinger <cg@exept.de>
parents: 213
diff changeset
    41
!Collection methodsFor:'*petitparser-core-converting'!
f88e1127557a initial
Claus Gittinger <cg@exept.de>
parents: 213
diff changeset
    42
f88e1127557a initial
Claus Gittinger <cg@exept.de>
parents: 213
diff changeset
    43
asSequenceParser
f88e1127557a initial
Claus Gittinger <cg@exept.de>
parents: 213
diff changeset
    44
	^ PPSequenceParser withAll: (self collect: [ :each | each asParser ])
f88e1127557a initial
Claus Gittinger <cg@exept.de>
parents: 213
diff changeset
    45
! !
f88e1127557a initial
Claus Gittinger <cg@exept.de>
parents: 213
diff changeset
    46
153
43cdafa051d5 added Interval asParser
Claus Gittinger <cg@exept.de>
parents: 152
diff changeset
    47
!Interval methodsFor:'*petitparser-converting'!
0
739fe9b7253e *** empty log message ***
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    48
739fe9b7253e *** empty log message ***
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    49
asParser
153
43cdafa051d5 added Interval asParser
Claus Gittinger <cg@exept.de>
parents: 152
diff changeset
    50
    "Create a range of characters between start and stop."
152
d104f89293e3 added Interval>>asParser
Claus Gittinger <cg@exept.de>
parents: 150
diff changeset
    51
d104f89293e3 added Interval>>asParser
Claus Gittinger <cg@exept.de>
parents: 150
diff changeset
    52
    self assert:start isCharacter.
d104f89293e3 added Interval>>asParser
Claus Gittinger <cg@exept.de>
parents: 150
diff changeset
    53
    self assert:stop isCharacter.
d104f89293e3 added Interval>>asParser
Claus Gittinger <cg@exept.de>
parents: 150
diff changeset
    54
    self assert:step == 1.
d104f89293e3 added Interval>>asParser
Claus Gittinger <cg@exept.de>
parents: 150
diff changeset
    55
    ^ PPPredicateObjectParser between: start and: stop
d104f89293e3 added Interval>>asParser
Claus Gittinger <cg@exept.de>
parents: 150
diff changeset
    56
d104f89293e3 added Interval>>asParser
Claus Gittinger <cg@exept.de>
parents: 150
diff changeset
    57
    "
d104f89293e3 added Interval>>asParser
Claus Gittinger <cg@exept.de>
parents: 150
diff changeset
    58
     ($a to:$f) asParser parse:'a'
d104f89293e3 added Interval>>asParser
Claus Gittinger <cg@exept.de>
parents: 150
diff changeset
    59
     ($a to:$f) asParser parse:'g'
d104f89293e3 added Interval>>asParser
Claus Gittinger <cg@exept.de>
parents: 150
diff changeset
    60
    "
d104f89293e3 added Interval>>asParser
Claus Gittinger <cg@exept.de>
parents: 150
diff changeset
    61
! !
d104f89293e3 added Interval>>asParser
Claus Gittinger <cg@exept.de>
parents: 150
diff changeset
    62
153
43cdafa051d5 added Interval asParser
Claus Gittinger <cg@exept.de>
parents: 152
diff changeset
    63
!Object methodsFor:'*petitparser-core-converting'!
43cdafa051d5 added Interval asParser
Claus Gittinger <cg@exept.de>
parents: 152
diff changeset
    64
154
5c8f5da40d90 manually fixed bad checkin version
Claus Gittinger <cg@exept.de>
parents: 153
diff changeset
    65
asParser
213
b38781d329c5 comments
Claus Gittinger <cg@exept.de>
parents: 155
diff changeset
    66
	"Answer a parser accepting the receiving object."
b38781d329c5 comments
Claus Gittinger <cg@exept.de>
parents: 155
diff changeset
    67
154
5c8f5da40d90 manually fixed bad checkin version
Claus Gittinger <cg@exept.de>
parents: 153
diff changeset
    68
	^ PPPredicateObjectParser expect: self
5c8f5da40d90 manually fixed bad checkin version
Claus Gittinger <cg@exept.de>
parents: 153
diff changeset
    69
! !
5c8f5da40d90 manually fixed bad checkin version
Claus Gittinger <cg@exept.de>
parents: 153
diff changeset
    70
5c8f5da40d90 manually fixed bad checkin version
Claus Gittinger <cg@exept.de>
parents: 153
diff changeset
    71
!Object methodsFor:'*petitparser-core-testing'!
5c8f5da40d90 manually fixed bad checkin version
Claus Gittinger <cg@exept.de>
parents: 153
diff changeset
    72
5c8f5da40d90 manually fixed bad checkin version
Claus Gittinger <cg@exept.de>
parents: 153
diff changeset
    73
isPetitFailure
5c8f5da40d90 manually fixed bad checkin version
Claus Gittinger <cg@exept.de>
parents: 153
diff changeset
    74
	^ false
5c8f5da40d90 manually fixed bad checkin version
Claus Gittinger <cg@exept.de>
parents: 153
diff changeset
    75
! !
5c8f5da40d90 manually fixed bad checkin version
Claus Gittinger <cg@exept.de>
parents: 153
diff changeset
    76
5c8f5da40d90 manually fixed bad checkin version
Claus Gittinger <cg@exept.de>
parents: 153
diff changeset
    77
!Object methodsFor:'*petitparser-core-testing'!
5c8f5da40d90 manually fixed bad checkin version
Claus Gittinger <cg@exept.de>
parents: 153
diff changeset
    78
5c8f5da40d90 manually fixed bad checkin version
Claus Gittinger <cg@exept.de>
parents: 153
diff changeset
    79
isPetitParser
5c8f5da40d90 manually fixed bad checkin version
Claus Gittinger <cg@exept.de>
parents: 153
diff changeset
    80
	^ false
5c8f5da40d90 manually fixed bad checkin version
Claus Gittinger <cg@exept.de>
parents: 153
diff changeset
    81
! !
5c8f5da40d90 manually fixed bad checkin version
Claus Gittinger <cg@exept.de>
parents: 153
diff changeset
    82
5c8f5da40d90 manually fixed bad checkin version
Claus Gittinger <cg@exept.de>
parents: 153
diff changeset
    83
!PositionableStream methodsFor:'*petitparser-core-converting'!
5c8f5da40d90 manually fixed bad checkin version
Claus Gittinger <cg@exept.de>
parents: 153
diff changeset
    84
5c8f5da40d90 manually fixed bad checkin version
Claus Gittinger <cg@exept.de>
parents: 153
diff changeset
    85
asPetitStream
5c8f5da40d90 manually fixed bad checkin version
Claus Gittinger <cg@exept.de>
parents: 153
diff changeset
    86
	"Some of my subclasses do not use the instance-variables collection, position and readLimit but instead have a completely different internal representation. In these cases just use the super implementation that is inefficient but should work in all cases."
5c8f5da40d90 manually fixed bad checkin version
Claus Gittinger <cg@exept.de>
parents: 153
diff changeset
    87
5c8f5da40d90 manually fixed bad checkin version
Claus Gittinger <cg@exept.de>
parents: 153
diff changeset
    88
	"DUNNO WHY, but on: collection from: position to: last set the start to position -1"
5c8f5da40d90 manually fixed bad checkin version
Claus Gittinger <cg@exept.de>
parents: 153
diff changeset
    89
	self breakPoint: #petitparser.
5c8f5da40d90 manually fixed bad checkin version
Claus Gittinger <cg@exept.de>
parents: 153
diff changeset
    90
5c8f5da40d90 manually fixed bad checkin version
Claus Gittinger <cg@exept.de>
parents: 153
diff changeset
    91
	^ (collection isNil or: [ position  isNil or: [ readLimit isNil ] ])
153
43cdafa051d5 added Interval asParser
Claus Gittinger <cg@exept.de>
parents: 152
diff changeset
    92
		ifFalse: [ PPStream on: collection from: (position +1) to: readLimit ]
43cdafa051d5 added Interval asParser
Claus Gittinger <cg@exept.de>
parents: 152
diff changeset
    93
		ifTrue: [ super asPetitStream ]
43cdafa051d5 added Interval asParser
Claus Gittinger <cg@exept.de>
parents: 152
diff changeset
    94
43cdafa051d5 added Interval asParser
Claus Gittinger <cg@exept.de>
parents: 152
diff changeset
    95
43cdafa051d5 added Interval asParser
Claus Gittinger <cg@exept.de>
parents: 152
diff changeset
    96
"/        ^ (collection isNil or: [ position isNil or: [ readLimit isNil ] ])
43cdafa051d5 added Interval asParser
Claus Gittinger <cg@exept.de>
parents: 152
diff changeset
    97
"/                ifFalse: [ PPStream on: collection from: position to: readLimit ]
43cdafa051d5 added Interval asParser
Claus Gittinger <cg@exept.de>
parents: 152
diff changeset
    98
"/                ifTrue: [ super asPetitStream ]
43cdafa051d5 added Interval asParser
Claus Gittinger <cg@exept.de>
parents: 152
diff changeset
    99
43cdafa051d5 added Interval asParser
Claus Gittinger <cg@exept.de>
parents: 152
diff changeset
   100
    "Modified: / 18-12-2010 / 17:38:01 / Jan Kurs <kurs.jan@post.cz>"
43cdafa051d5 added Interval asParser
Claus Gittinger <cg@exept.de>
parents: 152
diff changeset
   101
! !
43cdafa051d5 added Interval asParser
Claus Gittinger <cg@exept.de>
parents: 152
diff changeset
   102
43cdafa051d5 added Interval asParser
Claus Gittinger <cg@exept.de>
parents: 152
diff changeset
   103
!SequenceableCollection methodsFor:'*petitparser-core-converting'!
43cdafa051d5 added Interval asParser
Claus Gittinger <cg@exept.de>
parents: 152
diff changeset
   104
43cdafa051d5 added Interval asParser
Claus Gittinger <cg@exept.de>
parents: 152
diff changeset
   105
asParser
154
5c8f5da40d90 manually fixed bad checkin version
Claus Gittinger <cg@exept.de>
parents: 153
diff changeset
   106
	^ PPSequenceParser withAll: (self collect: [ :each | each asParser ])
153
43cdafa051d5 added Interval asParser
Claus Gittinger <cg@exept.de>
parents: 152
diff changeset
   107
! !
43cdafa051d5 added Interval asParser
Claus Gittinger <cg@exept.de>
parents: 152
diff changeset
   108
43cdafa051d5 added Interval asParser
Claus Gittinger <cg@exept.de>
parents: 152
diff changeset
   109
!SequenceableCollection methodsFor:'*petitparser-core-converting'!
43cdafa051d5 added Interval asParser
Claus Gittinger <cg@exept.de>
parents: 152
diff changeset
   110
154
5c8f5da40d90 manually fixed bad checkin version
Claus Gittinger <cg@exept.de>
parents: 153
diff changeset
   111
asPetitStream
5c8f5da40d90 manually fixed bad checkin version
Claus Gittinger <cg@exept.de>
parents: 153
diff changeset
   112
	^ PPStream on: self
5c8f5da40d90 manually fixed bad checkin version
Claus Gittinger <cg@exept.de>
parents: 153
diff changeset
   113
! !
5c8f5da40d90 manually fixed bad checkin version
Claus Gittinger <cg@exept.de>
parents: 153
diff changeset
   114
0
739fe9b7253e *** empty log message ***
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   115
!Set methodsFor:'*petitparser-core-converting'!
739fe9b7253e *** empty log message ***
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   116
154
5c8f5da40d90 manually fixed bad checkin version
Claus Gittinger <cg@exept.de>
parents: 153
diff changeset
   117
asParser
5c8f5da40d90 manually fixed bad checkin version
Claus Gittinger <cg@exept.de>
parents: 153
diff changeset
   118
	^ PPChoiceParser withAll: (self collect: [ :each | each asParser ])
0
739fe9b7253e *** empty log message ***
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   119
! !
3
e1b11f74e142 initial checkin
Claus Gittinger <cg@exept.de>
parents: 0
diff changeset
   120
0
739fe9b7253e *** empty log message ***
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   121
!Stream methodsFor:'*petitparser-core-converting'!
739fe9b7253e *** empty log message ***
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   122
154
5c8f5da40d90 manually fixed bad checkin version
Claus Gittinger <cg@exept.de>
parents: 153
diff changeset
   123
asPetitStream
5c8f5da40d90 manually fixed bad checkin version
Claus Gittinger <cg@exept.de>
parents: 153
diff changeset
   124
	^ self contents asPetitStream
0
739fe9b7253e *** empty log message ***
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   125
! !
3
e1b11f74e142 initial checkin
Claus Gittinger <cg@exept.de>
parents: 0
diff changeset
   126
0
739fe9b7253e *** empty log message ***
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   127
!String methodsFor:'*petitparser-core-converting'!
739fe9b7253e *** empty log message ***
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   128
154
5c8f5da40d90 manually fixed bad checkin version
Claus Gittinger <cg@exept.de>
parents: 153
diff changeset
   129
asParser
213
b38781d329c5 comments
Claus Gittinger <cg@exept.de>
parents: 155
diff changeset
   130
	"Answer a parser that accepts the receiving string."
b38781d329c5 comments
Claus Gittinger <cg@exept.de>
parents: 155
diff changeset
   131
154
5c8f5da40d90 manually fixed bad checkin version
Claus Gittinger <cg@exept.de>
parents: 153
diff changeset
   132
	^ PPLiteralSequenceParser on: self
0
739fe9b7253e *** empty log message ***
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   133
! !
3
e1b11f74e142 initial checkin
Claus Gittinger <cg@exept.de>
parents: 0
diff changeset
   134
0
739fe9b7253e *** empty log message ***
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   135
!Symbol methodsFor:'*petitparser-core-converting'!
739fe9b7253e *** empty log message ***
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   136
154
5c8f5da40d90 manually fixed bad checkin version
Claus Gittinger <cg@exept.de>
parents: 153
diff changeset
   137
asParser
213
b38781d329c5 comments
Claus Gittinger <cg@exept.de>
parents: 155
diff changeset
   138
	"Answer a predicate parser named after the receiving symbol. Possible symbols are the method selectors on the class-side of PPPredicateObjectParser."
b38781d329c5 comments
Claus Gittinger <cg@exept.de>
parents: 155
diff changeset
   139
154
5c8f5da40d90 manually fixed bad checkin version
Claus Gittinger <cg@exept.de>
parents: 153
diff changeset
   140
	^ PPPredicateObjectParser perform: self
0
739fe9b7253e *** empty log message ***
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   141
! !
3
e1b11f74e142 initial checkin
Claus Gittinger <cg@exept.de>
parents: 0
diff changeset
   142
0
739fe9b7253e *** empty log message ***
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   143
!Symbol methodsFor:'Compatibility-Squeak'!
739fe9b7253e *** empty log message ***
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   144
154
5c8f5da40d90 manually fixed bad checkin version
Claus Gittinger <cg@exept.de>
parents: 153
diff changeset
   145
value:anObject
5c8f5da40d90 manually fixed bad checkin version
Claus Gittinger <cg@exept.de>
parents: 153
diff changeset
   146
    ^ anObject perform: self.
5c8f5da40d90 manually fixed bad checkin version
Claus Gittinger <cg@exept.de>
parents: 153
diff changeset
   147
5c8f5da40d90 manually fixed bad checkin version
Claus Gittinger <cg@exept.de>
parents: 153
diff changeset
   148
    "Created: / 18-12-2010 / 16:47:22 / Jan Kurs <kurs.jan@post.cz>"
0
739fe9b7253e *** empty log message ***
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   149
! !
3
e1b11f74e142 initial checkin
Claus Gittinger <cg@exept.de>
parents: 0
diff changeset
   150
0
739fe9b7253e *** empty log message ***
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   151
!Text methodsFor:'*petitparser-core'!
739fe9b7253e *** empty log message ***
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   152
154
5c8f5da40d90 manually fixed bad checkin version
Claus Gittinger <cg@exept.de>
parents: 153
diff changeset
   153
asPetitStream
5c8f5da40d90 manually fixed bad checkin version
Claus Gittinger <cg@exept.de>
parents: 153
diff changeset
   154
	^ string asPetitStream
0
739fe9b7253e *** empty log message ***
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   155
! !
3
e1b11f74e142 initial checkin
Claus Gittinger <cg@exept.de>
parents: 0
diff changeset
   156
0
739fe9b7253e *** empty log message ***
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   157
!UndefinedObject methodsFor:'*petitparser-converting'!
739fe9b7253e *** empty log message ***
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   158
154
5c8f5da40d90 manually fixed bad checkin version
Claus Gittinger <cg@exept.de>
parents: 153
diff changeset
   159
asParser
213
b38781d329c5 comments
Claus Gittinger <cg@exept.de>
parents: 155
diff changeset
   160
	"Answer a parser that succeeds and does not consume anything."
b38781d329c5 comments
Claus Gittinger <cg@exept.de>
parents: 155
diff changeset
   161
	
154
5c8f5da40d90 manually fixed bad checkin version
Claus Gittinger <cg@exept.de>
parents: 153
diff changeset
   162
	^ PPEpsilonParser new
0
739fe9b7253e *** empty log message ***
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   163
! !
3
e1b11f74e142 initial checkin
Claus Gittinger <cg@exept.de>
parents: 0
diff changeset
   164
4
90de244a7fa2 move to package
Claus Gittinger <cg@exept.de>
parents: 3
diff changeset
   165
!stx_goodies_petitparser class methodsFor:'documentation'!
3
e1b11f74e142 initial checkin
Claus Gittinger <cg@exept.de>
parents: 0
diff changeset
   166
154
5c8f5da40d90 manually fixed bad checkin version
Claus Gittinger <cg@exept.de>
parents: 153
diff changeset
   167
extensionsVersion_CVS
309
Claus Gittinger <cg@exept.de>
parents: 226
diff changeset
   168
    ^ '$Header: /cvs/stx/stx/goodies/petitparser/extensions.st,v 1.12 2014-03-04 20:29:55 cg Exp $'
150
24e8d10ff041 Character>>-not needed here - already in libbasic
Claus Gittinger <cg@exept.de>
parents: 58
diff changeset
   169
! !
213
b38781d329c5 comments
Claus Gittinger <cg@exept.de>
parents: 155
diff changeset
   170