public final class AndExpr extends BinaryExpr implements AndExpression
&
.Constructor and Description |
---|
AndExpr()
The noarg constructor is needed for ANTLR support and deserialization.
|
AndExpr(antlr.Token token)
The noarg constructor is needed for ANTLR support.
|
Modifier and Type | Method and Description |
---|---|
void |
arrive(NodeVisitor visitor)
Delegates to the argument
visitor . |
java.lang.Object |
leave(NodeVisitor visitor,
java.lang.Object[] results)
Delegates to the argument
visitor . |
boolean |
walkNextChild(NodeVisitor visitor,
java.lang.Object resultOfPreviousChild,
int indexOfNextChild)
Delegates to the argument
visitor . |
getCommonOperandType, getLeftExpression, getRightExpression, setCommonOperandType
clone, getChildren, getJavaClass, getObject, getParent, getTokenType, setObject, setParent, toString
getColumn, getLine, getTypeInfo, initialize, initialize, initialize, setColumn, setLine, setTypeInfo, treeToString
addChild, decode, encode, equals, equalsList, equalsListPartial, equalsTree, equalsTreePartial, findAll, findAllPartial, getFirstChild, getNextSibling, getNumberOfChildren, getTokenNames, removeChildren, setFirstChild, setNextSibling, setVerboseStringConversion, toStringList, toStringTree, xmlSerialize, xmlSerializeNode, xmlSerializeRootClose, xmlSerializeRootOpen
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getCommonOperandType, getLeftExpression, getRightExpression
getChildren, getJavaClass, getObject, getParent, getTokenType, setObject, setParent
public AndExpr()
setChildren
optionally.public AndExpr(antlr.Token token)
setChildren
optionally.public void arrive(NodeVisitor visitor)
visitor
.public java.lang.Object leave(NodeVisitor visitor, java.lang.Object[] results)
visitor
.public boolean walkNextChild(NodeVisitor visitor, java.lang.Object resultOfPreviousChild, int indexOfNextChild)
visitor
.walkNextChild
in interface Node
walkNextChild
in class NodeImpl
visitor
- the node visitorresultOfPreviousChild
- the result computed by leaving the
previous child nodeindexOfNextChild
- the index in the children array of the
next child to walkCopyright © 2005-2012 Apache Software Foundation. All Rights Reserved.