PPMemento.st
changeset 19 4247b85d8584
parent 4 90de244a7fa2
child 377 6112a403a52d
equal deleted inserted replaced
18:fc91f519ff96 19:4247b85d8584
     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 !
       
     9 
       
    10 PPMemento comment:'PPMemento is an internal class used by PPMemoizedParser to cache results and detect left-recursive calls.
       
    11 Instance Variables:
       
    12 	result  <Object>        The cached result.
       
    13 	count   <Integer>       The number of recursive cycles followed.
       
    14 	position        <Integer>       The position of the cached result in the input stream.'
       
    15 !
     8 !
    16 
     9 
    17 
    10 
    18 !PPMemento class methodsFor:'instance creation'!
    11 !PPMemento class methodsFor:'instance creation'!
    19 
    12 
    53 
    46 
    54 !PPMemento methodsFor:'initialization'!
    47 !PPMemento methodsFor:'initialization'!
    55 
    48 
    56 initialize
    49 initialize
    57 	count := 0
    50 	count := 0
    58 
    51 	
    59 ! !
    52 ! !
    60 
    53 
    61 !PPMemento class methodsFor:'documentation'!
    54 !PPMemento class methodsFor:'documentation'!
    62 
    55 
       
    56 version
       
    57     ^ '$Header: /cvs/stx/stx/goodies/petitparser/PPMemento.st,v 1.3 2012-05-04 22:00:45 vrany Exp $'
       
    58 !
       
    59 
       
    60 version_CVS
       
    61     ^ '$Header: /cvs/stx/stx/goodies/petitparser/PPMemento.st,v 1.3 2012-05-04 22:00:45 vrany Exp $'
       
    62 !
       
    63 
    63 version_SVN
    64 version_SVN
    64     ^ '$Id: PPMemento.st,v 1.2 2012-01-13 11:22:50 cg Exp $'
    65     ^ '§Id: PPMemento.st 2 2010-12-17 18:44:23Z vranyj1 §'
    65 ! !
    66 ! !