|
|||||||||||
| 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.IdentifierExpr
This node represents an identifier expression.
Examples of identifier expressions are
FieldAccessExpression, ParameterAccessExpression,
ThisExpressionor VariableAccessExpression.
This class is not defined
abstract to allow the syntactical analysis to
construct general nodes, which are replaced by the semantic analysis
with their specialized counterparts.
| Field Summary |
| Fields inherited from class org.apache.jdo.impl.jdoql.tree.NodeImpl |
children, clazz, msg, object, parent |
| Fields inherited from class org.apache.jdo.impl.jdoql.jdoqlc.JDOQLAST |
column, line, typeInfo |
| Fields inherited from class antlr.CommonAST |
|
| Fields inherited from class antlr.BaseAST |
down, right |
| Constructor Summary | |
|
IdentifierExpr()
The noarg constructor is needed for ANTLR support and deserialization. |
(package private) |
IdentifierExpr(int tokenType,
java.lang.String name,
java.lang.Class clazz)
This constructor is called by specialized nodes. |
|
IdentifierExpr(antlr.Token token)
The noarg constructor is needed for ANTLR support. |
| Method Summary | |
void |
arrive(NodeVisitor visitor)
Delegates to the argument visitor. |
java.lang.String |
getName()
Returns the name of the specialized identifier. |
java.lang.String |
getTypeName()
Returns the Java type name of the specialized identifier. |
java.lang.Object |
leave(NodeVisitor visitor,
java.lang.Object[] results)
Delegates to the argument visitor. |
| Methods inherited from class org.apache.jdo.impl.jdoql.tree.NodeImpl |
ASTToChildren, clone, getChildren, getJavaClass, getObject, getParent, getTokenType, setChildren, 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 |
getChildren, getJavaClass, getObject, getParent, getTokenType, setObject, setParent, walkNextChild |
| Constructor Detail |
public IdentifierExpr()
setChildren optionally.
public IdentifierExpr(antlr.Token token)
setChildren optionally.
IdentifierExpr(int tokenType,
java.lang.String name,
java.lang.Class clazz)
setChildren optionally.
tokenType - the token typename - the name of this identifierclazz - the Java type of this identifier| Method Detail |
public java.lang.String getName()
getName in interface IdentifierExpressionpublic java.lang.String getTypeName()
getTypeName in interface IdentifierExpressionpublic void arrive(NodeVisitor visitor)
visitor.
arrive in interface Nodearrive in class NodeImplvisitor - the node visitor
public java.lang.Object leave(NodeVisitor visitor,
java.lang.Object[] results)
visitor.
leave in interface Nodeleave in class NodeImplvisitor - the node visitorresults - the result array
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||