| javaparser.ParserOutputProcessor
All known Subclasses: javaparser.RAWSyntaxTree,
ParserOutputProcessor | public interface ParserOutputProcessor (Code) | | Taken from Schmortopf !
This interface must be implemented by any class,
which wants to create a parser and get all
output strings the parser creates when running
its compilationunit.
|
Method Summary | |
public void | addLeaf(Token content) Called by the parser when it has encountered a token
at the current treeposition, which is defined by all
already received calls of addNode() and returnFromNode(). | public void | addNode(String name) Called by the parser when it encounters a new node. | public void | returnFromNode(String name) |
addLeaf | public void addLeaf(Token content)(Code) | | Called by the parser when it has encountered a token
at the current treeposition, which is defined by all
already received calls of addNode() and returnFromNode().
|
addNode | public void addNode(String name)(Code) | | Called by the parser when it encounters a new node.
|
returnFromNode | public void returnFromNode(String name)(Code) | | Called by the parser when it returns from a previously
encountered node (for which it has called addNode)
|
|
|