Changes in src/SynTree/Expression.h [fbcde64:294647b]
- File:
-
- 1 edited
-
src/SynTree/Expression.h (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
src/SynTree/Expression.h
rfbcde64 r294647b 10 10 // Created On : Mon May 18 07:44:20 2015 11 11 // Last Modified By : Peter A. Buhr 12 // Last Modified On : Thu Mar 30 16:44:00201713 // Update Count : 4112 // Last Modified On : Sat Jan 14 14:37:54 2017 13 // Update Count : 37 14 14 // 15 15 … … 35 35 36 36 Type *& get_result() { return result; } 37 const Type * get_result() const { return result; }38 37 void set_result( Type * newValue ) { result = newValue; } 39 38 bool has_result() const { return result != nullptr; } … … 587 586 virtual ~CompoundLiteralExpr(); 588 587 588 Type * get_type() const { return type; } 589 void set_type( Type * t ) { type = t; } 590 589 591 Initializer * get_initializer() const { return initializer; } 590 592 void set_initializer( Initializer * i ) { initializer = i; } … … 595 597 virtual void print( std::ostream & os, int indent = 0 ) const; 596 598 private: 599 Type * type; 597 600 Initializer * initializer; 598 601 };
Note:
See TracChangeset
for help on using the changeset viewer.