Module: EBNF
- Defined in:
- lib/ebnf/abnf.rb,
lib/ebnf.rb,
lib/ebnf/bnf.rb,
lib/ebnf/ll1.rb,
lib/ebnf/peg.rb,
lib/ebnf/base.rb,
lib/ebnf/rule.rb,
lib/ebnf/native.rb,
lib/ebnf/parser.rb,
lib/ebnf/writer.rb,
lib/ebnf/isoebnf.rb,
lib/ebnf/version.rb
Overview
ISO EBNF parser Parses ISO EBNF into an array of Rule.
Defined Under Namespace
Modules: BNF, LL1, Native, PEG, Terminals, Unescape, VERSION Classes: ABNF, Base, ISOEBNF, Parser, 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.
28 29 30 |
# File 'lib/ebnf.rb', line 28 def self.parse(input, **) ::EBNF::Base.new(input, **) end |