Compiler Context.
Definition gyoji-context.hpp:44
TokenStream & get_token_stream() const
Definition compiler-context.cpp:37
bool has_errors() const
Definition compiler-context.cpp:29
Errors & get_errors() const
Definition compiler-context.cpp:33
void add_filename(const std::string &_filename)
Definition compiler-context.cpp:45
const std::string & get_filename() const
Definition compiler-context.cpp:41
Container for errors reported.
Definition errors.hpp:145
Stream of tokens read by the parser to provide context for errors.
Definition token-stream.hpp:120
The context namespace deals with objects that should last the entire scope of compilation.
Definition gyoji-context.hpp:30