|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectantlr.BaseAST
antlr.CommonAST
org.apache.jdo.impl.jdoql.jdoqlc.JDOQLAST
org.apache.jdo.impl.jdoql.tree.NodeImpl
org.apache.jdo.impl.jdoql.tree.Expr
org.apache.jdo.impl.jdoql.tree.MethodCallExpr
This node represents a method call expression.
Examples of method call expressions are
ContainsCallExpression, IsEmptyCallExpression,
EndsWithCallExpression and
StartsWithCallExpression.
| Field Summary |
| Fields inherited from class org.apache.jdo.impl.jdoql.jdoqlc.JDOQLAST |
column, line, typeInfo |
| Fields inherited from class antlr.BaseAST |
down, right |
| Constructor Summary | |
MethodCallExpr()
The noarg constructor is needed for ANTLR support and deserialization. |
|
| Method Summary | |
protected java.lang.Object |
clone()
Creates and returns a copy of this object. |
Expression[] |
getArguments()
Returns the argument array of this method call. |
java.lang.String |
getMethodName()
Returns the method name. |
Expression |
getTarget()
Returns the target expression of this method call. |
| Methods inherited from class org.apache.jdo.impl.jdoql.tree.NodeImpl |
arrive, getChildren, getJavaClass, getObject, getParent, getTokenType, leave, setObject, setParent, toString, walkNextChild |
| Methods inherited from class org.apache.jdo.impl.jdoql.jdoqlc.JDOQLAST |
getColumn, getLine, getTypeInfo, initialize, initialize, initialize, setColumn, setLine, setTypeInfo, treeToString |
| Methods inherited from class antlr.CommonAST |
getText, getType, initialize, setText, setType |
| Methods inherited from class antlr.BaseAST |
addChild, decode, encode, equals, equalsList, equalsListPartial, equalsTree, equalsTreePartial, findAll, findAllPartial, getFirstChild, getNextSibling, getNumberOfChildren, getTokenNames, removeChildren, setFirstChild, setNextSibling, setVerboseStringConversion, toStringList, toStringTree, xmlSerialize, xmlSerializeNode, xmlSerializeRootClose, xmlSerializeRootOpen |
| Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface org.apache.jdo.jdoql.tree.Node |
arrive, getChildren, getJavaClass, getObject, getParent, getTokenType, leave, setObject, setParent, walkNextChild |
| Constructor Detail |
public MethodCallExpr()
setChildren optionally.
| Method Detail |
protected java.lang.Object clone()
throws java.lang.CloneNotSupportedException
clone in class NodeImpljava.lang.CloneNotSupportedException - thrown by super.clone()public Expression getTarget()
ThisExpression or an instance of an arbitrary other
Expression, e.g. FieldAccessExpression.
getTarget in interface MethodCallExpressionpublic java.lang.String getMethodName()
getMethodName in interface MethodCallExpressionpublic Expression[] getArguments()
getArguments in interface MethodCallExpression
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||