equal
deleted
inserted
replaced
1 "{ Package: 'squeak:petitparser' }" |
1 "{ Package: 'stx:goodies/petitparser' }" |
2 |
2 |
3 Object subclass:#PPMemento |
3 Object subclass:#PPMemento |
4 instanceVariableNames:'result count position' |
4 instanceVariableNames:'result count position' |
5 classVariableNames:'' |
5 classVariableNames:'' |
6 poolDictionaries:'' |
6 poolDictionaries:'' |
7 category:'PetitParser-Core' |
7 category:'PetitParser-Core' |
8 ! |
8 ! |
9 |
9 |
10 PPMemento comment:'PPMemento is an internal class used by PPMemoizedParser to cache results and detect left-recursive calls. |
10 PPMemento comment:'PPMemento is an internal class used by PPMemoizedParser to cache results and detect left-recursive calls. |
11 Instance Variables: |
11 Instance Variables: |
12 result <Object> The cached result. |
12 result <Object> The cached result. |
13 count <Integer> The number of recursive cycles followed. |
13 count <Integer> The number of recursive cycles followed. |
14 position <Integer> The position of the cached result in the input stream.' |
14 position <Integer> The position of the cached result in the input stream.' |
15 ! |
15 ! |
16 |
16 |
17 |
17 |
18 !PPMemento class methodsFor:'instance creation'! |
18 !PPMemento class methodsFor:'instance creation'! |
19 |
19 |
53 |
53 |
54 !PPMemento methodsFor:'initialization'! |
54 !PPMemento methodsFor:'initialization'! |
55 |
55 |
56 initialize |
56 initialize |
57 count := 0 |
57 count := 0 |
58 |
58 |
59 ! ! |
59 ! ! |
60 |
60 |
61 !PPMemento class methodsFor:'documentation'! |
61 !PPMemento class methodsFor:'documentation'! |
62 |
62 |
63 version_SVN |
63 version_SVN |
64 ^ '$Id: PPMemento.st,v 1.1 2011-08-18 18:56:17 cg Exp $' |
64 ^ '$Id: PPMemento.st,v 1.2 2012-01-13 11:22:50 cg Exp $' |
65 ! ! |
65 ! ! |