Changes between Version 36 and Version 37 of AST
- Timestamp:
- 04/25/11 14:07:05 (15 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
AST
v36 v37 81 81 * referent: ASTNodeIF 82 82 * 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 91 85 * referent: LabelNodeIF 92 * EnumElementReferenceNodeIF93 * methods86 * EnumElementReferenceNodeIF 87 * methods 94 88 * EnumElementNodeIF 95 * StatementReferenceNodeIF96 * methods89 * StatementReferenceNodeIF 90 * methods 97 91 * StatementNodeIF 98 92 * IdentifierNodeIF: wraps a string. represents an identifier occurrence in code. Has 0 children, i.e., is a leaf node. … … 217 211 * ContinueNodeIF 218 212 * GotoNodeIF 219 * label: Label NodeIF213 * label: LabelReferenceNodeIF 220 214 * ReturnNodeIF 221 215 * expression (may be null) … … 227 221 * PureExpressionNodeIF: side-effect-free expressions 228 222 * 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 230 232 * OperatorNodeIF 231 233 * 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 … … 242 244 * StartOfNodeIF: &a[0] -- that is the Cil way of converting an array to pointer to first element 243 245 * 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> 244 252 * ProcessReferenceNodeIF: PROC[expr].x 245 253 * SideEffectExpressionNodeIF: expressions with side-effects
