diff options
Diffstat (limited to 'src/analysis/statement.h')
-rw-r--r-- | src/analysis/statement.h | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/src/analysis/statement.h b/src/analysis/statement.h index 7c2cd2f..3a414df 100644 --- a/src/analysis/statement.h +++ b/src/analysis/statement.h @@ -23,11 +23,21 @@ #include "includes.h" struct IfStmtNode; +struct Node; struct WalkItem; namespace Analysis { - void analyseIfStmt(IfStmtNode *node, const WalkItem &wi, WalkItem &wo); + void analyseCondition(Node *node, + Node *condNode, + Node *thenNode, + Node *elseNode, + const WalkItem &wi, + WalkItem &wo); + + void analyseIfStmt(IfStmtNode *node, + const WalkItem &wi, + WalkItem &wo); } #endif // ANALYSIS_STATEMENT_H |