Changes between Version 4 and Version 5 of AST


Ignore:
Timestamp:
04/18/11 14:23:30 (15 years ago)
Author:
Stephen Siegel
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • AST

    v4 v5  
    6565    * name: string
    6666    * theType: type  (type being assigned a name)
    67  * statements (may have label)
     67 * statements
     68   * labels: set of labels associated to this statement.   The labels all correspond to the point of control just before the statement.
    6869   * assign: lhs:=rhs;  Note statements like x+=a, x*=a will be immediately translated to x:=x+1, x:=x*a, etc.
    6970      * lhs: LeftHandSideExpression
     
    8889   * continue
    8990   * goto
     91      * label (this is the kind before processing)
     92      * statement (after processing)
    9093   * return
     94      * expression (may be null)
    9195   * no-op
    9296   * block ({...})
    93       * variable declaration section
     97      * sequence of variable definitions
    9498      * sequence of statements
    95    * variable declaration
     99   * variable definition
    96100      * with possible initialization expression
    97101      * possible array extents information and other information modifying type?
     
    113117      * expressions with side-effects
    114118         * assignments: x=expr, x++, x--, ++x, --x
    115          * function invocation f(x) when f is concrete and return type of f is non-null
     119         * function invocation f(x) when f is concrete
    116120
    117121