Changes in src/SynTree/Expression.h [14388c1:2d80111]
- File:
-
- 1 edited
-
src/SynTree/Expression.h (modified) (12 diffs)
Legend:
- Unmodified
- Added
- Removed
-
src/SynTree/Expression.h
r14388c1 r2d80111 10 10 // Created On : Mon May 18 07:44:20 2015 11 11 // Last Modified By : Andrew Beach 12 // Last Modified On : Tue Aug 13 11:30:00 201913 // Update Count : 5 212 // Last Modified On : Wed Aug 7 16:56:00 2019 13 // Update Count : 51 14 14 // 15 15 … … 71 71 const Type * get_result() const { return result; } 72 72 void set_result( Type * newValue ) { result = newValue; } 73 virtualbool get_lvalue() const;73 bool get_lvalue() const; 74 74 75 75 TypeSubstitution * get_env() const { return env; } … … 99 99 virtual ~ApplicationExpr(); 100 100 101 bool get_lvalue() const final;102 103 101 Expression * get_function() const { return function; } 104 102 void set_function( Expression * newValue ) { function = newValue; } … … 123 121 UntypedExpr( const UntypedExpr & other ); 124 122 virtual ~UntypedExpr(); 125 126 bool get_lvalue() const final;127 123 128 124 Expression * get_function() const { return function; } … … 213 209 virtual ~CastExpr(); 214 210 215 bool get_lvalue() const final;216 217 211 Expression * get_arg() const { return arg; } 218 212 void set_arg( Expression * newValue ) { arg = newValue; } … … 298 292 virtual ~MemberExpr(); 299 293 300 bool get_lvalue() const final;301 302 294 DeclarationWithType * get_member() const { return member; } 303 295 void set_member( DeclarationWithType * newValue ) { member = newValue; } … … 322 314 VariableExpr( const VariableExpr & other ); 323 315 virtual ~VariableExpr(); 324 325 bool get_lvalue() const final;326 316 327 317 DeclarationWithType * get_var() const { return var; } … … 511 501 virtual ~ConditionalExpr(); 512 502 513 bool get_lvalue() const final;514 515 503 Expression * get_arg1() const { return arg1; } 516 504 void set_arg1( Expression * newValue ) { arg1 = newValue; } … … 537 525 virtual ~CommaExpr(); 538 526 539 bool get_lvalue() const final;540 541 527 Expression * get_arg1() const { return arg1; } 542 528 void set_arg1( Expression * newValue ) { arg1 = newValue; } … … 625 611 ~ConstructorExpr(); 626 612 627 bool get_lvalue() const final;628 629 613 Expression * get_callExpr() const { return callExpr; } 630 614 void set_callExpr( Expression * newValue ) { callExpr = newValue; } … … 645 629 CompoundLiteralExpr( const CompoundLiteralExpr & other ); 646 630 virtual ~CompoundLiteralExpr(); 647 648 bool get_lvalue() const final;649 631 650 632 Initializer * get_initializer() const { return initializer; } … … 723 705 TupleIndexExpr( const TupleIndexExpr & other ); 724 706 virtual ~TupleIndexExpr(); 725 726 bool get_lvalue() const final;727 707 728 708 Expression * get_tuple() const { return tuple; }
Note:
See TracChangeset
for help on using the changeset viewer.