Sha256: 49771747d99f3dcfb748e50c151aada321546f71335fa5e092617963cffdfbc3
Contents?: true
Size: 843 Bytes
Versions: 2
Compression:
Stored size: 843 Bytes
Contents
require 'sxp' unless defined?(SXP) module EBNF autoload :ABNF, "ebnf/abnf" autoload :Base, "ebnf/base" autoload :BNF, "ebnf/bnf" autoload :ISOEBNF, "ebnf/isoebnf" autoload :LL1, "ebnf/ll1" autoload :Native, "ebnf/native" autoload :Parser, "ebnf/parser" autoload :PEG, "ebnf/peg" autoload :Rule, "ebnf/rule" autoload :Terminals,"ebnf/terminals" autoload :Unescape, "ebnf/unescape" 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) ::EBNF::Base.new(input, **options) end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
ebnf-2.6.0 | lib/ebnf.rb |
ebnf-2.5.0 | lib/ebnf.rb |