Changes in src/Parser/ParseNode.h [8cc5cb0:321f55d]
- File:
-
- 1 edited
-
src/Parser/ParseNode.h (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
src/Parser/ParseNode.h
r8cc5cb0 r321f55d 10 10 // Created On : Sat May 16 13:28:16 2015 11 11 // Last Modified By : Peter A. Buhr 12 // Last Modified On : Thu Aug 11 12:24:11201613 // Update Count : 4 4312 // Last Modified On : Wed Aug 10 21:51:49 2016 13 // Update Count : 437 14 14 // 15 15 … … 363 363 // StatementNode *add_controlexp( ExpressionNode * ); 364 364 StatementNode *append_block( StatementNode * ); 365 virtualStatementNode *append_last_case( StatementNode * );365 StatementNode *append_last_case( StatementNode * ); 366 366 367 367 void print( std::ostream &os, int indent = 0) const; … … 392 392 return this; 393 393 } 394 virtual StatementNode *append_last_case( StatementNode * );395 394 virtual std::list<std::string> get_labels() const { assert( false ); return StatementNode::get_labels(); } 396 395 … … 412 411 }; 413 412 414 Statement *build_expr( ExpressionNode *ctl );415 413 Statement *build_if( ExpressionNode *ctl, StatementNode *then_stmt, StatementNode *else_stmt ); 416 414 Statement *build_switch( ExpressionNode *ctl, StatementNode *stmt ); 417 Statement *build_case( ExpressionNode *ctl );418 Statement *build_default();419 415 Statement *build_while( ExpressionNode *ctl, StatementNode *stmt, bool kind = false ); 420 416 Statement *build_for( ForCtl *forctl, StatementNode *stmt ); 421 417 Statement *build_branch( std::string identifier, BranchStmt::Type kind ); 422 Statement *build_computedgoto( ExpressionNode *ctl ); 423 Statement *build_return( ExpressionNode *ctl ); 424 Statement *build_throw( ExpressionNode *ctl ); 418 Statement *build_case( ExpressionNode *ctl ); 419 Statement *build_default(); 425 420 426 421 //##############################################################################
Note:
See TracChangeset
for help on using the changeset viewer.