Sha256: 8f78f2f30307c851acc7c222c56b5900cc5cbdd6d1a400e4aeb9ebe59402cf62

Contents?: true

Size: 651 Bytes

Versions: 70

Compression:

Stored size: 651 Bytes

Contents

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

70 entries across 70 versions & 5 rubygems

Version Path
dirwatch-0.0.9 vendor/bundle/ruby/2.5.0/gems/parser-2.4.0.2/lib/parser/source/map/send.rb
dirwatch-0.0.8 vendor/bundle/ruby/2.5.0/gems/parser-2.4.0.2/lib/parser/source/map/send.rb
dirwatch-0.0.6 vendor/bundle/ruby/2.3.0/gems/parser-2.4.0.2/lib/parser/source/map/send.rb
dirwatch-0.0.5 vendor/bundle/ruby/2.3.0/gems/parser-2.4.0.2/lib/parser/source/map/send.rb
dirwatch-0.0.4 vendor/bundle/ruby/2.3.0/gems/parser-2.4.0.2/lib/parser/source/map/send.rb
dirwatch-0.0.3 vendor/bundle/ruby/2.3.0/gems/parser-2.4.0.2/lib/parser/source/map/send.rb
dirwatch-0.0.2 vendor/bundle/ruby/2.3.0/gems/parser-2.4.0.0/lib/parser/source/map/send.rb
parser-2.4.0.2 lib/parser/source/map/send.rb
parser-2.4.0.1 lib/parser/source/map/send.rb
fluent-plugin-detect-memb-exceptions-0.0.2 vendor/bundle/ruby/2.0.0/gems/parser-2.4.0.0/lib/parser/source/map/send.rb
fluent-plugin-detect-memb-exceptions-0.0.1 vendor/bundle/ruby/2.0.0/gems/parser-2.4.0.0/lib/parser/source/map/send.rb
parser-2.4.0.0 lib/parser/source/map/send.rb
parser-2.3.3.1 lib/parser/source/map/send.rb
parser-2.3.3.0 lib/parser/source/map/send.rb
parser-2.3.2.0 lib/parser/source/map/send.rb
parser-2.3.1.4 lib/parser/source/map/send.rb
parser-2.3.1.3 lib/parser/source/map/send.rb
erruby_parser-2.3.1.2 lib/parser/source/map/send.rb
parser-2.3.1.2 lib/parser/source/map/send.rb
parser-2.3.1.1 lib/parser/source/map/send.rb