#include <Stmt.h>


Classes | |
| class | Elsif |
Public Types | |
| typedef ElsifVector::iterator | iterator |
| typedef ElsifVector::const_iterator | const_iterator |
Public Member Functions | |
| IfStmt (Location loc, Expr *condition, StmtSequence *consequent) | |
| Expr * | getCondition () |
| const Expr * | getCondition () const |
| StmtSequence * | getConsequent () |
| const StmtSequence * | getConsequent () const |
| void | setAlternate (Location loc, StmtSequence *stmt) |
| bool | hasAlternate () const |
| StmtSequence * | getAlternate () |
| const StmtSequence * | getAlternate () const |
| iterator | beginElsif () |
| iterator | endElsif () |
| const_iterator | beginElsif () const |
| const_iterator | endElsif () const |
| void | addElsif (Location loc, Expr *condition, StmtSequence *consequent) |
| bool | hasElsif () const |
| Location | getIfLocation () const |
| Location | getElseLocation () const |
Static Public Member Functions | |
| static bool | classof (const IfStmt *node) |
| Support isa and dyn_cast. | |
| static bool | classof (const Ast *node) |
Definition at line 315 of file Stmt.h.
| typedef ElsifVector::const_iterator comma::IfStmt::const_iterator |
| typedef ElsifVector::iterator comma::IfStmt::iterator |
| comma::IfStmt::IfStmt | ( | Location | loc, | |
| Expr * | condition, | |||
| StmtSequence * | consequent | |||
| ) | [inline] |
| void comma::IfStmt::addElsif | ( | Location | loc, | |
| Expr * | condition, | |||
| StmtSequence * | consequent | |||
| ) | [inline] |
| const_iterator comma::IfStmt::beginElsif | ( | ) | const [inline] |
| static bool comma::IfStmt::classof | ( | const Ast * | node | ) | [inline, static] |
Reimplemented from comma::Stmt.
| static bool comma::IfStmt::classof | ( | const IfStmt * | node | ) | [inline, static] |
| const_iterator comma::IfStmt::endElsif | ( | ) | const [inline] |
| const StmtSequence* comma::IfStmt::getAlternate | ( | ) | const [inline] |
| StmtSequence* comma::IfStmt::getAlternate | ( | ) | [inline] |
| const StmtSequence* comma::IfStmt::getConsequent | ( | ) | const [inline] |
| StmtSequence* comma::IfStmt::getConsequent | ( | ) | [inline] |
| void comma::IfStmt::setAlternate | ( | Location | loc, | |
| StmtSequence * | stmt | |||
| ) | [inline] |
1.6.1