Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/Parser/ParseNode.h

    r321f55d r8cc5cb0  
    1010// Created On       : Sat May 16 13:28:16 2015
    1111// Last Modified By : Peter A. Buhr
    12 // Last Modified On : Wed Aug 10 21:51:49 2016
    13 // Update Count     : 437
     12// Last Modified On : Thu Aug 11 12:24:11 2016
     13// Update Count     : 443
    1414//
    1515
     
    363363        // StatementNode *add_controlexp( ExpressionNode * );
    364364        StatementNode *append_block( StatementNode * );
    365         StatementNode *append_last_case( StatementNode * );
     365        virtual StatementNode *append_last_case( StatementNode * );
    366366
    367367        void print( std::ostream &os, int indent = 0) const;
     
    392392                return this;
    393393        }
     394        virtual StatementNode *append_last_case( StatementNode * );
    394395        virtual std::list<std::string> get_labels() const { assert( false ); return StatementNode::get_labels(); }
    395396
     
    411412};
    412413
     414Statement *build_expr( ExpressionNode *ctl );
    413415Statement *build_if( ExpressionNode *ctl, StatementNode *then_stmt, StatementNode *else_stmt );
    414416Statement *build_switch( ExpressionNode *ctl, StatementNode *stmt );
     417Statement *build_case( ExpressionNode *ctl );
     418Statement *build_default();
    415419Statement *build_while( ExpressionNode *ctl, StatementNode *stmt, bool kind = false );
    416420Statement *build_for( ForCtl *forctl, StatementNode *stmt );
    417421Statement *build_branch( std::string identifier, BranchStmt::Type kind );
    418 Statement *build_case( ExpressionNode *ctl );
    419 Statement *build_default();
     422Statement *build_computedgoto( ExpressionNode *ctl );
     423Statement *build_return( ExpressionNode *ctl );
     424Statement *build_throw( ExpressionNode *ctl );
    420425
    421426//##############################################################################
Note: See TracChangeset for help on using the changeset viewer.