comma::ExceptionRef Class Reference

#include <ExceptionRef.h>

Inheritance diagram for comma::ExceptionRef:
Inheritance graph
[legend]
Collaboration diagram for comma::ExceptionRef:
Collaboration graph
[legend]

List of all members.

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.
IdentifierInfogetIdInfo () const
 Returns the defining identifier of the associated exception declaration.
const char * getString () const



const ExceptionDeclgetException () const
 Returns the exception declaration this node references.
ExceptionDeclgetException ()
 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)

Detailed Description

Definition at line 30 of file ExceptionRef.h.


Constructor & Destructor Documentation

comma::ExceptionRef::ExceptionRef ( Location  loc,
ExceptionDecl exception 
) [inline]

Definition at line 33 of file ExceptionRef.h.


Member Function Documentation

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.


The documentation for this class was generated from the following file:

Generated on 1 Feb 2010 for Comma by  doxygen 1.6.1