#include <peglib.h>
|
| ParserGenerator () |
|
void | make_grammar () |
|
void | setup_actions () |
|
std::shared_ptr< Grammar > | perform_core (const char *s, size_t n, std::string &start, MatchAction ma, Log log) |
|
bool | is_hex (char c, int &v) |
|
bool | is_digit (char c, int &v) |
|
std::pair< char, size_t > | parse_hex_number (const char *s, size_t n, size_t i) |
|
std::pair< char, size_t > | parse_octal_number (const char *s, size_t n, size_t i) |
|
std::string | resolve_escape_sequence (const char *s, size_t n) |
|
◆ ParserGenerator()
peg::ParserGenerator::ParserGenerator |
( |
| ) |
|
|
inlineprivate |
◆ get_instance()
◆ grammar()
static Grammar& peg::ParserGenerator::grammar |
( |
| ) |
|
|
inlinestatic |
◆ is_digit()
bool peg::ParserGenerator::is_digit |
( |
char |
c, |
|
|
int & |
v |
|
) |
| |
|
inlineprivate |
◆ is_hex()
bool peg::ParserGenerator::is_hex |
( |
char |
c, |
|
|
int & |
v |
|
) |
| |
|
inlineprivate |
◆ make_grammar()
void peg::ParserGenerator::make_grammar |
( |
| ) |
|
|
inlineprivate |
◆ parse()
◆ parse_hex_number()
std::pair<char, size_t> peg::ParserGenerator::parse_hex_number |
( |
const char * |
s, |
|
|
size_t |
n, |
|
|
size_t |
i |
|
) |
| |
|
inlineprivate |
◆ parse_octal_number()
std::pair<char, size_t> peg::ParserGenerator::parse_octal_number |
( |
const char * |
s, |
|
|
size_t |
n, |
|
|
size_t |
i |
|
) |
| |
|
inlineprivate |
◆ perform_core()
◆ resolve_escape_sequence()
std::string peg::ParserGenerator::resolve_escape_sequence |
( |
const char * |
s, |
|
|
size_t |
n |
|
) |
| |
|
inlineprivate |
◆ setup_actions()
void peg::ParserGenerator::setup_actions |
( |
| ) |
|
|
inlineprivate |
The documentation for this class was generated from the following file: