Context object providing rich error formatting for C/C++ parsing.
FormattableError make_error(SourcePosition pos, const std::string &message) const
Creates a FormattableError with source context.
const TextFormatter * formatter() const
Returns the text formatter used by this context.
const std::string & file_path() const
Returns the file path associated with this context.
const std::vector< std::string > * file_lines() const
Returns the file lines held by this context.