Changes in src/Parser/ExpressionNode.cc [658fafe4:59c24b6]
- File:
-
- 1 edited
-
src/Parser/ExpressionNode.cc (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
src/Parser/ExpressionNode.cc
r658fafe4 r59c24b6 10 10 // Created On : Sat May 16 13:17:07 2015 11 11 // Last Modified By : Peter A. Buhr 12 // Last Modified On : Tue Aug 2 15:10:23201613 // Update Count : 32 212 // Last Modified On : Tue Jul 5 13:41:55 2016 13 // Update Count : 320 14 14 // 15 15 … … 83 83 } 84 84 85 //CommaExprNode *ExpressionNode::add_to_list( ExpressionNode *exp ) {86 //return new CommaExprNode( this, exp );87 //}85 CommaExprNode *ExpressionNode::add_to_list( ExpressionNode *exp ) { 86 return new CommaExprNode( this, exp ); 87 } 88 88 89 89 //############################################################################## … … 246 246 "?|?", "?&?", "?^?", "Cast", "?<<?", "?>>?", "?<?", "?>?", "?<=?", "?>=?", "?==?", "?!=?", 247 247 "?=?", "?*=?", "?/=?", "?%=?", "?+=?", "?-=?", "?<<=?", "?>>=?", "?&=?", "?^=?", "?|=?", 248 "?[?]", "FieldSel", "PFieldSel", " ...",248 "?[?]", "FieldSel", "PFieldSel", "Range", 249 249 // monadic 250 250 "+?", "-?", "AddressOf", "*?", "!?", "~?", "++?", "?++", "--?", "?--", "&&" … … 608 608 //############################################################################## 609 609 610 CommaExprNode::CommaExprNode(): CompositeExprNode( new OperatorNode( OperatorNode::Comma )) {} 611 612 CommaExprNode::CommaExprNode( ExpressionNode *exp ) : CompositeExprNode( new OperatorNode( OperatorNode::Comma ), exp ) { 613 } 614 615 CommaExprNode::CommaExprNode( ExpressionNode *exp1, ExpressionNode *exp2) : CompositeExprNode( new OperatorNode( OperatorNode::Comma ), exp1, exp2) { 616 } 617 618 CommaExprNode *CommaExprNode::add_to_list( ExpressionNode *exp ) { 619 add_arg( exp ); 620 621 return this; 622 } 623 624 CommaExprNode::CommaExprNode( const CommaExprNode &other ) : CompositeExprNode( other ) { 625 } 626 627 //############################################################################## 628 610 629 ValofExprNode::ValofExprNode( StatementNode *s ): body( s ) {} 611 630
Note:
See TracChangeset
for help on using the changeset viewer.