IDL compiler front-end library
Public Member Functions | List of all members
AST::EnumItem Class Reference

The enumerator. More...

#include <Enum.h>

Inheritance diagram for AST::EnumItem:
AST::NamedItem AST::Item AST::Location

Public Member Functions

const NamedItemenum_type () const noexcept
 
- Public Member Functions inherited from AST::NamedItem
const Identifiername () const noexcept
 
const ItemScopeparent () const noexcept
 
std::string qualified_name () const
 
ScopedName scoped_name () const
 
const Symbolsparent_scope () const noexcept
 
- Public Member Functions inherited from AST::Item
Kind kind () const noexcept
 
bool is_type () const noexcept
 
bool is_forward_decl () const noexcept
 
- Public Member Functions inherited from AST::Location
const std::filesystem::path & file () const noexcept
 
unsigned line () const noexcept
 

Additional Inherited Members

- Public Types inherited from AST::Item
enum class  Kind {
  ROOT , INCLUDE , NATIVE , TYPE_DEF ,
  CONSTANT , MODULE , MODULE_ITEMS , INTERFACE_DECL ,
  INTERFACE , OPERATION , PARAMETER , ATTRIBUTE ,
  EXCEPTION , STRUCT_DECL , STRUCT , MEMBER ,
  UNION_DECL , UNION , UNION_ELEMENT , ENUM ,
  ENUM_ITEM , VALUE_TYPE_DECL , VALUE_TYPE , VALUE_BOX ,
  STATE_MEMBER , VALUE_FACTORY
}
 The kind of item. More...
 

Detailed Description

The enumerator.

Invariant
kind () == Item::Kind::ENUM_ITEM

Definition at line 42 of file Enum.h.

Member Function Documentation

◆ enum_type()

const NamedItem& AST::EnumItem::enum_type ( ) const
inlinenoexcept
Returns
The pointer to enumerated type.

Definition at line 47 of file Enum.h.


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