#include <Stmt.h>


Public Member Functions | |
| Location | getLocation () const |
| Returns the location of this statement. | |
| bool | isTerminator () const |
Returns true if this statement represents a return or raise. | |
Static Public Member Functions | |
| static bool | classof (const Stmt *node) |
| Support isa and dyn_cast. | |
| static bool | classof (const Ast *node) |
Protected Member Functions | |
| Stmt (AstKind kind, Location loc) | |
Definition at line 22 of file Stmt.h.
| static bool comma::Stmt::classof | ( | const Ast * | node | ) | [inline, static] |
| static bool comma::Stmt::classof | ( | const Stmt * | node | ) | [inline, static] |
Support isa and dyn_cast.
Reimplemented from comma::Ast.
Reimplemented in comma::StmtSequence, comma::HandlerStmt, comma::BlockStmt, comma::ProcedureCallStmt, comma::ReturnStmt, comma::AssignmentStmt, comma::IfStmt, comma::WhileStmt, comma::ForStmt, comma::LoopStmt, comma::PragmaStmt, comma::RaiseStmt, and comma::NullStmt.
| Location comma::Stmt::getLocation | ( | ) | const [inline, virtual] |
Returns the location of this statement.
Reimplemented from comma::Ast.
Reimplemented in comma::ProcedureCallStmt.
| bool Stmt::isTerminator | ( | ) | const |
1.6.1