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, walkNextChild
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
arrive, getChildren, getJavaClass, getObject, getParent, getTokenType, leave, setObject, setParent, walkNextChild
public Decl()
setChildren
optionally.public java.lang.String getName()
getName
in interface Declaration
public void setName(java.lang.String name)
name
- the namepublic java.lang.String getTypeName()
getTypeName
in interface Declaration
Copyright © 2005-2012 Apache Software Foundation. All Rights Reserved.