public final class ValueSymbol extends SymbolBase
| Modifier and Type | Method and Description |
|---|---|
static ValueSymbol |
construct(Identifier name,
Type type,
Declaration decl)
Construct value symbol.
|
Declaration |
getDeclaration()
Get declaration.
|
Type |
getType()
Get type.
|
void |
print(java.io.PrintWriter out)
Print symbol on output stream.
|
getNamepublic static ValueSymbol construct(Identifier name, Type type, Declaration decl)
name - the name of the symbol.type - the type.decl - the declaration.public Type getType()
public Declaration getDeclaration()
getDeclaration in interface SymbolgetDeclaration in class SymbolBasepublic void print(java.io.PrintWriter out)
out - the output stream.