comma::EnumLiteral Class Reference

#include <Decl.h>

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

List of all members.

Public Member Functions

unsigned getIndex () const
 Returns the index (or value) of this EnumLiteral.



const EnumerationTypegetReturnType () const
 Provides the return type of this EnumLiteral.
EnumerationTypegetReturnType ()
 Provides the return type of this EnumLiteral.
EnumerationDeclgetDeclRegion ()
 Returns the EnumerationDecl this literal belongs to.
const EnumerationDeclgetDeclRegion () const
 Provides the return type of this EnumLiteral.

Static Public Member Functions

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

Friends

class EnumerationDecl

Detailed Description

Definition at line 1226 of file Decl.h.


Member Function Documentation

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

Reimplemented from comma::FunctionDecl.

Definition at line 1254 of file Decl.h.

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

Support isa and dyn_cast.

Reimplemented from comma::FunctionDecl.

Definition at line 1253 of file Decl.h.

const EnumerationDecl* comma::EnumLiteral::getDeclRegion (  )  const [inline]

Provides the return type of this EnumLiteral.

Reimplemented from comma::Decl.

Definition at line 1247 of file Decl.h.

EnumerationDecl* comma::EnumLiteral::getDeclRegion (  )  [inline]

Returns the EnumerationDecl this literal belongs to.

Reimplemented from comma::Decl.

Definition at line 1244 of file Decl.h.

unsigned comma::EnumLiteral::getIndex (  )  const [inline]

Returns the index (or value) of this EnumLiteral.

Definition at line 1230 of file Decl.h.

EnumerationType* comma::EnumLiteral::getReturnType (  )  [inline]

Provides the return type of this EnumLiteral.

Reimplemented from comma::FunctionDecl.

Definition at line 1237 of file Decl.h.

const EnumerationType* comma::EnumLiteral::getReturnType (  )  const [inline]

Provides the return type of this EnumLiteral.

Reimplemented from comma::FunctionDecl.

Definition at line 1234 of file Decl.h.


Friends And Related Function Documentation

friend class EnumerationDecl [friend]

Definition at line 1264 of file Decl.h.


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

Generated on 1 Feb 2010 for Comma by  doxygen 1.6.1