#include <peglib.h>
|
| Definition () |
|
| Definition (const Definition &rhs) |
|
| Definition (Definition &&rhs) |
|
| Definition (const std::shared_ptr< Ope > &ope) |
|
| operator std::shared_ptr< Ope > () |
|
Definition & | operator<= (const std::shared_ptr< Ope > &ope) |
|
Result | parse (const char *s, size_t n, const char *path=nullptr) const |
|
Result | parse (const char *s, const char *path=nullptr) const |
|
Result | parse (const char *s, size_t n, any &dt, const char *path=nullptr) const |
|
Result | parse (const char *s, any &dt, const char *path=nullptr) const |
|
template<typename T > |
Result | parse_and_get_value (const char *s, size_t n, T &val, const char *path=nullptr) const |
|
template<typename T > |
Result | parse_and_get_value (const char *s, T &val, const char *path=nullptr) const |
|
template<typename T > |
Result | parse_and_get_value (const char *s, size_t n, any &dt, T &val, const char *path=nullptr) const |
|
template<typename T > |
Result | parse_and_get_value (const char *s, any &dt, T &val, const char *path=nullptr) const |
|
Definition & | operator= (Action a) |
|
template<typename T > |
Definition & | operator, (T fn) |
|
Definition & | operator~ () |
|
void | accept (Ope::Visitor &v) |
|
std::shared_ptr< Ope > | get_core_operator () |
|
◆ Definition() [1/4]
peg::Definition::Definition |
( |
| ) |
|
|
inline |
◆ Definition() [2/4]
◆ Definition() [3/4]
◆ Definition() [4/4]
peg::Definition::Definition |
( |
const std::shared_ptr< Ope > & |
ope | ) |
|
|
inline |
◆ accept()
◆ get_core_operator()
std::shared_ptr<Ope> peg::Definition::get_core_operator |
( |
| ) |
|
|
inline |
◆ operator std::shared_ptr< Ope >()
peg::Definition::operator std::shared_ptr< Ope > |
( |
| ) |
|
|
inline |
◆ operator,()
◆ operator<=()
◆ operator=() [1/3]
◆ operator=() [2/3]
◆ operator=() [3/3]
◆ operator~()
◆ parse() [1/4]
Result peg::Definition::parse |
( |
const char * |
s, |
|
|
size_t |
n, |
|
|
const char * |
path = nullptr |
|
) |
| const |
|
inline |
◆ parse() [2/4]
Result peg::Definition::parse |
( |
const char * |
s, |
|
|
const char * |
path = nullptr |
|
) |
| const |
|
inline |
◆ parse() [3/4]
Result peg::Definition::parse |
( |
const char * |
s, |
|
|
size_t |
n, |
|
|
any & |
dt, |
|
|
const char * |
path = nullptr |
|
) |
| const |
|
inline |
◆ parse() [4/4]
◆ parse_and_get_value() [1/4]
template<typename T >
Result peg::Definition::parse_and_get_value |
( |
const char * |
s, |
|
|
size_t |
n, |
|
|
T & |
val, |
|
|
const char * |
path = nullptr |
|
) |
| const |
|
inline |
◆ parse_and_get_value() [2/4]
template<typename T >
Result peg::Definition::parse_and_get_value |
( |
const char * |
s, |
|
|
T & |
val, |
|
|
const char * |
path = nullptr |
|
) |
| const |
|
inline |
◆ parse_and_get_value() [3/4]
template<typename T >
Result peg::Definition::parse_and_get_value |
( |
const char * |
s, |
|
|
size_t |
n, |
|
|
any & |
dt, |
|
|
T & |
val, |
|
|
const char * |
path = nullptr |
|
) |
| const |
|
inline |
◆ parse_and_get_value() [4/4]
template<typename T >
Result peg::Definition::parse_and_get_value |
( |
const char * |
s, |
|
|
any & |
dt, |
|
|
T & |
val, |
|
|
const char * |
path = nullptr |
|
) |
| const |
|
inline |
◆ parse_core()
◆ DefinitionReference
◆ action
Action peg::Definition::action |
◆ enablePackratParsing
bool peg::Definition::enablePackratParsing |
◆ enter
std::function<void (any& dt)> peg::Definition::enter |
◆ error_message
std::function<std::string ()> peg::Definition::error_message |
◆ has_token_boundary
bool peg::Definition::has_token_boundary |
◆ holder_
std::shared_ptr<Holder> peg::Definition::holder_ |
|
private |
◆ id
size_t peg::Definition::id |
◆ ignoreSemanticValue
bool peg::Definition::ignoreSemanticValue |
◆ is_token
bool peg::Definition::is_token |
◆ leave
std::function<void (any& dt)> peg::Definition::leave |
◆ name
◆ tracer
Tracer peg::Definition::tracer |
◆ whitespaceOpe
std::shared_ptr<Ope> peg::Definition::whitespaceOpe |
The documentation for this class was generated from the following file: