Sha256: 3ac8ece7feb6d38674b20421e391fbff71530d479a11e576c845af23be52b4db

Contents?: true

Size: 682 Bytes

Versions: 7017

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,017 entries across 6,994 versions & 51 rubygems

Version Path
parser-2.7.1.4 lib/parser/source/map/send.rb
parser-2.7.1.3 lib/parser/source/map/send.rb
parser-2.7.1.2 lib/parser/source/map/send.rb
parser-2.7.1.1 lib/parser/source/map/send.rb
talon_one-2.0.0 vendor/bundle/ruby/2.7.0/gems/parser-2.7.1.0/lib/parser/source/map/send.rb
talon_one-2.0.0 vendor/bundle/ruby/2.3.0/gems/parser-2.7.1.0/lib/parser/source/map/send.rb
parser-2.7.1.0 lib/parser/source/map/send.rb
parser-2.7.0.5 lib/parser/source/map/send.rb
parser-2.7.0.4 lib/parser/source/map/send.rb
parser-2.7.0.3 lib/parser/source/map/send.rb
grape-extra_validators-1.0.0 vendor/bundle/ruby/2.4.0/gems/parser-2.7.0.2/lib/parser/source/map/send.rb
grape-extra_validators-1.0.0 vendor/bundle/ruby/2.6.0/gems/parser-2.7.0.2/lib/parser/source/map/send.rb
parser-2.7.0.2 lib/parser/source/map/send.rb
parser-2.7.0.1 lib/parser/source/map/send.rb
parser-2.7.0.0 lib/parser/source/map/send.rb
zuora_connect_ui-0.10.0 vendor/ruby/2.6.0/gems/parser-2.6.3.0/lib/parser/source/map/send.rb
zuora_connect_ui-0.10.0 vendor/ruby/2.6.0/gems/parser-2.6.5.0/lib/parser/source/map/send.rb
zuora_connect_ui-0.10.0 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.5.0/lib/parser/source/map/send.rb
zuora_connect_ui-0.9.2 vendor/ruby/2.6.0/gems/parser-2.6.4.1/lib/parser/source/map/send.rb