Gyoji Compiler
|
#include <tree.hpp>
Public Member Functions | |
~FileStatementList () | |
![]() | |
SyntaxNode (Gyoji::context::TokenID _type, specific_type_t _data, const Gyoji::context::SourceReference &_source_ref) | |
const std::vector< std::reference_wrapper< const SyntaxNode > > & | get_children () const |
const Gyoji::context::TokenID & | get_type () const |
template<class T > | |
bool | has_data () const |
template<class T > | |
const T & | get_data () const |
const SyntaxNode & | get_syntax_node () const |
const Gyoji::context::SourceReference & | get_source_ref () const |
This class represents a list of statements at the file-level. These statements are things like global variable declarations, function declarations, function definitions, and type definitions that appear at the top-level of the translation unit or possibly nested inside namespaces at the translation unit level.
FileStatementList::~FileStatementList | ( | ) |
Destructor, nothing special.