Sha256: 74e1ece8ea7845070517c6867d5cb71827ed90f5db3e9cd724d2b3a0ce4cba55

Contents?: true

Size: 475 Bytes

Versions: 19

Compression:

Stored size: 475 Bytes

Contents

# frozen_string_literal: true

module Parser
  module Source

    class Map::EndlessDefinition < Map
      attr_reader :keyword
      attr_reader :operator
      attr_reader :name
      attr_reader :assignment

      def initialize(keyword_l, operator_l, name_l, assignment_l, body_l)
        @keyword  = keyword_l
        @operator = operator_l
        @name     = name_l
        @assignment = assignment_l

        super(@keyword.join(body_l))
      end
    end

  end
end

Version data entries

19 entries across 19 versions & 5 rubygems

Version Path
passbase-1.3.0 vendor/bundle/ruby/2.7.0/gems/parser-2.7.1.4/lib/parser/source/map/endless_definition.rb
passbase-1.2.0 vendor/bundle/ruby/2.7.0/gems/parser-2.7.1.4/lib/parser/source/map/endless_definition.rb
passbase-1.1.0 vendor/bundle/ruby/2.7.0/gems/parser-2.7.1.4/lib/parser/source/map/endless_definition.rb
passbase-1.0.3 vendor/bundle/ruby/2.7.0/gems/parser-2.7.1.4/lib/parser/source/map/endless_definition.rb
passbase-1.0.2 vendor/bundle/ruby/2.7.0/gems/parser-2.7.1.4/lib/parser/source/map/endless_definition.rb
passbase-1.0.1 vendor/bundle/ruby/2.7.0/gems/parser-2.7.1.4/lib/parser/source/map/endless_definition.rb
passbase-1.0.0 vendor/bundle/ruby/2.7.0/gems/parser-2.7.1.4/lib/parser/source/map/endless_definition.rb
grape-extra_validators-2.0.0 vendor/bundle/ruby/2.6.0/gems/parser-2.7.1.4/lib/parser/source/map/endless_definition.rb
ruby-next-parser-2.8.0.7 lib/parser/ruby-next/source/map/endless_definition.rb
files.com-1.0.1 vendor/bundle/ruby/2.5.0/gems/parser-2.7.1.4/lib/parser/source/map/endless_definition.rb
parser-2.7.1.4 lib/parser/source/map/endless_definition.rb
ruby-next-parser-2.8.0.6 lib/parser/ruby-next/source/map/endless_definition.rb
ruby-next-parser-2.8.0.5 lib/parser/ruby-next/source/map/endless_definition.rb
parser-2.7.1.3 lib/parser/source/map/endless_definition.rb
ruby-next-parser-2.8.0.4 lib/parser/ruby-next/source/map/endless_definition.rb
parser-2.7.1.2 lib/parser/source/map/endless_definition.rb
ruby-next-parser-2.8.0.3 lib/parser/ruby-next/source/map/endless_definition.rb
ruby-next-parser-2.8.0.2 lib/parser/ruby-next/source/map/endless_definition.rb
ruby-next-parser-2.8.0.1 lib/parser/ruby-next/source/map/endless_definition.rb