Sha256: 3ac8ece7feb6d38674b20421e391fbff71530d479a11e576c845af23be52b4db

Contents?: true

Size: 682 Bytes

Versions: 7018

Compression:

Stored size: 682 Bytes

Contents

# frozen_string_literal: true

module Parser
  module Source

    class Map::Send < Map
      attr_reader :dot
      attr_reader :selector
      attr_reader :operator
      attr_reader :begin
      attr_reader :end

      def initialize(dot_l, selector_l, begin_l, end_l, expression_l)
        @dot         = dot_l
        @selector    = selector_l
        @begin, @end = begin_l, end_l

        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

7,018 entries across 6,995 versions & 51 rubygems

Version Path
zuora_connect_ui-0.9.2 vendor/ruby/2.6.0/gems/parser-2.6.4.1/lib/parser/source/map/send.rb
zuora_connect_ui-0.9.2 vendor/ruby/2.6.0/gems/parser-2.6.3.0/lib/parser/source/map/send.rb
zuora_connect_ui-0.9.1 vendor/ruby/2.6.0/gems/parser-2.6.5.0/lib/parser/source/map/send.rb
zuora_connect_ui-0.9.1 vendor/ruby/2.6.0/gems/parser-2.6.4.1/lib/parser/source/map/send.rb
zuora_connect_ui-0.9.1 vendor/ruby/2.6.0/gems/parser-2.6.3.0/lib/parser/source/map/send.rb
zuora_connect_ui-0.9.0 vendor/ruby/2.6.0/gems/parser-2.6.4.1/lib/parser/source/map/send.rb
zuora_connect_ui-0.9.0 vendor/ruby/2.6.0/gems/parser-2.6.3.0/lib/parser/source/map/send.rb
zuora_connect_ui-0.9.0 vendor/ruby/2.6.0/gems/parser-2.6.5.0/lib/parser/source/map/send.rb
parser-2.6.5.0 lib/parser/source/map/send.rb
zuora_connect_ui-0.8.3 vendor/ruby/2.6.0/gems/parser-2.6.3.0/lib/parser/source/map/send.rb
zuora_connect_ui-0.8.3 vendor/ruby/2.6.0/gems/parser-2.6.4.1/lib/parser/source/map/send.rb
parser-2.6.4.1 lib/parser/source/map/send.rb
parser-2.6.4.0 lib/parser/source/map/send.rb
zuora_connect_ui-0.8.2 vendor/ruby/2.6.0/gems/parser-2.6.3.0/lib/parser/source/map/send.rb
zuora_connect_ui-0.8.1 vendor/ruby/2.6.0/gems/parser-2.6.3.0/lib/parser/source/map/send.rb
zuora_connect_ui-0.8.0 vendor/ruby/2.6.0/gems/parser-2.6.3.0/lib/parser/source/map/send.rb
dadapush_client-1.0.1 vendor/bundle/ruby/2.3.0/gems/parser-2.6.3.0/lib/parser/source/map/send.rb
zuora_connect_ui-0.7.1 vendor/ruby/2.6.0/gems/parser-2.6.3.0/lib/parser/source/map/send.rb
zuora_connect_ui-0.7.0 vendor/ruby/2.6.0/gems/parser-2.6.3.0/lib/parser/source/map/send.rb
parser-2.6.3.0 lib/parser/source/map/send.rb