Package com.singularsys.jep.walkers
Class PrefixTreeDumper
java.lang.Object
com.singularsys.jep.walkers.PrefixTreeWalker
com.singularsys.jep.walkers.PrefixTreeDumper
Dumps the contents of a tree to a specified stream, or to standard output.
Use this class by calling the walk method.
- Author:
- Richard Morris
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
protected void
protected void
visit
(ASTConstant node, int nchildren, int depth1) protected void
visit
(ASTFunNode node, int nchildren, int depth1) protected void
protected void
visit
(ASTVarNode node, int nchildren, int depth1) Methods inherited from class com.singularsys.jep.walkers.PrefixTreeWalker
walk
-
Constructor Details
-
PrefixTreeDumper
public PrefixTreeDumper() -
PrefixTreeDumper
-
-
Method Details
-
dump
- Throws:
JepException
-
visit
- Specified by:
visit
in classPrefixTreeWalker
-
visit
- Specified by:
visit
in classPrefixTreeWalker
-
visit
- Specified by:
visit
in classPrefixTreeWalker
-
visit
- Specified by:
visit
in classPrefixTreeWalker
-
output
-