Access | Constructor and Description |
---|---|
public |
Modifier and Type | Method and Description |
---|---|
protected boolean | contextDependent()
Overrides com. |
public String | toString()
Implements abstract com. |
public void | translate(ClassGenerator
BCEL Java class generator classGen, MethodGenerator BCEL Java method generator methodGen)Overrides com. |
public Type | typeCheck(SymbolTable
The compiler/parser's symbol table stable)Overrides com. |
_value | back to summary |
---|---|
private String _value |
SimpleAttributeValue | back to summary |
---|---|
public SimpleAttributeValue(String value) Creates a new simple attribute value.
|
contextDependent | back to summary |
---|---|
protected boolean contextDependent() Overrides com. Doc from com. Returns true if this expression/instruction depends on the context. By default, every expression/instruction depends on the context unless it overrides this method. Currently used to determine if result trees are compiled using procedures or little DOMs (result tree fragments).
|
toString | back to summary |
---|---|
public String toString() Implements abstract com. Doc from java. Returns a string representation of the object.
|
translate | back to summary |
---|---|
public void translate(ClassGenerator classGen, MethodGenerator methodGen) Overrides com. Translate this attribute value into JVM bytecodes that pushes the attribute value onto the JVM's stack.
|
typeCheck | back to summary |
---|---|
public Type typeCheck(SymbolTable stable) throws TypeCheckError Overrides com. Returns this attribute value's type (String).
|