public abstract class Decl extends NodeImpl implements Declaration
ParameterDeclarationExpression and
VariableDeclarationExpression. Declaration expressions
do not have any children.| Constructor and Description |
|---|
Decl()
The noarg constructor is needed for ANTLR support and deserialization.
|
| Modifier and Type | Method and Description |
|---|---|
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.
|
arrive, clone, getChildren, getJavaClass, getObject, getParent, getTokenType, leave, setObject, setParent, toString, walkNextChildgetColumn, getLine, getTypeInfo, initialize, initialize, initialize, setColumn, setLine, setTypeInfo, treeToStringaddChild, decode, encode, equals, equalsList, equalsListPartial, equalsTree, equalsTreePartial, findAll, findAllPartial, getFirstChild, getNextSibling, getNumberOfChildren, getTokenNames, removeChildren, setFirstChild, setNextSibling, setVerboseStringConversion, toStringList, toStringTree, xmlSerialize, xmlSerializeNode, xmlSerializeRootClose, xmlSerializeRootOpenequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitarrive, getChildren, getJavaClass, getObject, getParent, getTokenType, leave, setObject, setParent, walkNextChildpublic Decl()
setChildren optionally.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 DeclarationCopyright © 2005-2012 Apache Software Foundation. All Rights Reserved.