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, wait
isInternalName, isParameter, type, valueNumber
protected AbstractSymbol(AstTranslator.Scope definingScope, boolean isFinalValue, Object defaultValue)
public boolean isFinal()
isFinal
in interface AstTranslator.Symbol
public Object defaultInitValue()
defaultInitValue
in interface AstTranslator.Symbol
public Object constant()
constant
in interface AstTranslator.Symbol
public void setConstant(Object cv)
setConstant
in interface AstTranslator.Symbol
public AstTranslator.Scope getDefiningScope()
getDefiningScope
in interface AstTranslator.Symbol