Sha256: c435f4cd679d1df4dd16b66995580a96251fc2572c55482aaf99eccceb20eb5d

Contents?: true

Size: 350 Bytes

Versions: 1

Compression:

Stored size: 350 Bytes

Contents

module Sexpr
  module Grammar
    module Parsing

      def parse(input, options = {})
        parser!.parse(input, options)
      end

      private

      def parser!
        unless p = parser
          raise NoParserError, "No parser set.", caller
        end
        p
      end

    end # module Parsing
  end # module Grammar
end # module Sexpr

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
sexpr-0.3.0 lib/sexpr/grammar/parsing.rb