Changes between Version 36 and Version 37 of AST


Ignore:
Timestamp:
04/25/11 14:07:05 (15 years ago)
Author:
Stephen Siegel
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • AST

    v36 v37  
    8181       * referent: ASTNodeIF
    8282       * identifier: string
    83     * FunctionReferenceNodeIF extends ReferenceNodeIF
    84        * methods
    85           * referent: FunctionDeclarationNodeIF
    86     * VariableReferenceNodeIF extends ReferenceNodeIF
    87        * methods
    88            * referent: VariableDeclarationNodeIF
    89      * LabelReferenceNodeIF
    90         * methods
     83    * LabelReferenceNodeIF
     84       * methods
    9185           * referent: LabelNodeIF
    92      * EnumElementReferenceNodeIF
    93         * methods
     86    * EnumElementReferenceNodeIF
     87       * methods
    9488           * EnumElementNodeIF
    95      * StatementReferenceNodeIF
    96         * methods
     89    * StatementReferenceNodeIF
     90       * methods
    9791           * StatementNodeIF
    9892 * IdentifierNodeIF: wraps a string. represents an identifier occurrence in code.   Has 0 children, i.e., is a leaf node.
     
    217211    * ContinueNodeIF
    218212    * GotoNodeIF
    219        * label: LabelNodeIF
     213       * label: LabelReferenceNodeIF
    220214    * ReturnNodeIF
    221215       * expression (may be null)
     
    227221       * PureExpressionNodeIF: side-effect-free expressions
    228222          * LiteralNodeIF (including named literals): integers, reals, strings, chars, enumValue
    229           * VariableExpressionNodeIF
     223             * EnumElementReferenceNodeIF extends LiteralNodeIF
     224                * 0 children
     225                * referent:  PairNode<IdentifierNodeIF, LiteralNodeIF>
     226          * VariableReferenceNodeIF
     227              * 0 children
     228              * referent: VariableDeclarationNodeIF
     229          * FunctionReferenceNodeIF
     230             * 0 children
     231             * referent: FunctionDeclarationNodeIF
    230232          * OperatorNodeIF
    231233             * ADD, ADD_POINTER_INT, ADDRESS_OF, BIT_AND, BIT_NOT, BIT_OR, BIT_XOR, DEREFERENCE, DIVIDE, EQUALS, GREATER_THAN, GTE, IF_THEN_ELSE, LEQ, LESS_THAN, LOGICAL_AND, LOGICAL_NOT, LOGICAL_OR, MODULO, MULTIPLY, NAVIGATE (DOT), NEGATIVE, NOT_EQUALS, SHIFT_LEFT, SHIFT_RIGHT, SUBSCRIPT, SUBTRACT, SUBTRACT_POINTER_INT, SUBTRACT_POINTER_POINTER
     
    242244          * StartOfNodeIF:  &a[0] -- that is the Cil way of converting an array to pointer to first element
    243245          * FunctionApplicationNodeIF: invocation f(x) when f is abstract (pure) function
     246             * methods
     247                 * function: ExpressionNodeIF
     248                    * an expression that evaluates to function type, e.g., *fptr
     249                 * numParameters: int
     250                 * argument(int i): ExpressionNodeIF
     251                 * arguments: Iterator<ExpressionNodeIF>
    244252          * ProcessReferenceNodeIF: PROC[expr].x
    245253       * SideEffectExpressionNodeIF: expressions with side-effects