java.lang.Object
openjava.ptree.ParseTreeObject
openjava.ptree.NonLeaf
openjava.ptree.ExpressionObject
- All Implemented Interfaces:
- java.lang.Cloneable, Expression, ParseTree, VariableInitializer
- public abstract class ExpressionObject
- extends NonLeaf
- implements Expression
The Expression interface presents common interface
to access Expression node of parse tree
this interface is implements by
UnaryExpression
BinaryExpression
ConditionalExpression
AssignmentExpression
CastExpression
AllocationExpression
ArrayAllocationExpression
Variable
MethodCall
SpecialName
Literal
ClassLiteral
ArrayAccess
FieldAccess
| Fields inherited from class openjava.ptree.NonLeaf |
|
| Methods inherited from class openjava.ptree.NonLeaf |
childrenAccept, elementAt, equals, getComment, getContents, getLength, makeRecursiveCopy, replaceChildWith, set, set, set, set, set, set, set, set, setComment, setElementAt |
| Methods inherited from class openjava.ptree.ParseTreeObject |
accept, clone, equal, getObjectID, getParent, hashCode, lastObjectID, makeCopy, replace, setParent, toFlattenString, toString |
cachedType
private openjava.mop.OJClass cachedType
ExpressionObject
public ExpressionObject()
soilCache
void soilCache()
getCachedType
public openjava.mop.OJClass getCachedType(openjava.mop.Environment env)
throws java.lang.Exception
- dirty implementation
getType
public abstract openjava.mop.OJClass getType(openjava.mop.Environment env,
boolean using_cache)
throws java.lang.Exception
getType
public abstract openjava.mop.OJClass getType(openjava.mop.Environment env)
throws java.lang.Exception
- Specified by:
getType in interface Expression
set
protected void set(java.lang.Object[] ptrees)
- Makes this ptree a list presenting for
[ p ]
- Overrides:
set in class NonLeaf