class Arborist::Grammar
- Arborist::Grammar
- Reference
- Object
Defined in:
grammar.crgrammar_rules.cr
grammar_semantics.cr
Constructors
Instance Method Summary
- #build_matcher(grammar_defn : String) : Matcher | Nil
- #load_grammar(grammar_defn : String)
- #load_grammar_file(path : String)
- #parse(input_str : String, mode : Symbol = :ohm) : ParseTree | Nil
- #parse(input_str : String, start_rule : String) : ParseTree | Nil
- #parse_file(path : String, mode : Symbol = :ohm)
- #print_match_failure_error
- #rules