openjava.ptree
Class ExpressionObject
java.lang.Object
|
+--openjava.ptree.ParseTreeObject
|
+--openjava.ptree.NonLeaf
|
+--openjava.ptree.ExpressionObject
- All Implemented Interfaces:
- Cloneable, Expression, ParseTree, VariableInitializer
- public abstract class ExpressionObject
- extends NonLeaf
- implements Expression
Abstract implementation of Expression
.
- See Also:
ParseTree
,
NonLeaf
Fields inherited from class openjava.ptree.NonLeaf |
|
Methods inherited from class openjava.ptree.NonLeaf |
childrenAccept, childrenAreEqual, elementAt, equals, getComment, getContents, getLength, getRowType, makeRecursiveCopy, replaceChildWith, set, set, set, set, set, set, set, set, setComment, setElementAt, writeCode |
Methods inherited from class openjava.ptree.ParseTreeObject |
accept, clone, eq, eq, equal, flushPrintWriter, getDebugFlag, getNest, getObjectID, getParent, getPrintWriter, getTab, hashCode, lastObjectID, makeCopy, popNest, popPrintWriter, pushNest, pushPrintWriter, replace, setDebugFlag, setDebugLevel, setNest, setParent, setPrintStream, setTab, toFlattenString, toString, writeDebug, writeDebugL, writeDebugLln, writeDebugln, writeDebugLR, writeDebugR, writeDebugRln, writeTab |
Methods inherited from interface openjava.ptree.ParseTree |
accept, childrenAccept, eq, equals, getObjectID, makeCopy, makeRecursiveCopy, replace, toFlattenString, toString, writeCode |
cachedType
private OJClass cachedType
ExpressionObject
public ExpressionObject()
soilCache
void soilCache()
getCachedType
public OJClass getCachedType(Environment env)
throws Exception
- dirty implementation
Exception
getType
public abstract OJClass getType(Environment env,
boolean using_cache)
throws Exception
Exception
getType
public abstract OJClass getType(Environment env)
throws Exception
- Specified by:
getType
in interface Expression
Exception
set
protected void set(Object[] ptrees)
- Makes this ptree a list presenting for
[ p ]
- Overrides:
set
in class NonLeaf
- Parameters:
ptrees
- list's element