openjava.ptree
Interface Expression

All Superinterfaces:
ParseTree, VariableInitializer
All Known Implementing Classes:
AssignmentExpression, Literal, SelfAccess, UnaryExpression, Variable, ArrayAccess, ArrayAllocationExpression, ExpressionObject, FieldAccess, ConditionalExpression, InstanceofExpression, ClassLiteral, MethodCall, AllocationExpression, CastExpression, BinaryExpression

public interface Expression
extends ParseTree, VariableInitializer

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
 

See Also:
ParseTree, NonLeaf, VariableInitializer

Method Summary
 OJClass getType(Environment env)
           
 
Methods inherited from interface openjava.ptree.ParseTree
accept, childrenAccept, eq, equals, getObjectID, makeCopy, makeRecursiveCopy, replace, toFlattenString, toString, writeCode
 

Method Detail

getType

public OJClass getType(Environment env)
                throws java.lang.Exception