Sha256: f9f3fb7ea7ae02c9ab4b4afdd3f4f5b39780e46057f215591784ae9b3d972c21

Contents?: true

Size: 211 Bytes

Versions: 3

Compression:

Stored size: 211 Bytes

Contents

# frozen_string_literal: true

module Basic101

  class Parser < Parslet::Parser

    rule(:read_statement) do
      str('READ').as(:read) >>
        space? >> reference_list.as(:references)
    end

  end

end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
basic101-1.0.2 lib/basic101/parser/read_statement.rb
basic101-1.0.1 lib/basic101/parser/read_statement.rb
basic101-1.0.0 lib/basic101/parser/read_statement.rb