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, getLongNameapply, getLogicType, getType, setLogicTypegetNamepublic 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 SymbolgetDeclaration in class SymbolBasepublic void print(java.io.PrintWriter out)
out - the output stream.