IDL compiler front-end library
|
An AST item. More...
#include <Item.h>
Public Types | |
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... | |
Public Member Functions | |
Kind | kind () const noexcept |
bool | is_type () const noexcept |
bool | is_forward_decl () const noexcept |
|
strong |
The kind of item.
Enumerator | |
---|---|
ROOT | class Root |
INCLUDE | class Include |
NATIVE | class Native |
TYPE_DEF | class TypeDef |
CONSTANT | class Constant |
MODULE | class Module |
MODULE_ITEMS | class ModuleItems |
INTERFACE_DECL | class InterfaceDecl |
INTERFACE | class Interface |
OPERATION | class Operation |
PARAMETER | class Parameter |
ATTRIBUTE | class Attribute |
EXCEPTION | class Exception |
STRUCT_DECL | class StructDecl |
STRUCT | class Struct |
MEMBER | class Member |
UNION_DECL | class UnionDecl |
UNION | class Union |
UNION_ELEMENT | class UnionElement |
ENUM | class Enum |
ENUM_ITEM | class EnumItem |
VALUE_TYPE_DECL | class ValueTypeDecl |
VALUE_TYPE | class ValueType |
VALUE_BOX | class ValueBox |
STATE_MEMBER | class StateMember |
VALUE_FACTORY | class ValueFactory |
|
inlinenoexcept |
|
noexcept |
true
if the item represents a type.
|
noexcept |
true
if the item is a forward declaration.