Sha256: 15b7026ea2d022665a8d33bc946fb68f2a3d1ff155c4d29547b786cacf955a3a

Contents?: true

Size: 191 Bytes

Versions: 2

Compression:

Stored size: 191 Bytes

Contents

module Basic101

  class Parser < Parslet::Parser

    rule(:restore_statement) do
      str('RESTORE').as(:restore) >>
        (space? >> integer).maybe.as(:line_number)
    end

  end

end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
basic101-0.4.0 lib/basic101/parser/restore_statement.rb
basic101-0.2.0 lib/basic101/parser/restore_statement.rb