Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

openjava.ptree
Class ExpressionObject  view ExpressionObject download ExpressionObject.java

java.lang.Object
  extended byopenjava.ptree.ParseTreeObject
      extended byopenjava.ptree.NonLeaf
          extended byopenjava.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
 


Field Summary
private  openjava.mop.OJClass cachedType
           
 
Fields inherited from class openjava.ptree.NonLeaf
 
Fields inherited from class openjava.ptree.ParseTreeObject
LN
 
Constructor Summary
ExpressionObject()
           
 
Method Summary
 openjava.mop.OJClass getCachedType(openjava.mop.Environment env)
          dirty implementation
abstract  openjava.mop.OJClass getType(openjava.mop.Environment env)
           
abstract  openjava.mop.OJClass getType(openjava.mop.Environment env, boolean using_cache)
           
protected  void set(java.lang.Object[] ptrees)
          Makes this ptree a list presenting for [ p ]
(package private)  void soilCache()
           
 
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
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface openjava.ptree.ParseTree
accept, childrenAccept, equals, getObjectID, makeCopy, makeRecursiveCopy, replace, toFlattenString, toString
 

Field Detail

cachedType

private openjava.mop.OJClass cachedType
Constructor Detail

ExpressionObject

public ExpressionObject()
Method Detail

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