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

#include file. More...

#include <Include.h>

Inheritance diagram for AST::Include:
AST::Item AST::Location

Public Member Functions

const std::filesystem::path & file () const noexcept
 Returns the name of included IDL file.
 
bool system () 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

#include file.

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

Definition at line 41 of file Include.h.

Member Function Documentation

◆ system()

bool AST::Include::system ( ) const
inlinenoexcept
Returns
true for includes in angle brackets.

Definition at line 53 of file Include.h.


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