cetus.hir
Interface Symbol

All Known Implementing Classes:
AccessSymbol, NestedDeclarator, Procedure, ProcedureDeclarator, VariableDeclarator

public interface Symbol

An IR object that implements Symbol interface is identified as a unique symbol in the program. Every IDExpression object has a link to its corresponding Symbol object and can access the attributes of the symbol object.


Method Summary
 java.util.List getArraySpecifiers()
          Returns a list of array specifiers.
 java.lang.String getSymbolName()
          Returns the name of the symbol.
 java.util.List getTypeSpecifiers()
          Returns a list of type specifiers.
 

Method Detail

getTypeSpecifiers

java.util.List getTypeSpecifiers()
Returns a list of type specifiers.

Returns:
the list of type specifiers.

getArraySpecifiers

java.util.List getArraySpecifiers()
Returns a list of array specifiers.

Returns:
the list of array specifiers.

getSymbolName

java.lang.String getSymbolName()
Returns the name of the symbol.

Returns:
the name of the symbol.