Class Reference

Inheritance Relationships

Base Types

  • public peg::Ope (Class Ope)

  • public std::enable_shared_from_this< Reference >

Class Documentation

class Reference : public peg::Ope, public std::enable_shared_from_this<Reference>

Public Functions

inline Reference(const Grammar &grammar, const std::string &name, const char *s, bool is_macro, const std::vector<std::shared_ptr<Ope>> &args)
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 std::shared_ptr<Ope> get_core_operator() const

Public Members

const Grammar &grammar_
const std::string name_
const char *s_
const bool is_macro_
const std::vector<std::shared_ptr<Ope>> args_
Definition *rule_
size_t iarg_