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

Value type forward declaration. More...

#include <ValueType.h>

Inheritance diagram for AST::ValueTypeDecl:
AST::ItemWithId AST::NamedItem AST::Item AST::Location

Public Member Functions

bool is_abstract () const noexcept
 
- Public Member Functions inherited from AST::ItemWithId
std::string repository_id () const
 
- 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...
 
- Static Public Member Functions inherited from AST::ItemWithId
static const ItemWithIdcast (const NamedItem *item) noexcept
 

Detailed Description

Value type forward declaration.

Invariant
kind () == Item::Kind::VALUE_TYPE_DECL
Examples
Printer.cpp.

Definition at line 130 of file ValueType.h.

Member Function Documentation

◆ is_abstract()

bool AST::ValueTypeDecl::is_abstract ( ) const
inlinenoexcept
Returns
true if the value type declared abstract.

Definition at line 135 of file ValueType.h.


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