| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| protected boolean | contextDependent()
Overrides com. Returns true if this expression/instruction depends on the context. |
| public String | toString()
Implements abstract com. Returns a string representation of the object. |
| public void | translate(ClassGenerator
BCEL Java class generator classGen, MethodGenerator BCEL Java method generator methodGen)Overrides com. Translate this attribute value into JVM bytecodes that pushes the attribute value onto the JVM's stack. |
| public Type | typeCheck(SymbolTable
The compiler/parser's symbol table stable)Overrides com. Returns this attribute value's type (String). |
| _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.
Satisfying this method's contract implies a non- | |
| 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).
| |