Changes in src/SynTree/Expression.h [033ff37:5d00425]
- File:
-
- 1 edited
-
src/SynTree/Expression.h (modified) (14 diffs)
Legend:
- Unmodified
- Added
- Removed
-
src/SynTree/Expression.h
r033ff37 r5d00425 9 9 // Author : Richard C. Bilson 10 10 // Created On : Mon May 18 07:44:20 2015 11 // Last Modified By : Peter A. Buhr12 // Last Modified On : Th u Jul 25 22:21:44201913 // Update Count : 5 011 // Last Modified By : Andrew Beach 12 // Last Modified On : Thr Aug 15 13:46:00 2019 13 // Update Count : 54 14 14 // 15 15 … … 71 71 const Type * get_result() const { return result; } 72 72 void set_result( Type * newValue ) { result = newValue; } 73 virtual bool get_lvalue() const; 73 74 74 75 TypeSubstitution * get_env() const { return env; } … … 98 99 virtual ~ApplicationExpr(); 99 100 101 bool get_lvalue() const final; 102 100 103 Expression * get_function() const { return function; } 101 104 void set_function( Expression * newValue ) { function = newValue; } … … 120 123 UntypedExpr( const UntypedExpr & other ); 121 124 virtual ~UntypedExpr(); 125 126 bool get_lvalue() const final; 122 127 123 128 Expression * get_function() const { return function; } … … 208 213 virtual ~CastExpr(); 209 214 215 bool get_lvalue() const final; 216 210 217 Expression * get_arg() const { return arg; } 211 218 void set_arg( Expression * newValue ) { arg = newValue; } … … 291 298 virtual ~MemberExpr(); 292 299 300 bool get_lvalue() const final; 301 293 302 DeclarationWithType * get_member() const { return member; } 294 303 void set_member( DeclarationWithType * newValue ) { member = newValue; } … … 313 322 VariableExpr( const VariableExpr & other ); 314 323 virtual ~VariableExpr(); 324 325 bool get_lvalue() const final; 315 326 316 327 DeclarationWithType * get_var() const { return var; } … … 500 511 virtual ~ConditionalExpr(); 501 512 513 bool get_lvalue() const final; 514 502 515 Expression * get_arg1() const { return arg1; } 503 516 void set_arg1( Expression * newValue ) { arg1 = newValue; } … … 524 537 virtual ~CommaExpr(); 525 538 539 bool get_lvalue() const final; 540 526 541 Expression * get_arg1() const { return arg1; } 527 542 void set_arg1( Expression * newValue ) { arg1 = newValue; } … … 610 625 ~ConstructorExpr(); 611 626 627 bool get_lvalue() const final; 628 612 629 Expression * get_callExpr() const { return callExpr; } 613 630 void set_callExpr( Expression * newValue ) { callExpr = newValue; } … … 628 645 CompoundLiteralExpr( const CompoundLiteralExpr & other ); 629 646 virtual ~CompoundLiteralExpr(); 647 648 bool get_lvalue() const final; 630 649 631 650 Initializer * get_initializer() const { return initializer; } … … 686 705 virtual ~TupleExpr(); 687 706 707 bool get_lvalue() const final; 708 688 709 std::list<Expression*>& get_exprs() { return exprs; } 689 710 … … 704 725 TupleIndexExpr( const TupleIndexExpr & other ); 705 726 virtual ~TupleIndexExpr(); 727 728 bool get_lvalue() const final; 706 729 707 730 Expression * get_tuple() const { return tuple; } … … 753 776 StmtExpr( const StmtExpr & other ); 754 777 virtual ~StmtExpr(); 778 779 bool get_lvalue() const final; 755 780 756 781 CompoundStmt * get_statements() const { return statements; }
Note:
See TracChangeset
for help on using the changeset viewer.