public final class BodySymbol extends LocalVariableSymbolBase
| Modifier and Type | Method and Description |
|---|---|
static BodySymbol |
construct(Identifier name,
TypeExpression type,
VariableDeclaration decl)
Construct body symbol from name and type.
|
VariableDeclaration |
getDeclaration()
Get declaration of variable.
|
void |
print(java.io.PrintWriter out)
Print symbol on output stream.
|
apply, getLogicType, getType, setLogicTypegetNamepublic static BodySymbol construct(Identifier name, TypeExpression type, VariableDeclaration decl)
name - the name of the symbol.type - the type of the symbol.decl - the declaration introducing the variable.public VariableDeclaration getDeclaration()
getDeclaration in interface SymbolgetDeclaration in class SymbolBasepublic void print(java.io.PrintWriter out)
out - the output stream.