public interface Symbol
Identifier object has a link to
its corresponding Symbol object and can access the attributes of the symbol
object.| Modifier and Type | Method and Description |
|---|---|
java.util.List |
getArraySpecifiers()
Returns a list of array specifiers.
|
Declaration |
getDeclaration()
Returns the parent declaration containing the symbol object.
|
java.lang.String |
getSymbolName()
Returns the name of the symbol.
|
java.util.List |
getTypeSpecifiers()
Returns a list of type specifiers.
|
void |
setName(java.lang.String name)
Modify the name of the symbol.
|
java.util.List getTypeSpecifiers()
java.util.List getArraySpecifiers()
java.lang.String getSymbolName()
void setName(java.lang.String name)
extern variables and
procedure names are not automatically handled.name - the new name of the symbol.Declaration getDeclaration()