Sha256: 7b70ed63eec9418c33dafd8e63ab93e85163d2ebec72a2acb8960261e296f5d8
Contents?: true
Size: 466 Bytes
Versions: 3
Compression:
Stored size: 466 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-0.5.1 | lib/sexpr/grammar/parsing.rb |
sexpr-0.5.0 | lib/sexpr/grammar/parsing.rb |
sexpr-0.4.0 | lib/sexpr/grammar/parsing.rb |