![]() |
Cockatrice 2026-10-19-Development-3.1.2-beta.2
A virtual tabletop for multiplayer card games
|
#include <peglib.h>
Public Member Functions | |
| template<typename... Args> | |
| PrioritizedChoice (bool for_label, const Args &...args) | |
| PrioritizedChoice (const std::vector< std::shared_ptr< Ope > > &opes) | |
| PrioritizedChoice (std::vector< std::shared_ptr< Ope > > &&opes) | |
| size_t | parse_core (const char *s, size_t n, SemanticValues &vs, Context &c, std::any &dt) const override |
| void | accept (Visitor &v) override |
| size_t | size () const |
| 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::vector< std::shared_ptr< Ope > > | opes_ |
| bool | for_label_ = false |
| std::vector< FirstSet > | first_sets_ |
| Public Attributes inherited from peg::Ope | |
| bool | is_token_boundary = false |
| bool | is_choice_like = false |
|
inline |
|
inline |
|
inline |
|
inlineoverridevirtual |
|
inlineoverridevirtual |
|
inline |
| std::vector<FirstSet> peg::PrioritizedChoice::first_sets_ |
| bool peg::PrioritizedChoice::for_label_ = false |
| std::vector<std::shared_ptr<Ope> > peg::PrioritizedChoice::opes_ |