Peach :: Generators :: data :: _GeneratorTreeWalkerWrapPhase :: Class _GeneratorTreeWalkerWrapPhase
[hide private]

Class _GeneratorTreeWalkerWrapPhase

source code


Internal class that will walk our string tree and apply a generator to the "sides" of each node (not just leaf nodes). Each node has a generated value placed on each side of it. This is to further confuse parsers.

Instance Methods [hide private]
 
__init__(self, group, generator, topNode) source code
 
next(self) source code
 
_moveNext(self, currentNode) source code
 
reset(self) source code
 
getRawValue(self) source code
 
_buildString(self, node=None)
Reassemble node tree into a string
source code
 
_buildString2(self, node=None)
Reassemble node tree into a string
source code