#include <Decl.h>
Public Member Functions | |
unsigned | getIndex () const |
Returns the index (or value) of this EnumLiteral. | |
const EnumerationType * | getReturnType () const |
Provides the return type of this EnumLiteral. | |
EnumerationType * | getReturnType () |
Provides the return type of this EnumLiteral. | |
EnumerationDecl * | getDeclRegion () |
Returns the EnumerationDecl this literal belongs to. | |
const EnumerationDecl * | getDeclRegion () 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 |
Definition at line 1226 of file Decl.h.
static bool comma::EnumLiteral::classof | ( | const Ast * | node | ) | [inline, static] |
Reimplemented from comma::FunctionDecl.
static bool comma::EnumLiteral::classof | ( | const EnumLiteral * | node | ) | [inline, static] |
Support isa and dyn_cast.
Reimplemented from comma::FunctionDecl.
const EnumerationDecl* comma::EnumLiteral::getDeclRegion | ( | ) | const [inline] |
Provides the return type of this EnumLiteral.
Reimplemented from comma::Decl.
EnumerationDecl* comma::EnumLiteral::getDeclRegion | ( | ) | [inline] |
Returns the EnumerationDecl this literal belongs to.
Reimplemented from comma::Decl.
unsigned comma::EnumLiteral::getIndex | ( | ) | const [inline] |
Returns the index (or value) of this EnumLiteral.
EnumerationType* comma::EnumLiteral::getReturnType | ( | ) | [inline] |
Provides the return type of this EnumLiteral.
Reimplemented from comma::FunctionDecl.
const EnumerationType* comma::EnumLiteral::getReturnType | ( | ) | const [inline] |
Provides the return type of this EnumLiteral.
Reimplemented from comma::FunctionDecl.
friend class EnumerationDecl [friend] |