Compiler Context.
Definition gyoji-context.hpp:30
TokenStream & get_token_stream() const
Definition compiler-context.cpp:23
bool has_errors() const
Definition compiler-context.cpp:15
Errors & get_errors() const
Definition compiler-context.cpp:19
void add_filename(const std::string &_filename)
Definition compiler-context.cpp:31
const std::string & get_filename() const
Definition compiler-context.cpp:27
Container for errors reported.
Definition errors.hpp:131
Stream of tokens read by the parser to provide context for errors.
Definition token-stream.hpp:106
The context namespace deals with objects that should last the entire scope of compilation.
Definition gyoji-context.hpp:16