public |
Inheritance Graph
graph BT
LoopStatement
LoopStatement --> ASTNode
click LoopStatement "classEScript_1_1AST_1_1LoopStatement"
click ASTNode "classEScript_1_1AST_1_1ASTNode"
Description
[ LoopStatement ] | > [ ASTNode ] |
Public Static Functions
LoopStatement * | createForLoop( ptr_t _initStmt, ptr_t cond, ptr_t increaseStmt, ptr_t action, ptr_t _elseAction) (static) Factory: for( initStmt ;cond ;increaseStmt )action |
LoopStatement * | createWhileLoop( ptr_t cond, ptr_t _action, ptr_t _elseAction) (static) Factory: while( cond )action |
LoopStatement * | createDoWhileLoop( ptr_t cond, ptr_t _action, ptr_t _elseAction) (static) Factory: do action while(cond ) |
Public Functions
~LoopStatement() | |
ptr_t | getInitStatement() const |
ptr_t | getPreConditionExpression() const |
ptr_t | getAction() const |
ptr_t | getPostConditionExpression() const |
ptr_t | getIncreaseStatement() const |
ptr_t | getElseAction() const |
Documentation
function
EScript::AST::LoopStatement::createForLoop
public | static | inline |
LoopStatement * createForLoop( | ptr_t | _initStmt, |
ptr_t | cond, | |
ptr_t | increaseStmt, | |
ptr_t | action, | |
ptr_t | _elseAction | |
) |
(static) Factory: for(initStmt
;cond
;increaseStmt
)action
Defined in EScript/EScript/Compiler/AST/LoopStatement.h:23
function
EScript::AST::LoopStatement::createWhileLoop
public | static | inline |
LoopStatement * createWhileLoop( | ptr_t | cond, |
ptr_t | _action, | |
ptr_t | _elseAction | |
) |
(static) Factory: while(cond
)action
Defined in EScript/EScript/Compiler/AST/LoopStatement.h:28
function
EScript::AST::LoopStatement::createDoWhileLoop
public | static | inline |
LoopStatement * createDoWhileLoop( | ptr_t | cond, |
ptr_t | _action, | |
ptr_t | _elseAction | |
) |
(static) Factory: doaction
while(cond
)
Defined in EScript/EScript/Compiler/AST/LoopStatement.h:33
function
EScript::AST::LoopStatement::~LoopStatement
public | inline | virtual |
~LoopStatement( | ) |
Defined in EScript/EScript/Compiler/AST/LoopStatement.h:37
function
EScript::AST::LoopStatement::getInitStatement
public | const | inline |
ptr_t getInitStatement( | ) const |
Defined in EScript/EScript/Compiler/AST/LoopStatement.h:39
function
EScript::AST::LoopStatement::getPreConditionExpression
public | const | inline |
ptr_t getPreConditionExpression( | ) const |
Defined in EScript/EScript/Compiler/AST/LoopStatement.h:40
function
EScript::AST::LoopStatement::getAction
public | const | inline |
ptr_t getAction( | ) const |
Defined in EScript/EScript/Compiler/AST/LoopStatement.h:41
function
EScript::AST::LoopStatement::getPostConditionExpression
public | const | inline |
ptr_t getPostConditionExpression( | ) const |
Defined in EScript/EScript/Compiler/AST/LoopStatement.h:42
function
EScript::AST::LoopStatement::getIncreaseStatement
public | const | inline |
ptr_t getIncreaseStatement( | ) const |
Defined in EScript/EScript/Compiler/AST/LoopStatement.h:43
function
EScript::AST::LoopStatement::getElseAction
public | const | inline |
ptr_t getElseAction( | ) const |
Defined in EScript/EScript/Compiler/AST/LoopStatement.h:44