diff options
Diffstat (limited to 'AST.h')
-rw-r--r-- | AST.h | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -345,6 +345,7 @@ public: Expression& getCondition() const { return *m_condition; } Statement& getTrueStatement() const { return *m_trueBody; } + /// @returns the "else" part of the if statement or nullptr if there is no "else" part. Statement* getFalseStatement() const { return m_falseBody.get(); } private: |