Sha256: a72e5a3651da8f713a5c7a49be545f59af09719ebc1950a7e7da1dd39500d8e9

Contents?: true

Size: 574 Bytes

Versions: 6972

Compression:

Stored size: 574 Bytes

Contents

# frozen_string_literal: true

module Parser
  module Source

    class Map::Index < Map
      attr_reader :begin
      attr_reader :end
      attr_reader :operator

      def initialize(begin_l, end_l, expression_l)
        @begin, @end = begin_l, end_l
        @operator = nil

        super(expression_l)
      end

      ##
      # @api private
      #
      def with_operator(operator_l)
        with { |map| map.update_operator(operator_l) }
      end

      protected

      def update_operator(operator_l)
        @operator = operator_l
      end
    end

  end
end

Version data entries

6,972 entries across 6,949 versions & 50 rubygems

Version Path
cybrid_api_bank_ruby-0.123.143 vendor/bundle/ruby/3.3.0/gems/parser-3.3.6.0/lib/parser/source/map/index.rb
cybrid_api_organization_ruby-0.123.143 vendor/bundle/ruby/3.3.0/gems/parser-3.3.6.0/lib/parser/source/map/index.rb
cybrid_api_id_ruby-0.123.143 vendor/bundle/ruby/3.3.0/gems/parser-3.3.6.0/lib/parser/source/map/index.rb
cybrid_api_bank_ruby-0.123.142 vendor/bundle/ruby/3.3.0/gems/parser-3.3.6.0/lib/parser/source/map/index.rb
cybrid_api_id_ruby-0.123.142 vendor/bundle/ruby/3.3.0/gems/parser-3.3.6.0/lib/parser/source/map/index.rb
cybrid_api_organization_ruby-0.123.142 vendor/bundle/ruby/3.3.0/gems/parser-3.3.6.0/lib/parser/source/map/index.rb
cybrid_api_bank_ruby-0.123.140 vendor/bundle/ruby/3.3.0/gems/parser-3.3.6.0/lib/parser/source/map/index.rb
cybrid_api_id_ruby-0.123.140 vendor/bundle/ruby/3.3.0/gems/parser-3.3.6.0/lib/parser/source/map/index.rb
cybrid_api_organization_ruby-0.123.140 vendor/bundle/ruby/3.3.0/gems/parser-3.3.6.0/lib/parser/source/map/index.rb
cybrid_api_bank_ruby-0.123.139 vendor/bundle/ruby/3.3.0/gems/parser-3.3.6.0/lib/parser/source/map/index.rb
cybrid_api_id_ruby-0.123.139 vendor/bundle/ruby/3.3.0/gems/parser-3.3.6.0/lib/parser/source/map/index.rb
cybrid_api_organization_ruby-0.123.139 vendor/bundle/ruby/3.3.0/gems/parser-3.3.6.0/lib/parser/source/map/index.rb
cybrid_api_id_ruby-0.123.137 vendor/bundle/ruby/3.3.0/gems/parser-3.3.6.0/lib/parser/source/map/index.rb
cybrid_api_organization_ruby-0.123.137 vendor/bundle/ruby/3.3.0/gems/parser-3.3.6.0/lib/parser/source/map/index.rb
cybrid_api_bank_ruby-0.123.137 vendor/bundle/ruby/3.3.0/gems/parser-3.3.6.0/lib/parser/source/map/index.rb
cybrid_api_organization_ruby-0.123.135 vendor/bundle/ruby/3.3.0/gems/parser-3.3.6.0/lib/parser/source/map/index.rb
cybrid_api_bank_ruby-0.123.135 vendor/bundle/ruby/3.3.0/gems/parser-3.3.6.0/lib/parser/source/map/index.rb
cybrid_api_id_ruby-0.123.135 vendor/bundle/ruby/3.3.0/gems/parser-3.3.6.0/lib/parser/source/map/index.rb
cybrid_api_bank_ruby-0.123.134 vendor/bundle/ruby/3.3.0/gems/parser-3.3.6.0/lib/parser/source/map/index.rb
cybrid_api_id_ruby-0.123.134 vendor/bundle/ruby/3.3.0/gems/parser-3.3.6.0/lib/parser/source/map/index.rb