#include <ExceptionRef.h>
Public Member Functions | |
ExceptionRef (Location loc, ExceptionDecl *exception) | |
Location | getLocation () const |
Returns the location associated with this ExceptionRef. | |
void | setException (ExceptionDecl *exception) |
Sets the exception associated with this reference. | |
IdentifierInfo * | getIdInfo () const |
Returns the defining identifier of the associated exception declaration. | |
const char * | getString () const |
const ExceptionDecl * | getException () const |
Returns the exception declaration this node references. | |
ExceptionDecl * | getException () |
Returns the exception declaration this node references. | |
Static Public Member Functions | |
static bool | classof (const ExceptionRef *node) |
Support isa and dyn_cast. | |
static bool | classof (const Ast *node) |
Definition at line 30 of file ExceptionRef.h.
comma::ExceptionRef::ExceptionRef | ( | Location | loc, | |
ExceptionDecl * | exception | |||
) | [inline] |
Definition at line 33 of file ExceptionRef.h.
static bool comma::ExceptionRef::classof | ( | const Ast * | node | ) | [inline, static] |
Definition at line 57 of file ExceptionRef.h.
static bool comma::ExceptionRef::classof | ( | const ExceptionRef * | node | ) | [inline, static] |
Support isa and dyn_cast.
Reimplemented from comma::Ast.
Definition at line 56 of file ExceptionRef.h.
ExceptionDecl* comma::ExceptionRef::getException | ( | ) | [inline] |
Returns the exception declaration this node references.
Definition at line 42 of file ExceptionRef.h.
const ExceptionDecl* comma::ExceptionRef::getException | ( | ) | const [inline] |
Returns the exception declaration this node references.
Definition at line 41 of file ExceptionRef.h.
IdentifierInfo* comma::ExceptionRef::getIdInfo | ( | ) | const [inline] |
Returns the defining identifier of the associated exception declaration.
Definition at line 49 of file ExceptionRef.h.
Location comma::ExceptionRef::getLocation | ( | ) | const [inline, virtual] |
Returns the location associated with this ExceptionRef.
Reimplemented from comma::Ast.
Definition at line 37 of file ExceptionRef.h.
const char* comma::ExceptionRef::getString | ( | ) | const [inline] |
Returns the defining identifier of the associated exception as a C-string.
Definition at line 53 of file ExceptionRef.h.
void comma::ExceptionRef::setException | ( | ExceptionDecl * | exception | ) | [inline] |
Sets the exception associated with this reference.
Definition at line 46 of file ExceptionRef.h.