IDL compiler front-end library
|
Abstract Syntax Tree root. More...
#include <Root.h>
Public Member Functions | |
const std::filesystem::path & | file () const noexcept |
bool | visit (CodeGen &cg) const |
Visit all items for the code generation. More... | |
operator Symbols & () noexcept | |
operator const Symbols & () 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::Container | |
bool | visit (CodeGen &cg) const |
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... | |
Abstract Syntax Tree root.
Child item types:
|
inlinenoexcept |
bool AST::Root::visit | ( | CodeGen & | cg | ) | const |
Visit all items for the code generation.
true
if unsuppported building blocks were occurred.
|
inlinenoexcept |
|
inlinenoexcept |