Sha256: 0613da2151eac035842bb9e7463015c847bc8ea19d9a4b28293f5ac03ee3282e
Contents?: true
Size: 208 Bytes
Versions: 3
Compression:
Stored size: 208 Bytes
Contents
# frozen_string_literal: true module Basic101 class Parser < Parslet::Parser rule(:gosub_statement) do str('GOSUB').as(:gosub) >> space? >> integer.as(:line_number) end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
basic101-1.0.2 | lib/basic101/parser/gosub_statement.rb |
basic101-1.0.1 | lib/basic101/parser/gosub_statement.rb |
basic101-1.0.0 | lib/basic101/parser/gosub_statement.rb |