#include <peglib.h>
|
| int | cast_char (char c) const |
| std::string | heuristic_error_token (const char *s, size_t n, const char *pos) const |
| std::string | replace_all (std::string str, const std::string &from, const std::string &to) const |
◆ add()
| void peg::ErrorInfo::add |
( |
const char * | error_literal, |
|
|
const Definition * | error_rule ) |
|
inline |
◆ cast_char()
| int peg::ErrorInfo::cast_char |
( |
char | c | ) |
const |
|
inlineprivate |
◆ clear()
| void peg::ErrorInfo::clear |
( |
| ) |
|
|
inline |
◆ heuristic_error_token()
| std::string peg::ErrorInfo::heuristic_error_token |
( |
const char * | s, |
|
|
size_t | n, |
|
|
const char * | pos ) const |
|
inlineprivate |
◆ output_log()
| void peg::ErrorInfo::output_log |
( |
const Log & | log, |
|
|
const char * | s, |
|
|
size_t | n ) |
|
inline |
◆ replace_all()
| std::string peg::ErrorInfo::replace_all |
( |
std::string | str, |
|
|
const std::string & | from, |
|
|
const std::string & | to ) const |
|
inlineprivate |
◆ error_pos
| const char* peg::ErrorInfo::error_pos = nullptr |
◆ expected_tokens
| std::vector<std::pair<const char *, const Definition *> > peg::ErrorInfo::expected_tokens |
◆ keep_previous_token
| bool peg::ErrorInfo::keep_previous_token = false |
◆ label
| std::string peg::ErrorInfo::label |
◆ last_output_pos
| const char* peg::ErrorInfo::last_output_pos = nullptr |
◆ message
| std::string peg::ErrorInfo::message |
◆ message_pos
| const char* peg::ErrorInfo::message_pos = nullptr |
The documentation for this struct was generated from the following file:
- libcockatrice_utility/libcockatrice/utility/peglib.h