public final class ClassVariableSymbol extends GlobalVariableSymbolBase
Modifier and Type | Method and Description |
---|---|
static ClassVariableSymbol |
construct(ClassSymbol csymbol,
Identifier name,
TypeExpression type,
ClassVariableDeclaration decl)
Construct class variable symbol.
|
ClassVariableDeclaration |
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 ClassVariableSymbol construct(ClassSymbol csymbol, Identifier name, TypeExpression type, ClassVariableDeclaration 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 ClassVariableDeclaration getDeclaration()
getDeclaration
in interface Symbol
getDeclaration
in class SymbolBase
public void print(java.io.PrintWriter out)
out
- the output stream.