Struct ErrorInfo

Struct Documentation

struct ErrorInfo

Public Functions

inline void clear()
inline void add(const char *error_literal, const Definition *error_rule)
inline void output_log(const Log &log, const char *s, size_t n)

Public Members

const char *error_pos = nullptr
std::vector<std::pair<const char*, const Definition*>> expected_tokens
const char *message_pos = nullptr
std::string message
std::string label
const char *last_output_pos = nullptr
bool keep_previous_token = false