Sha256: af4b6bbaf3bd01e2f4f544b2c1f088f8cbd93e2da3853a6a702f6c05d325c6b7
Contents?: true
Size: 464 Bytes
Versions: 3
Compression:
Stored size: 464 Bytes
Contents
module Sexpr module Grammar module Parsing def default_parse_options {} end def parse(input, options = nil) options = default_parse_options.merge(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
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
sexpr-1.1.0 | lib/sexpr/grammar/parsing.rb |
sexpr-1.0.0 | lib/sexpr/grammar/parsing.rb |
sexpr-0.6.0 | lib/sexpr/grammar/parsing.rb |