Sha256: d1d9be98373fc11fa90164ce75b7bd9dbf143469318490375e0f77c984f85409

Contents?: true

Size: 599 Bytes

Versions: 15

Compression:

Stored size: 599 Bytes

Contents

module EBNF
  autoload :Base,     "ebnf/base"
  autoload :BNF,      "ebnf/bnf"
  autoload :LL1,      "ebnf/ll1"
  autoload :Parser,   "ebnf/parser"
  autoload :Rule,     "ebnf/rule"
  autoload :Writer,   "ebnf/writer"
  autoload :VERSION,  "ebnf/version"

  ##
  # Parse the given EBNF `query` input.
  #
  # @example
  #   ebnf = EBNF.parse(input)
  #
  # @param  [#read, String, #to_s]  input
  # @param  [Hash{Symbol => Object}] options
  # @return [EBNF::Base]
  # @raise  [Exception] on invalid input
  def self.parse(input, options = {})
    query = ::EBNF::Base.new(input, options)
  end
end

Version data entries

15 entries across 15 versions & 1 rubygems

Version Path
ebnf-1.1.3 lib/ebnf.rb
ebnf-1.1.2 lib/ebnf.rb
ebnf-1.1.1 lib/ebnf.rb
ebnf-1.1.0 lib/ebnf.rb
ebnf-1.0.2 lib/ebnf.rb
ebnf-1.0.1 lib/ebnf.rb
ebnf-1.0.1.beta1 lib/ebnf.rb
ebnf-1.0.0 lib/ebnf.rb
ebnf-0.3.9 lib/ebnf.rb
ebnf-0.3.8 lib/ebnf.rb
ebnf-0.3.7 lib/ebnf.rb
ebnf-0.3.6 lib/ebnf.rb
ebnf-0.3.5 lib/ebnf.rb
ebnf-0.3.4 lib/ebnf.rb
ebnf-0.3.3 lib/ebnf.rb