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

Quick Search    Search Deep

Source code: openjava/ptree/Expression.java


1   /*
2    * Expression.java 1.0
3    *
4    *
5    * Jun 20, 1997
6    * Sep 29, 1997
7    *
8    * @see openjava.ptree.ParseTree
9    * @version 1.0 last updated:  Sep 29, 1997
10   * @author  Teruo -bv- Koyanagi
11   */
12  package openjava.ptree;
13  
14  
15  import openjava.mop.Environment;
16  import openjava.mop.OJClass;
17  
18  
19  
20  /**
21   * The Expression interface presents common interface
22   * to access Expression node of parse tree
23   *
24   * this interface is implements by
25   * <pre>
26   *   UnaryExpression
27   *   BinaryExpression
28   *   ConditionalExpression
29   *   AssignmentExpression
30   *   CastExpression
31   *   AllocationExpression
32   *   ArrayAllocationExpression
33   *   Variable
34   *   MethodCall
35   *   SpecialName
36   *   Literal
37   *   ClassLiteral
38   *   ArrayAccess
39   *   FieldAccess
40   * </pre>
41   *
42   * @see openjava.ptree.ParseTree
43   * @see openjava.ptree.NonLeaf
44   * @see openjava.ptree.VariableInitializer
45   */
46  public interface Expression extends ParseTree, VariableInitializer
47  {
48      public OJClass getType( Environment env )
49    throws Exception;
50  }