Sha256: 637f1a66551d01e3d5f4e470befa450e548c55e3a72de8f1cdacd4f62649125e

Contents?: true

Size: 288 Bytes

Versions: 3

Compression:

Stored size: 288 Bytes

Contents

# frozen_string_literal: true

module Basic101

  class Parser < Parslet::Parser

    rule(:function_call) do
      function_identifier.as(:function_identifier) >> space? >> 
        str('(') >> space? >> argument_list.as(:argument_list) >>
        space? >> str(')')
    end

  end

end

Version data entries

3 entries across 3 versions & 1 rubygems

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