Changes between Version 17 and Version 18 of AST
- Timestamp:
- 04/20/11 08:02:42 (15 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
AST
v17 v18 75 75 * numElements: int 76 76 * 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 78 78 * methods 79 79 * scope: ? (global, input/output, local,...) … … 81 81 * type: TypeNodeIF 82 82 * 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) 86 88 * scope: ScopeIF 87 89 * name: IdentifierNodeIF 88 90 * type: TypeNodeIF 91 * typeQualifier: CONST, VOLATILE 92 * storageClass: EXTERNAL, AUTO, STATIC, REGISTER 89 93 * 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. 90 94 * methods
