GrammarParser(const std::u32string& name_, const std::u32string& api_) |
void | Accept(Visitor& visitor) override |
void | AddRule(RuleParser* rule) |
void | AddRuleInfo(const std::u32string& ruleName, const std::u32string& ruleInfo) |
void | AddUsing(const std::u32string& using_) |
const std::u32string& | Api() const |
RuleParser* | GetRule(const std::u32string& ruleName) const |
bool | IsGrammar() const override |
const std::u32string& | Lexer() const |
bool | Main() const |
void | MapRule(RuleParser* rule) |
const std::vector<std::pair<std::u32string, std::u32string>>& | RuleInfos() const |
const std::vector<std::unique_ptr<RuleParser>>& | Rules() const |
void | SetLexer(const std::u32string& lexer_) |
void | SetMain() |
const std::vector<std::u32string>& | Usings() const |
std::u32string | api |
std::u32string | lexer |
bool | main |
std::vector<std::pair<std::u32string, std::u32string>> | ruleInfos |
std::map<std::u32string, RuleParser*> | ruleMap |
std::vector<std::unique_ptr<RuleParser>> | rules |
std::vector<std::u32string> | usings |