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