comma::HandlerStmt Class Reference
HandlerStmt nodes represent an exception handler.
More...
#include <Stmt.h>
List of all members.
Detailed Description
HandlerStmt nodes represent an exception handler.
Definition at line 158 of file Stmt.h.
Member Typedef Documentation
Iterators over the set of exception choices associated with this handler.
Definition at line 179 of file Stmt.h.
Iterators over the set of exception choices associated with this handler.
Definition at line 183 of file Stmt.h.
Constructor & Destructor Documentation
Constructs a HandlerStmt over the given set of execption choices.
If numChoices
is zero, then the resulting handler is considered a "catch-all", corresponding to the code when others
.
Definition at line 57 of file Stmt.cpp.
Member Function Documentation
Iterators over the set of exception choices associated with this handler.
Definition at line 184 of file Stmt.h.
Iterators over the set of exception choices associated with this handler.
Definition at line 180 of file Stmt.h.
Iterators over the set of exception choices associated with this handler.
Definition at line 185 of file Stmt.h.
Iterators over the set of exception choices associated with this handler.
Definition at line 181 of file Stmt.h.
static bool comma::HandlerStmt::classof |
( |
const Ast * |
node |
) |
[inline, static] |
static bool comma::HandlerStmt::classof |
( |
const HandlerStmt * |
node |
) |
[inline, static] |
unsigned comma::HandlerStmt::getNumChoices |
( |
|
) |
const [inline] |
Returns the number of exception choices associated with this handlers.
Definition at line 168 of file Stmt.h.
bool HandlerStmt::handles |
( |
const ExceptionDecl * |
exception |
) |
const |
bool comma::HandlerStmt::isCatchAll |
( |
|
) |
const [inline] |
Returns true if this handler denotes a "catch-all".
Definition at line 171 of file Stmt.h.
The documentation for this class was generated from the following files: