public final class ObjectVariableSymbol extends GlobalVariableSymbolBase
Modifier and Type | Method and Description |
---|---|
static ObjectVariableSymbol |
construct(ClassSymbol csymbol,
Identifier name,
TypeExpression type,
ObjectVariableDeclaration decl)
Construct object variable symbol.
|
ObjectVariableDeclaration |
getDeclaration()
Return declaration associated to symbol.
|
void |
print(java.io.PrintWriter out)
Print symbol on output stream.
|
getClassSymbol, getLongName
apply, getLogicType, getType, setLogicType
getName
public static ObjectVariableSymbol construct(ClassSymbol csymbol, Identifier name, TypeExpression type, ObjectVariableDeclaration decl)
csymbol
- the symbol of the class holding the declaration.name
- the name of the symbol.type
- the type of the symbol.decl
- the declaration introducing the symbol.public ObjectVariableDeclaration getDeclaration()
getDeclaration
in interface Symbol
getDeclaration
in class SymbolBase
public void print(java.io.PrintWriter out)
out
- the output stream.