org.apache.commons.ognl
Class ToStringVisitor
java.lang.Object
org.apache.commons.ognl.ToStringVisitor
- All Implemented Interfaces:
- NodeVisitor<StringBuilder,StringBuilder>
public class ToStringVisitor
- extends Object
- implements NodeVisitor<StringBuilder,StringBuilder>
A NodeVisitor implementation which will build a String representation of the AST tree.
This class is meant to be used by SimpleNode.toString(), but you may use it to
- Since:
- 4.0
- Author:
- Daniel Pitts
Method Summary |
StringBuilder |
visit(org.apache.commons.ognl.ASTAdd node,
StringBuilder data)
|
StringBuilder |
visit(ASTAnd node,
StringBuilder data)
|
StringBuilder |
visit(org.apache.commons.ognl.ASTAssign node,
StringBuilder data)
|
StringBuilder |
visit(org.apache.commons.ognl.ASTBitAnd node,
StringBuilder data)
|
StringBuilder |
visit(org.apache.commons.ognl.ASTBitNegate node,
StringBuilder data)
|
StringBuilder |
visit(org.apache.commons.ognl.ASTBitOr node,
StringBuilder data)
|
StringBuilder |
visit(ASTChain node,
StringBuilder data)
|
StringBuilder |
visit(ASTConst node,
StringBuilder data)
|
StringBuilder |
visit(ASTCtor node,
StringBuilder data)
|
StringBuilder |
visit(org.apache.commons.ognl.ASTDivide node,
StringBuilder data)
|
StringBuilder |
visit(org.apache.commons.ognl.ASTEq node,
StringBuilder data)
|
StringBuilder |
visit(org.apache.commons.ognl.ASTEval node,
StringBuilder data)
|
StringBuilder |
visit(org.apache.commons.ognl.ASTGreaterEq node,
StringBuilder data)
|
StringBuilder |
visit(org.apache.commons.ognl.ASTGreater node,
StringBuilder data)
|
StringBuilder |
visit(ASTInstanceof node,
StringBuilder data)
|
StringBuilder |
visit(org.apache.commons.ognl.ASTIn node,
StringBuilder data)
|
StringBuilder |
visit(org.apache.commons.ognl.ASTKeyValue node,
StringBuilder data)
|
StringBuilder |
visit(org.apache.commons.ognl.ASTLessEq node,
StringBuilder data)
|
StringBuilder |
visit(org.apache.commons.ognl.ASTLess node,
StringBuilder data)
|
StringBuilder |
visit(ASTList node,
StringBuilder data)
|
StringBuilder |
visit(org.apache.commons.ognl.ASTMap node,
StringBuilder data)
|
StringBuilder |
visit(ASTMethod node,
StringBuilder data)
|
StringBuilder |
visit(org.apache.commons.ognl.ASTMultiply node,
StringBuilder data)
|
StringBuilder |
visit(org.apache.commons.ognl.ASTNegate node,
StringBuilder data)
|
StringBuilder |
visit(org.apache.commons.ognl.ASTNotEq node,
StringBuilder data)
|
StringBuilder |
visit(org.apache.commons.ognl.ASTNotIn node,
StringBuilder data)
|
StringBuilder |
visit(org.apache.commons.ognl.ASTNot node,
StringBuilder data)
|
StringBuilder |
visit(ASTOr node,
StringBuilder data)
|
StringBuilder |
visit(org.apache.commons.ognl.ASTProject node,
StringBuilder data)
|
StringBuilder |
visit(ASTProperty node,
StringBuilder data)
|
StringBuilder |
visit(org.apache.commons.ognl.ASTRemainder node,
StringBuilder data)
|
StringBuilder |
visit(ASTRootVarRef node,
StringBuilder data)
|
StringBuilder |
visit(org.apache.commons.ognl.ASTSelectFirst node,
StringBuilder data)
|
StringBuilder |
visit(org.apache.commons.ognl.ASTSelectLast node,
StringBuilder data)
|
StringBuilder |
visit(org.apache.commons.ognl.ASTSelect node,
StringBuilder data)
|
StringBuilder |
visit(ASTSequence node,
StringBuilder data)
|
StringBuilder |
visit(org.apache.commons.ognl.ASTShiftLeft node,
StringBuilder data)
|
StringBuilder |
visit(org.apache.commons.ognl.ASTShiftRight node,
StringBuilder data)
|
StringBuilder |
visit(ASTStaticField node,
StringBuilder data)
|
StringBuilder |
visit(ASTStaticMethod node,
StringBuilder data)
|
StringBuilder |
visit(org.apache.commons.ognl.ASTSubtract node,
StringBuilder data)
|
StringBuilder |
visit(org.apache.commons.ognl.ASTTest node,
StringBuilder data)
|
StringBuilder |
visit(ASTThisVarRef node,
StringBuilder data)
|
StringBuilder |
visit(org.apache.commons.ognl.ASTUnsignedShiftRight node,
StringBuilder data)
|
StringBuilder |
visit(ASTVarRef node,
StringBuilder data)
|
StringBuilder |
visit(org.apache.commons.ognl.ASTXor node,
StringBuilder data)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ToStringVisitor
public ToStringVisitor()
visit
public StringBuilder visit(ASTSequence node,
StringBuilder data)
- Specified by:
visit
in interface NodeVisitor<StringBuilder,StringBuilder>
visit
public StringBuilder visit(org.apache.commons.ognl.ASTAssign node,
StringBuilder data)
- Specified by:
visit
in interface NodeVisitor<StringBuilder,StringBuilder>
visit
public StringBuilder visit(org.apache.commons.ognl.ASTTest node,
StringBuilder data)
- Specified by:
visit
in interface NodeVisitor<StringBuilder,StringBuilder>
visit
public StringBuilder visit(ASTOr node,
StringBuilder data)
- Specified by:
visit
in interface NodeVisitor<StringBuilder,StringBuilder>
visit
public StringBuilder visit(ASTAnd node,
StringBuilder data)
- Specified by:
visit
in interface NodeVisitor<StringBuilder,StringBuilder>
visit
public StringBuilder visit(org.apache.commons.ognl.ASTBitOr node,
StringBuilder data)
- Specified by:
visit
in interface NodeVisitor<StringBuilder,StringBuilder>
visit
public StringBuilder visit(org.apache.commons.ognl.ASTXor node,
StringBuilder data)
- Specified by:
visit
in interface NodeVisitor<StringBuilder,StringBuilder>
visit
public StringBuilder visit(org.apache.commons.ognl.ASTBitAnd node,
StringBuilder data)
- Specified by:
visit
in interface NodeVisitor<StringBuilder,StringBuilder>
visit
public StringBuilder visit(org.apache.commons.ognl.ASTEq node,
StringBuilder data)
- Specified by:
visit
in interface NodeVisitor<StringBuilder,StringBuilder>
visit
public StringBuilder visit(org.apache.commons.ognl.ASTNotEq node,
StringBuilder data)
- Specified by:
visit
in interface NodeVisitor<StringBuilder,StringBuilder>
visit
public StringBuilder visit(org.apache.commons.ognl.ASTLess node,
StringBuilder data)
- Specified by:
visit
in interface NodeVisitor<StringBuilder,StringBuilder>
visit
public StringBuilder visit(org.apache.commons.ognl.ASTGreater node,
StringBuilder data)
- Specified by:
visit
in interface NodeVisitor<StringBuilder,StringBuilder>
visit
public StringBuilder visit(org.apache.commons.ognl.ASTLessEq node,
StringBuilder data)
- Specified by:
visit
in interface NodeVisitor<StringBuilder,StringBuilder>
visit
public StringBuilder visit(org.apache.commons.ognl.ASTGreaterEq node,
StringBuilder data)
- Specified by:
visit
in interface NodeVisitor<StringBuilder,StringBuilder>
visit
public StringBuilder visit(org.apache.commons.ognl.ASTIn node,
StringBuilder data)
- Specified by:
visit
in interface NodeVisitor<StringBuilder,StringBuilder>
visit
public StringBuilder visit(org.apache.commons.ognl.ASTNotIn node,
StringBuilder data)
- Specified by:
visit
in interface NodeVisitor<StringBuilder,StringBuilder>
visit
public StringBuilder visit(org.apache.commons.ognl.ASTShiftLeft node,
StringBuilder data)
- Specified by:
visit
in interface NodeVisitor<StringBuilder,StringBuilder>
visit
public StringBuilder visit(org.apache.commons.ognl.ASTShiftRight node,
StringBuilder data)
- Specified by:
visit
in interface NodeVisitor<StringBuilder,StringBuilder>
visit
public StringBuilder visit(org.apache.commons.ognl.ASTUnsignedShiftRight node,
StringBuilder data)
- Specified by:
visit
in interface NodeVisitor<StringBuilder,StringBuilder>
visit
public StringBuilder visit(org.apache.commons.ognl.ASTAdd node,
StringBuilder data)
- Specified by:
visit
in interface NodeVisitor<StringBuilder,StringBuilder>
visit
public StringBuilder visit(org.apache.commons.ognl.ASTSubtract node,
StringBuilder data)
- Specified by:
visit
in interface NodeVisitor<StringBuilder,StringBuilder>
visit
public StringBuilder visit(org.apache.commons.ognl.ASTMultiply node,
StringBuilder data)
- Specified by:
visit
in interface NodeVisitor<StringBuilder,StringBuilder>
visit
public StringBuilder visit(org.apache.commons.ognl.ASTDivide node,
StringBuilder data)
- Specified by:
visit
in interface NodeVisitor<StringBuilder,StringBuilder>
visit
public StringBuilder visit(org.apache.commons.ognl.ASTRemainder node,
StringBuilder data)
- Specified by:
visit
in interface NodeVisitor<StringBuilder,StringBuilder>
visit
public StringBuilder visit(org.apache.commons.ognl.ASTNegate node,
StringBuilder data)
- Specified by:
visit
in interface NodeVisitor<StringBuilder,StringBuilder>
visit
public StringBuilder visit(org.apache.commons.ognl.ASTBitNegate node,
StringBuilder data)
- Specified by:
visit
in interface NodeVisitor<StringBuilder,StringBuilder>
visit
public StringBuilder visit(org.apache.commons.ognl.ASTNot node,
StringBuilder data)
- Specified by:
visit
in interface NodeVisitor<StringBuilder,StringBuilder>
visit
public StringBuilder visit(ASTInstanceof node,
StringBuilder data)
- Specified by:
visit
in interface NodeVisitor<StringBuilder,StringBuilder>
visit
public StringBuilder visit(ASTChain node,
StringBuilder data)
- Specified by:
visit
in interface NodeVisitor<StringBuilder,StringBuilder>
visit
public StringBuilder visit(org.apache.commons.ognl.ASTEval node,
StringBuilder data)
- Specified by:
visit
in interface NodeVisitor<StringBuilder,StringBuilder>
visit
public StringBuilder visit(ASTConst node,
StringBuilder data)
- Specified by:
visit
in interface NodeVisitor<StringBuilder,StringBuilder>
visit
public StringBuilder visit(ASTThisVarRef node,
StringBuilder data)
- Specified by:
visit
in interface NodeVisitor<StringBuilder,StringBuilder>
visit
public StringBuilder visit(ASTRootVarRef node,
StringBuilder data)
- Specified by:
visit
in interface NodeVisitor<StringBuilder,StringBuilder>
visit
public StringBuilder visit(ASTVarRef node,
StringBuilder data)
- Specified by:
visit
in interface NodeVisitor<StringBuilder,StringBuilder>
visit
public StringBuilder visit(ASTList node,
StringBuilder data)
- Specified by:
visit
in interface NodeVisitor<StringBuilder,StringBuilder>
visit
public StringBuilder visit(org.apache.commons.ognl.ASTMap node,
StringBuilder data)
- Specified by:
visit
in interface NodeVisitor<StringBuilder,StringBuilder>
visit
public StringBuilder visit(org.apache.commons.ognl.ASTKeyValue node,
StringBuilder data)
- Specified by:
visit
in interface NodeVisitor<StringBuilder,StringBuilder>
visit
public StringBuilder visit(ASTStaticField node,
StringBuilder data)
- Specified by:
visit
in interface NodeVisitor<StringBuilder,StringBuilder>
visit
public StringBuilder visit(ASTCtor node,
StringBuilder data)
- Specified by:
visit
in interface NodeVisitor<StringBuilder,StringBuilder>
visit
public StringBuilder visit(ASTProperty node,
StringBuilder data)
- Specified by:
visit
in interface NodeVisitor<StringBuilder,StringBuilder>
visit
public StringBuilder visit(ASTStaticMethod node,
StringBuilder data)
- Specified by:
visit
in interface NodeVisitor<StringBuilder,StringBuilder>
visit
public StringBuilder visit(ASTMethod node,
StringBuilder data)
- Specified by:
visit
in interface NodeVisitor<StringBuilder,StringBuilder>
visit
public StringBuilder visit(org.apache.commons.ognl.ASTProject node,
StringBuilder data)
- Specified by:
visit
in interface NodeVisitor<StringBuilder,StringBuilder>
visit
public StringBuilder visit(org.apache.commons.ognl.ASTSelect node,
StringBuilder data)
- Specified by:
visit
in interface NodeVisitor<StringBuilder,StringBuilder>
visit
public StringBuilder visit(org.apache.commons.ognl.ASTSelectFirst node,
StringBuilder data)
- Specified by:
visit
in interface NodeVisitor<StringBuilder,StringBuilder>
visit
public StringBuilder visit(org.apache.commons.ognl.ASTSelectLast node,
StringBuilder data)
- Specified by:
visit
in interface NodeVisitor<StringBuilder,StringBuilder>
Copyright © 1997-2013 The Apache Software Foundation. All Rights Reserved.