comma::ExceptionDecl Class Reference

#include <Decl.h>

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

List of all members.

Public Types

enum  ExceptionKind { User, Program_Error, Constraint_Error, Assertion_Error }

Public Member Functions

ExceptionKind getID () const

Static Public Member Functions

static bool classof (const ExceptionDecl *node)
 Support isa and dyn_cast.
static bool classof (const Ast *node)

Friends

class AstResource

Detailed Description

Definition at line 163 of file Decl.h.


Member Enumeration Documentation

The following enumeration provides codes which map the the language defined primitive exception nodes, or to a user defined exception.

Enumerator:
User 

ID for user defined exceptions.

Program_Error 

Program_Error.

Constraint_Error 

Constraint_Error.

Assertion_Error 

Assertion_Error.

Definition at line 168 of file Decl.h.


Member Function Documentation

static bool comma::ExceptionDecl::classof ( const Ast node  )  [inline, static]

Reimplemented from comma::Decl.

Definition at line 179 of file Decl.h.

static bool comma::ExceptionDecl::classof ( const ExceptionDecl node  )  [inline, static]

Support isa and dyn_cast.

Reimplemented from comma::Decl.

Definition at line 178 of file Decl.h.

ExceptionKind comma::ExceptionDecl::getID (  )  const [inline]

Definition at line 175 of file Decl.h.


Friends And Related Function Documentation

friend class AstResource [friend]

Definition at line 191 of file Decl.h.


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

Generated on 1 Feb 2010 for Comma by  doxygen 1.6.1