#include <peglib.h>
|
| Context (const char *a_path, const char *a_s, size_t a_l, size_t a_def_count, std::shared_ptr< Ope > a_whitespaceOpe, bool a_enablePackratParsing, Tracer a_tracer) |
|
template<typename T > |
void | packrat (const char *a_s, size_t def_id, size_t &len, any &val, T fn) |
|
SemanticValues & | push () |
|
void | pop () |
|
void | set_error_pos (const char *a_s) |
|
void | trace (const char *name, const char *a_s, size_t n, SemanticValues &sv, any &dt) const |
|
◆ Context()
peg::Context::Context |
( |
const char * |
a_path, |
|
|
const char * |
a_s, |
|
|
size_t |
a_l, |
|
|
size_t |
a_def_count, |
|
|
std::shared_ptr< Ope > |
a_whitespaceOpe, |
|
|
bool |
a_enablePackratParsing, |
|
|
Tracer |
a_tracer |
|
) |
| |
|
inline |
◆ packrat()
template<typename T >
void peg::Context::packrat |
( |
const char * |
a_s, |
|
|
size_t |
def_id, |
|
|
size_t & |
len, |
|
|
any & |
val, |
|
|
T |
fn |
|
) |
| |
|
inline |
◆ pop()
void peg::Context::pop |
( |
| ) |
|
|
inline |
◆ push()
◆ set_error_pos()
void peg::Context::set_error_pos |
( |
const char * |
a_s | ) |
|
|
inline |
◆ trace()
◆ cache_registered
std::vector<bool> peg::Context::cache_registered |
◆ cache_success
std::vector<bool> peg::Context::cache_success |
◆ cache_values
std::map<std::pair<size_t, size_t>, std::tuple<size_t, any> > peg::Context::cache_values |
◆ def_count
const size_t peg::Context::def_count |
◆ enablePackratParsing
const bool peg::Context::enablePackratParsing |
◆ error_pos
const char* peg::Context::error_pos |
◆ in_token
bool peg::Context::in_token |
◆ in_whitespace
bool peg::Context::in_whitespace |
const size_t peg::Context::l |
◆ message
◆ message_pos
const char* peg::Context::message_pos |
◆ nest_level
size_t peg::Context::nest_level |
◆ path
const char* peg::Context::path |
const char* peg::Context::s |
◆ tracer
◆ value_stack
std::vector<std::shared_ptr<SemanticValues> > peg::Context::value_stack |
◆ value_stack_size
size_t peg::Context::value_stack_size |
◆ whitespaceOpe
std::shared_ptr<Ope> peg::Context::whitespaceOpe |
The documentation for this class was generated from the following file: