Changes between Version 17 and Version 18 of AST


Ignore:
Timestamp:
04/20/11 08:02:42 (15 years ago)
Author:
Stephen Siegel
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • AST

    v17 v18  
    7575         * numElements: int
    7676         * element(int i): IdentifierNodeIF
    77  * VariableDefinitionNodeIF
     77 * VariableDefinitionNodeIF:  Every variable is defined at one unique location in the code.   The variable can be declared in several places.   Each declaration has an associated definition.  There can be many decls associated to one def.    This is a linking thing: a single variable that is to be used in several files will be defined in one file but be declared in all
    7878    * methods
    7979       * scope: ? (global, input/output, local,...)
     
    8181       * type: TypeNodeIF
    8282       * initializer: ExpressionNodeIF
    83  * VariableDeclarationNodeIF: each declaration has an associated definition.  There can be many decls associated to one def.    This is a linking thing: a single variable that is to be used in several files will be defined in one file but be declared in all
    84     * methods
    85        * definition: VariableDeclarationNodeIF (may be null)
     83       * typeQualifier: CONST, VOLATILE
     84       * storageClass: EXTERNAL, AUTO, STATIC, REGISTER
     85 * VariableDeclarationNodeIF
     86    * methods
     87       * definition: VariableDeclarationNodeIF (may be null at first)
    8688       * scope: ScopeIF
    8789       * name: IdentifierNodeIF
    8890       * type: TypeNodeIF
     91       * typeQualifier: CONST, VOLATILE
     92       * storageClass: EXTERNAL, AUTO, STATIC, REGISTER
    8993 * FunctionDefinitionNodeIF: a function with a body.   As with variables, one def. can have many decls, but each decl is associated to at most one definition.
    9094    * methods