agg.attribute.parser.javaExpr
Class ASTId

java.lang.Object
  extended by agg.attribute.parser.javaExpr.SimpleNode
      extended by agg.attribute.parser.javaExpr.ASTId
All Implemented Interfaces:
Node, java.io.Serializable

public class ASTId
extends SimpleNode

See Also:
Serialized Form

Field Summary
 
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)
           
 void rewrite()
          Rewrites a single id.
 java.lang.String toString()
           
 
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, setClassResolver, setInfo, setNodeClass, setSymbolTable, takeNodeClassFrom, toString, typeCode, typeCode, typeInit
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Method Detail

jjtCreate

public static Node jjtCreate(java.lang.String id)

isConstantExpr

protected boolean isConstantExpr()
Overrides:
isConstantExpr in class SimpleNode

toString

public java.lang.String toString()
Overrides:
toString in class SimpleNode

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

interpret

public void interpret()
Description copied from interface: Node
Interpret method

Specified by:
interpret in interface Node
Overrides:
interpret in class SimpleNode

rewrite

public void rewrite()
Rewrites a single id.

Specified by:
rewrite in interface Node
Overrides:
rewrite in class SimpleNode
See Also:
special rewriting at class ASTId

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

getAllVariablesinExpression

public 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

Specified by:
getAllVariablesinExpression in interface Node
Overrides:
getAllVariablesinExpression 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