public final class EndsWithCallExpr extends MethodCallExpr implements EndsWithCallExpression
String.endsWith
. Children of this node are a target
expression (e.g. a FieldAccessExpression
) and the method
argument which is an arbitrary expression.Constructor and Description |
---|
EndsWithCallExpr()
The noarg constructor is needed for ANTLR support and deserialization.
|
EndsWithCallExpr(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 . |
clone, getArguments, getMethodName, getTarget
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
getArguments, getMethodName, getTarget
getChildren, getJavaClass, getObject, getParent, getTokenType, setObject, setParent
public EndsWithCallExpr()
setChildren
optionally.public EndsWithCallExpr(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.