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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidprotected voidprotected voidvisit(ASTConstant node, int nchildren, int depth1) protected voidvisit(ASTFunNode node, int nchildren, int depth1) protected voidprotected voidvisit(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:
visitin classPrefixTreeWalker
-
visit
- Specified by:
visitin classPrefixTreeWalker
-
visit
- Specified by:
visitin classPrefixTreeWalker
-
visit
- Specified by:
visitin classPrefixTreeWalker
-
output
-