Sha256: d34b466722aa0c52e50c3c9733143aa4704a307fdb48d69ee7aba41af51f4410
Contents?: true
Size: 280 Bytes
Versions: 2
Compression:
Stored size: 280 Bytes
Contents
module Basic101 class Parser < Parslet::Parser rule(:next_statement) do str('NEXT').as(:next) >> (space? >> reference >> (space? >> str(',') >> space? >> reference ).repeat(0) ).maybe.as(:references) end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
basic101-0.4.0 | lib/basic101/parser/next_statement.rb |
basic101-0.2.0 | lib/basic101/parser/next_statement.rb |