Module: EBNF
- Defined in:
- lib/ebnf/base.rb,
lib/ebnf.rb,
lib/ebnf/bnf.rb,
lib/ebnf/ll1.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, Parser, 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.
20 21 22 |
# File 'lib/ebnf.rb', line 20 def self.parse(input, = {}) query = ::EBNF::Base.new(input, ) end |