Module: EBNF
- Defined in:
- lib/ebnf/base.rb,
lib/ebnf.rb,
lib/ebnf/bnf.rb,
lib/ebnf/ll1.rb,
lib/ebnf/peg.rb,
lib/ebnf/rule.rb,
lib/ebnf/parser.rb,
lib/ebnf/writer.rb,
lib/ebnf/version.rb
Overview
Serialize ruleset back to EBNF
Defined Under Namespace
Modules: BNF, LL1, PEG, Parser, Terminals, VERSION Classes: Base, Rule, Writer
Class Method Summary collapse
-
.parse(input, **options) ⇒ EBNF::Base
Parse the given EBNF ‘query` input.
Class Method Details
.parse(input, **options) ⇒ EBNF::Base
Parse the given EBNF ‘query` input.
22 23 24 |
# File 'lib/ebnf.rb', line 22 def self.parse(input, **) ::EBNF::Base.new(input, **) end |