Changeset 39f04ec for src/SynTree
- Timestamp:
- Jul 5, 2016, 11:10:14 AM (10 years ago)
- Branches:
- ADT, aaron-thesis, arm-eh, ast-experimental, cleanup-dtors, ctor, deferred_resn, demangler, enum, forall-pointer-decay, jacob/cs343-translation, jenkins-sandbox, master, memory, new-ast, new-ast-unique-expr, new-env, no_list, persistent-indexer, pthread-emulation, qualifiedEnum, resolv-new, with_gc
- Children:
- 9bb81bb8
- Parents:
- a43e1d7 (diff), d32c4e2 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)links above to see all the changes relative to each parent. - Location:
- src/SynTree
- Files:
-
- 3 edited
-
Constant.h (modified) (2 diffs)
-
Declaration.h (modified) (3 diffs)
-
Expression.h (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
src/SynTree/Constant.h
ra43e1d7 r39f04ec 10 10 // Created On : Mon May 18 07:44:20 2015 11 11 // Last Modified By : Peter A. Buhr 12 // Last Modified On : Thu Ju l 30 15:19:16 201513 // Update Count : 512 // Last Modified On : Thu Jun 30 13:33:17 2016 13 // Update Count : 6 14 14 // 15 15 … … 29 29 Type *get_type() { return type; } 30 30 void set_type( Type *newValue ) { type = newValue; } 31 std::string get_value() { return value; }31 std::string &get_value() { return value; } 32 32 void set_value( std::string newValue ) { value = newValue; } 33 33 -
src/SynTree/Declaration.h
ra43e1d7 r39f04ec 9 9 // Author : Richard C. Bilson 10 10 // Created On : Mon May 18 07:44:20 2015 11 // Last Modified By : Rob Schluntz12 // Last Modified On : Fri May 06 16:26:12201613 // Update Count : 3 311 // Last Modified By : Peter A. Buhr 12 // Last Modified On : Thu Jun 30 21:17:24 2016 13 // Update Count : 38 14 14 // 15 15 … … 41 41 void set_isNoreturn( bool newValue ) { isNoreturn = newValue; } 42 42 UniqueId get_uniqueId() const { return uniqueId; } 43 bool get_extension() const { return extension; } 44 Declaration *set_extension( bool exten ) { extension = exten; return this; } 43 45 44 46 void fixUniqueId( void ); … … 57 59 bool isInline, isNoreturn; 58 60 UniqueId uniqueId; 61 bool extension = false; 59 62 }; 60 63 -
src/SynTree/Expression.h
ra43e1d7 r39f04ec 10 10 // Created On : Mon May 18 07:44:20 2015 11 11 // Last Modified By : Peter A. Buhr 12 // Last Modified On : Wed Jun 8 17:05:30201613 // Update Count : 2 212 // Last Modified On : Mon Jul 4 14:45:32 2016 13 // Update Count : 23 14 14 // 15 15 … … 39 39 void set_argName( Expression *name ) { argName = name; } 40 40 bool get_extension() const { return extension; } 41 void set_extension( bool exten ) { extension = exten; }41 Expression * set_extension( bool exten ) { extension = exten; return this; } 42 42 43 43 virtual Expression *clone() const = 0;
Note:
See TracChangeset
for help on using the changeset viewer.