This machine mirrors various open-source projects.
20 Gbit/s uplink.
If there are any issues or you want another project mirrored, please contact
mirror-service -=AT=- netcologne DOT de !
HandlerStmt nodes represent an exception handler. More...
#include <Stmt.h>


Public Member Functions | |
| HandlerStmt (Location loc, ExceptionRef **choices, unsigned numChoices) | |
| unsigned | getNumChoices () const |
| Returns the number of exception choices associated with this handlers. | |
| bool | isCatchAll () const |
| Returns true if this handler denotes a "catch-all". | |
| bool | handles (const ExceptionDecl *exception) const |
| Returns true if this handler covers the given exception. | |
Static Public Member Functions | |
| static bool | classof (const HandlerStmt *node) |
| Support isa and dyn_cast. | |
| static bool | classof (const Ast *node) |
|
| |
| typedef ExceptionRef ** | choice_iterator |
| typedef const ExceptionRef *const * | const_choice_iterator |
| choice_iterator | choice_begin () |
| choice_iterator | choice_end () |
| const_choice_iterator | choice_begin () const |
| const_choice_iterator | choice_end () const |
HandlerStmt nodes represent an exception handler.
Definition at line 158 of file Stmt.h.
| typedef const ExceptionRef* const* comma::HandlerStmt::const_choice_iterator |
| HandlerStmt::HandlerStmt | ( | Location | loc, | |
| ExceptionRef ** | choices, | |||
| unsigned | numChoices | |||
| ) |
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.
| const_choice_iterator comma::HandlerStmt::choice_begin | ( | ) | const [inline] |
| choice_iterator comma::HandlerStmt::choice_begin | ( | ) | [inline] |
| const_choice_iterator comma::HandlerStmt::choice_end | ( | ) | const [inline] |
| choice_iterator comma::HandlerStmt::choice_end | ( | ) | [inline] |
| static bool comma::HandlerStmt::classof | ( | const Ast * | node | ) | [inline, static] |
Reimplemented from comma::StmtSequence.
| static bool comma::HandlerStmt::classof | ( | const HandlerStmt * | node | ) | [inline, static] |
Support isa and dyn_cast.
Reimplemented from comma::StmtSequence.
| unsigned comma::HandlerStmt::getNumChoices | ( | ) | const [inline] |
| bool HandlerStmt::handles | ( | const ExceptionDecl * | exception | ) | const |
Returns true if this handler covers the given exception.
Reimplemented from comma::StmtSequence.
| bool comma::HandlerStmt::isCatchAll | ( | ) | const [inline] |
1.6.1