![]() |
Cockatrice 2026-04-21-Development-2.11.0-beta.61
A virtual tabletop for multiplayer card games
|
#include <peglib.h>
Public Types | |
| using | MatchAction = std::function<void(const char *s, size_t n, Context &c)> |
Public Member Functions | |
| Capture (const std::shared_ptr< Ope > &ope, MatchAction ma) | |
| size_t | parse_core (const char *s, size_t n, SemanticValues &vs, Context &c, std::any &dt) const override |
| void | accept (Visitor &v) override |
| Public Member Functions inherited from peg::Ope | |
| virtual | ~Ope ()=default |
| size_t | parse (const char *s, size_t n, SemanticValues &vs, Context &c, std::any &dt) const |
Public Attributes | |
| std::shared_ptr< Ope > | ope_ |
| MatchAction | match_action_ |
| Public Attributes inherited from peg::Ope | |
| bool | is_token_boundary = false |
| bool | is_choice_like = false |
| using peg::Capture::MatchAction = std::function<void(const char *s, size_t n, Context &c)> |
|
inline |
|
inlineoverridevirtual |
|
inlineoverridevirtual |
| MatchAction peg::Capture::match_action_ |
| std::shared_ptr<Ope> peg::Capture::ope_ |