public abstract static class AstTranslator.AbstractSymbol extends Object implements AstTranslator.Symbol
| Modifier | Constructor and Description |
|---|---|
protected |
AbstractSymbol(AstTranslator.Scope definingScope,
boolean isFinalValue,
Object defaultValue) |
| Modifier and Type | Method and Description |
|---|---|
Object |
constant() |
Object |
defaultInitValue() |
AstTranslator.Scope |
getDefiningScope() |
boolean |
isFinal() |
void |
setConstant(Object cv) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitisInternalName, isParameter, type, valueNumberprotected AbstractSymbol(AstTranslator.Scope definingScope, boolean isFinalValue, Object defaultValue)
public boolean isFinal()
isFinal in interface AstTranslator.Symbolpublic Object defaultInitValue()
defaultInitValue in interface AstTranslator.Symbolpublic Object constant()
constant in interface AstTranslator.Symbolpublic void setConstant(Object cv)
setConstant in interface AstTranslator.Symbolpublic AstTranslator.Scope getDefiningScope()
getDefiningScope in interface AstTranslator.Symbol