Changes in src/SynTree/Declaration.h [9aaac6e9:ea6332d]
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/SynTree/Declaration.h
r9aaac6e9 rea6332d 109 109 virtual DeclarationWithType *acceptMutator( Mutator &m ) = 0; 110 110 111 virtual Type * 111 virtual Type *get_type() const = 0; 112 112 virtual void set_type(Type *) = 0; 113 113 … … 128 128 virtual ~ObjectDecl(); 129 129 130 virtual Type * 130 virtual Type *get_type() const { return type; } 131 131 virtual void set_type(Type *newType) { type = newType; } 132 132 … … 155 155 virtual ~FunctionDecl(); 156 156 157 Type * 157 Type *get_type() const; 158 158 virtual void set_type(Type *); 159 159 160 FunctionType * 160 FunctionType *get_functionType() const { return type; } 161 161 void set_functionType( FunctionType *newValue ) { type = newValue; } 162 162 CompoundStmt *get_statements() const { return statements; }
Note:
See TracChangeset
for help on using the changeset viewer.