|
|||||||||||
| 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.Decl
This node represents a declaration expression. Examples of
declarations expressions are
ParameterDeclarationExpression and
VariableDeclarationExpression. Declaration expressions
do not have any children.
| Field Summary | |
(package private) java.lang.String |
name
|
| 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 | |
|
Decl()
The noarg constructor is needed for ANTLR support and deserialization. |
(package private) |
Decl(int tokenType,
java.lang.String tokenName,
Type type,
java.lang.String name)
This constructor is called by specialized nodes. |
| Method Summary | |
java.lang.String |
getName()
Returns the name of the specialized declaration. |
java.lang.String |
getTypeName()
Returns the Java type name of the specialized declaration. |
void |
setName(java.lang.String name)
Sets the name of the specialized declaration. |
| Methods inherited from class org.apache.jdo.impl.jdoql.tree.NodeImpl |
arrive, ASTToChildren, clone, getChildren, getJavaClass, getObject, getParent, getTokenType, leave, 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 |
arrive, getChildren, getJavaClass, getObject, getParent, getTokenType, leave, setObject, setParent, walkNextChild |
| Field Detail |
java.lang.String name
| Constructor Detail |
public Decl()
setChildren optionally.
Decl(int tokenType,
java.lang.String tokenName,
Type type,
java.lang.String name)
tokenType - the token tpyetokenName - the name of this nodetype - the type instance wrapping the Java classname - the name of the specialized declaration| Method Detail |
public java.lang.String getName()
getName in interface Declarationpublic void setName(java.lang.String name)
name - the namepublic java.lang.String getTypeName()
getTypeName in interface Declaration
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||