Class PrioritizedChoice

Inheritance Relationships

Base Type

Class Documentation

class PrioritizedChoice : public peg::Ope

Public Functions

template<typename ...Args>
inline PrioritizedChoice(bool for_label, const Args&... args)
inline PrioritizedChoice(const std::vector<std::shared_ptr<Ope>> &opes)
inline PrioritizedChoice(std::vector<std::shared_ptr<Ope>> &&opes)
inline virtual size_t parse_core(const char *s, size_t n, SemanticValues &vs, Context &c, std::any &dt) const override
inline virtual void accept(Visitor &v) override
inline size_t size() const

Public Members

std::vector<std::shared_ptr<Ope>> opes_
bool for_label_ = false
std::vector<FirstSet> first_sets_