public |
Inheritance Graph
graph BT
SwitchCaseStatement
SwitchCaseStatement --> ASTNode
click SwitchCaseStatement "classEScript_1_1AST_1_1SwitchCaseStatement"
click ASTNode "classEScript_1_1AST_1_1ASTNode"
Description
[ SwitchCaseStatement ] | > [ ASTNode ] |
Public Types
typedef std::vector< std::pair< size_t, ERef < AST::ASTNode > > > | caseInfoVector_t [ (statementIndex,conditionExpr)* ] |
Public Functions
SwitchCaseStatement( ptr_t _decisionExpr, Block * _block, caseInfoVector_t && _caseInfos) | |
~SwitchCaseStatement() | |
ptr_t | getDecisionExpression() const |
Block * | getBlock() const |
const caseInfoVector_t & | getCaseInfos() const |
Documentation
typedef
EScript::AST::SwitchCaseStatement::caseInfoVector_t
public |
typedef std::vector< std::pair< size_t, ERef < AST::ASTNode > > > caseInfoVector_t |
[ (statementIndex,conditionExpr)* ]
Defined in EScript/EScript/Compiler/AST/SwitchCaseStatement.h:22
function
EScript::AST::SwitchCaseStatement::SwitchCaseStatement
public | inline |
SwitchCaseStatement( | ptr_t | _decisionExpr, |
Block * | _block, | |
caseInfoVector_t && | _caseInfos | |
) |
Defined in EScript/EScript/Compiler/AST/SwitchCaseStatement.h:23
function
EScript::AST::SwitchCaseStatement::~SwitchCaseStatement
public | inline | virtual |
~SwitchCaseStatement( | ) |
Defined in EScript/EScript/Compiler/AST/SwitchCaseStatement.h:29
function
EScript::AST::SwitchCaseStatement::getDecisionExpression
public | const | inline |
ptr_t getDecisionExpression( | ) const |
Defined in EScript/EScript/Compiler/AST/SwitchCaseStatement.h:31
function
EScript::AST::SwitchCaseStatement::getBlock
public | const | inline |
Block * getBlock( | ) const |
Defined in EScript/EScript/Compiler/AST/SwitchCaseStatement.h:32
function
EScript::AST::SwitchCaseStatement::getCaseInfos
public | const | inline |
const caseInfoVector_t & getCaseInfos( | ) const |
Defined in EScript/EScript/Compiler/AST/SwitchCaseStatement.h:33