GrammarScope  2.0
Classes | Public Member Functions | Private Member Functions | List of all members
grammarscope.glue.TreeWalker< N, T > Class Reference

Classes

class  ITree< N >
 
interface  ITreeProcessor< N, T >
 

Public Member Functions

walk (final ITree< N > thisNode, final ITreeProcessor< ITree< N >, T > thisProcessor)
 

Private Member Functions

walkTree (final ITree< N > thisNode, final ITree< N > thisParent, final ITreeProcessor< ITree< N >, T > thisProcessor)
 

Detailed Description

Tree walker

Author
Bernard Bou
Parameters
<N>node type
<T>type returned by processing node

Member Function Documentation

T grammarscope.glue.TreeWalker< N, T >.walk ( final ITree< N >  thisNode,
final ITreeProcessor< ITree< N >, T >  thisProcessor 
)

Walk tree

Parameters
thisNoderoot node
thisProcessorprocessor
Returns
transformed root node
T grammarscope.glue.TreeWalker< N, T >.walkTree ( final ITree< N >  thisNode,
final ITree< N >  thisParent,
final ITreeProcessor< ITree< N >, T >  thisProcessor 
)
private

Walk tree recursive helper

Parameters
thisNoderoot node
thisProcessorprocessor
Returns
transformed root node

The documentation for this class was generated from the following file: