Sha256: 489b7ab2cc83f78a689ab8dc14f90bf2a25af4d0737473624ef40a7d710ad891

Contents?: true

Size: 482 Bytes

Versions: 70

Compression:

Stored size: 482 Bytes

Contents

module Parser
  module Source

    class Map::Variable < Map
      attr_reader :name
      attr_reader :operator

      def initialize(name_l, expression_l=name_l)
        @name = name_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/variable.rb
dirwatch-0.0.8 vendor/bundle/ruby/2.5.0/gems/parser-2.4.0.2/lib/parser/source/map/variable.rb
dirwatch-0.0.6 vendor/bundle/ruby/2.3.0/gems/parser-2.4.0.2/lib/parser/source/map/variable.rb
dirwatch-0.0.5 vendor/bundle/ruby/2.3.0/gems/parser-2.4.0.2/lib/parser/source/map/variable.rb
dirwatch-0.0.4 vendor/bundle/ruby/2.3.0/gems/parser-2.4.0.2/lib/parser/source/map/variable.rb
dirwatch-0.0.3 vendor/bundle/ruby/2.3.0/gems/parser-2.4.0.2/lib/parser/source/map/variable.rb
dirwatch-0.0.2 vendor/bundle/ruby/2.3.0/gems/parser-2.4.0.0/lib/parser/source/map/variable.rb
parser-2.4.0.2 lib/parser/source/map/variable.rb
parser-2.4.0.1 lib/parser/source/map/variable.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/variable.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/variable.rb
parser-2.4.0.0 lib/parser/source/map/variable.rb
parser-2.3.3.1 lib/parser/source/map/variable.rb
parser-2.3.3.0 lib/parser/source/map/variable.rb
parser-2.3.2.0 lib/parser/source/map/variable.rb
parser-2.3.1.4 lib/parser/source/map/variable.rb
parser-2.3.1.3 lib/parser/source/map/variable.rb
erruby_parser-2.3.1.2 lib/parser/source/map/variable.rb
parser-2.3.1.2 lib/parser/source/map/variable.rb
parser-2.3.1.1 lib/parser/source/map/variable.rb