Sha256: 3ac8ece7feb6d38674b20421e391fbff71530d479a11e576c845af23be52b4db

Contents?: true

Size: 682 Bytes

Versions: 6973

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

6,973 entries across 6,950 versions & 50 rubygems

Version Path
cybrid_api_id_ruby-0.123.118 vendor/bundle/ruby/3.3.0/gems/parser-3.3.6.0/lib/parser/source/map/send.rb
cybrid_api_organization_ruby-0.123.118 vendor/bundle/ruby/3.3.0/gems/parser-3.3.6.0/lib/parser/source/map/send.rb
cybrid_api_bank_ruby-0.123.117 vendor/bundle/ruby/3.3.0/gems/parser-3.3.6.0/lib/parser/source/map/send.rb
cybrid_api_id_ruby-0.123.117 vendor/bundle/ruby/3.3.0/gems/parser-3.3.6.0/lib/parser/source/map/send.rb
cybrid_api_organization_ruby-0.123.117 vendor/bundle/ruby/3.3.0/gems/parser-3.3.6.0/lib/parser/source/map/send.rb
cybrid_api_bank_ruby-0.123.116 vendor/bundle/ruby/3.3.0/gems/parser-3.3.6.0/lib/parser/source/map/send.rb
cybrid_api_organization_ruby-0.123.116 vendor/bundle/ruby/3.3.0/gems/parser-3.3.6.0/lib/parser/source/map/send.rb
cybrid_api_id_ruby-0.123.116 vendor/bundle/ruby/3.3.0/gems/parser-3.3.6.0/lib/parser/source/map/send.rb
minato_ruby_api_client-0.2.2 vendor/bundle/ruby/3.2.0/gems/parser-3.3.4.0/lib/parser/source/map/send.rb
cybrid_api_bank_ruby-0.123.115 vendor/bundle/ruby/3.3.0/gems/parser-3.3.6.0/lib/parser/source/map/send.rb
cybrid_api_id_ruby-0.123.115 vendor/bundle/ruby/3.3.0/gems/parser-3.3.6.0/lib/parser/source/map/send.rb
cybrid_api_organization_ruby-0.123.115 vendor/bundle/ruby/3.3.0/gems/parser-3.3.6.0/lib/parser/source/map/send.rb
ory-client-1.15.17 vendor/bundle/ruby/3.1.0/gems/parser-3.3.6.0/lib/parser/source/map/send.rb
cybrid_api_bank_ruby-0.123.114 vendor/bundle/ruby/3.3.0/gems/parser-3.3.6.0/lib/parser/source/map/send.rb
cybrid_api_organization_ruby-0.123.114 vendor/bundle/ruby/3.3.0/gems/parser-3.3.6.0/lib/parser/source/map/send.rb
cybrid_api_id_ruby-0.123.114 vendor/bundle/ruby/3.3.0/gems/parser-3.3.6.0/lib/parser/source/map/send.rb
cybrid_api_organization_ruby-0.123.113 vendor/bundle/ruby/3.3.0/gems/parser-3.3.6.0/lib/parser/source/map/send.rb
cybrid_api_bank_ruby-0.123.113 vendor/bundle/ruby/3.3.0/gems/parser-3.3.6.0/lib/parser/source/map/send.rb
cybrid_api_id_ruby-0.123.113 vendor/bundle/ruby/3.3.0/gems/parser-3.3.6.0/lib/parser/source/map/send.rb
cybrid_api_organization_ruby-0.123.112 vendor/bundle/ruby/3.3.0/gems/parser-3.3.6.0/lib/parser/source/map/send.rb