Changes in src/SynTree/Declaration.h [e612146c:e3e16bc]
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/SynTree/Declaration.h
re612146c re3e16bc 155 155 virtual ~FunctionDecl(); 156 156 157 Type * get_type() const ;158 virtual void set_type(Type * );157 Type * get_type() const { return type; } 158 virtual void set_type(Type * t) { type = strict_dynamic_cast< FunctionType* >( t ); } 159 159 160 160 FunctionType * get_functionType() const { return type; }
Note:
See TracChangeset
for help on using the changeset viewer.