agg.attribute.parser.javaExpr
Class ObjectConstNode
java.lang.Object
agg.attribute.parser.javaExpr.SimpleNode
agg.attribute.parser.javaExpr.ObjectConstNode
- All Implemented Interfaces:
- Node, java.io.Serializable
public class ObjectConstNode
- extends SimpleNode
- See Also:
- Serialized Form
Field Summary |
protected java.lang.Object |
obj
|
Fields inherited from class agg.attribute.parser.javaExpr.SimpleNode |
children, classResolver, identifier, info, neverCalled, numberTypes, objectClass, parent, stack, stringClass, symtab, top |
Method Summary |
void |
checkContext()
Obtaining the node type and checking for consistency. |
Node |
copy()
Copys the abstract syntax tree. |
void |
getAllVariablesinExpression(java.util.Vector<java.lang.String> v)
fills the vector with the names of all variables which occur in this
abstract syntax tree |
java.lang.String |
getString()
returns this node as a string with all children. |
void |
interpret()
Interpret method |
protected boolean |
isConstantExpr()
|
static Node |
jjtCreate(java.lang.String id)
|
Methods inherited from class agg.attribute.parser.javaExpr.SimpleNode |
commonNumberType, dump, getError, getIdentifier, getInfo, getNodeClass, getRootResult, getSymbolTable, hasNumberType, hasStringType, isAction, isArrayIndex, isMember, jjtAddChild, jjtClose, jjtGetChild, jjtGetNumChildren, jjtGetParent, jjtOpen, jjtSetParent, replaceChildWith, rewrite, setClassResolver, setInfo, setNodeClass, setSymbolTable, takeNodeClassFrom, toString, toString, typeCode, typeCode, typeInit |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
obj
protected java.lang.Object obj
ObjectConstNode
public ObjectConstNode(java.lang.String id)
jjtCreate
public static Node jjtCreate(java.lang.String id)
checkContext
public void checkContext()
- Description copied from class:
SimpleNode
- Obtaining the node type and checking for consistency.
- Specified by:
checkContext
in interface Node
- Overrides:
checkContext
in class SimpleNode
isConstantExpr
protected boolean isConstantExpr()
- Overrides:
isConstantExpr
in class SimpleNode
interpret
public void interpret()
- Description copied from interface:
Node
- Interpret method
- Specified by:
interpret
in interface Node
- Overrides:
interpret
in class SimpleNode
getString
public java.lang.String getString()
- Description copied from class:
SimpleNode
- returns this node as a string with all children. Subclasses must override
this.
- Specified by:
getString
in interface Node
- Overrides:
getString
in class SimpleNode
copy
public Node copy()
- Description copied from class:
SimpleNode
- Copys the abstract syntax tree. The information object won't be copied.
- Specified by:
copy
in interface Node
- Overrides:
copy
in class SimpleNode
getAllVariablesinExpression
public void getAllVariablesinExpression(java.util.Vector<java.lang.String> v)
- Description copied from class:
SimpleNode
- fills the vector with the names of all variables which occur in this
abstract syntax tree
- Specified by:
getAllVariablesinExpression
in interface Node
- Overrides:
getAllVariablesinExpression
in class SimpleNode