4
|
1 |
"{ Package: 'stx:goodies/petitparser' }"
|
0
|
2 |
|
|
3 |
PPDelegateParser subclass:#PPAndParser
|
|
4 |
instanceVariableNames:''
|
|
5 |
classVariableNames:''
|
|
6 |
poolDictionaries:''
|
|
7 |
category:'PetitParser-Parsers'
|
|
8 |
!
|
|
9 |
|
|
10 |
|
|
11 |
!PPAndParser methodsFor:'operations'!
|
|
12 |
|
|
13 |
and
|
|
14 |
^ self
|
|
15 |
! !
|
|
16 |
|
|
17 |
!PPAndParser methodsFor:'parsing'!
|
|
18 |
|
|
19 |
parseOn: aStream
|
|
20 |
| element position |
|
|
21 |
position := aStream position.
|
|
22 |
element := parser parseOn: aStream.
|
|
23 |
aStream position: position.
|
|
24 |
^ element
|
|
25 |
! !
|
|
26 |
|
|
27 |
!PPAndParser class methodsFor:'documentation'!
|
|
28 |
|
49
|
29 |
version
|
|
30 |
^ '$Header: /cvs/stx/stx/goodies/petitparser/PPAndParser.st,v 1.3 2012-05-04 22:08:57 vrany Exp $'
|
|
31 |
!
|
|
32 |
|
|
33 |
version_CVS
|
|
34 |
^ '$Header: /cvs/stx/stx/goodies/petitparser/PPAndParser.st,v 1.3 2012-05-04 22:08:57 vrany Exp $'
|
|
35 |
!
|
|
36 |
|
0
|
37 |
version_SVN
|
49
|
38 |
^ '§Id: PPAndParser.st 2 2010-12-17 18:44:23Z vranyj1 §'
|
0
|
39 |
! !
|