| Access | Constructor and Description |
|---|---|
| public | LiteralExpr(String
the literal expression content/value. value)Creates a new literal expression node. |
| public | LiteralExpr(String
the literal expression content/value. value, String the namespace in which the expression exists. namespace)Creates a new literal expression node. |
| Modifier and Type | Method and Description |
|---|---|
| protected boolean | contextDependent()
Overrides com. Returns true if this expression/instruction depends on the context. |
| protected String | |
| protected String | |
| public String | toString()
Implements abstract com. Returns a string representation of the object. |
| public void | translate(ClassGenerator classGen, MethodGenerator methodGen)
Overrides com. Translate this node into JVM bytecodes. |
| public Type | typeCheck(SymbolTable stable)
Overrides com. Type check all the children of this node. |
| _namespace | back to summary |
|---|---|
| private final String _namespace | |
| _value | back to summary |
|---|---|
| private final String _value | |
| LiteralExpr | back to summary |
|---|---|
| public LiteralExpr(String value) Creates a new literal expression node.
| |
| LiteralExpr | back to summary |
|---|---|
| public LiteralExpr(String value, String namespace) Creates a new literal expression node. | |
| 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). | |
| getNamespace | back to summary |
|---|---|
| protected String getNamespace() | |
| getValue | back to summary |
|---|---|
| protected String getValue() | |
| 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. Doc from com. Translate this node into JVM bytecodes. | |
| typeCheck | back to summary |
|---|---|
| public Type typeCheck(SymbolTable stable) throws TypeCheckError Overrides com. Doc from com. Type check all the children of this node. | |