Sha256: cd0246287786e8cef9e224b480da4b3e0589005cc5098c78a876332ec768416f

Contents?: true

Size: 513 Bytes

Versions: 6973

Compression:

Stored size: 513 Bytes

Contents

# frozen_string_literal: true

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

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

Version Path
cybrid_api_bank_ruby-0.123.124 vendor/bundle/ruby/3.3.0/gems/parser-3.3.6.0/lib/parser/source/map/variable.rb
cybrid_api_organization_ruby-0.123.124 vendor/bundle/ruby/3.3.0/gems/parser-3.3.6.0/lib/parser/source/map/variable.rb
cybrid_api_id_ruby-0.123.124 vendor/bundle/ruby/3.3.0/gems/parser-3.3.6.0/lib/parser/source/map/variable.rb
cybrid_api_bank_ruby-0.123.123 vendor/bundle/ruby/3.3.0/gems/parser-3.3.6.0/lib/parser/source/map/variable.rb
cybrid_api_id_ruby-0.123.123 vendor/bundle/ruby/3.3.0/gems/parser-3.3.6.0/lib/parser/source/map/variable.rb
cybrid_api_organization_ruby-0.123.123 vendor/bundle/ruby/3.3.0/gems/parser-3.3.6.0/lib/parser/source/map/variable.rb
cybrid_api_bank_ruby-0.123.122 vendor/bundle/ruby/3.3.0/gems/parser-3.3.6.0/lib/parser/source/map/variable.rb
cybrid_api_organization_ruby-0.123.122 vendor/bundle/ruby/3.3.0/gems/parser-3.3.6.0/lib/parser/source/map/variable.rb
cybrid_api_id_ruby-0.123.122 vendor/bundle/ruby/3.3.0/gems/parser-3.3.6.0/lib/parser/source/map/variable.rb
cybrid_api_bank_ruby-0.123.121 vendor/bundle/ruby/3.3.0/gems/parser-3.3.6.0/lib/parser/source/map/variable.rb
cybrid_api_id_ruby-0.123.121 vendor/bundle/ruby/3.3.0/gems/parser-3.3.6.0/lib/parser/source/map/variable.rb
cybrid_api_organization_ruby-0.123.121 vendor/bundle/ruby/3.3.0/gems/parser-3.3.6.0/lib/parser/source/map/variable.rb
cybrid_api_bank_ruby-0.123.120 vendor/bundle/ruby/3.3.0/gems/parser-3.3.6.0/lib/parser/source/map/variable.rb
cybrid_api_organization_ruby-0.123.120 vendor/bundle/ruby/3.3.0/gems/parser-3.3.6.0/lib/parser/source/map/variable.rb
cybrid_api_id_ruby-0.123.120 vendor/bundle/ruby/3.3.0/gems/parser-3.3.6.0/lib/parser/source/map/variable.rb
avalara_sdk-24.12.0 vendor/bundle/ruby/2.7.0/gems/parser-3.1.2.0/lib/parser/source/map/variable.rb
cybrid_api_bank_ruby-0.123.119 vendor/bundle/ruby/3.3.0/gems/parser-3.3.6.0/lib/parser/source/map/variable.rb
cybrid_api_organization_ruby-0.123.119 vendor/bundle/ruby/3.3.0/gems/parser-3.3.6.0/lib/parser/source/map/variable.rb
cybrid_api_id_ruby-0.123.119 vendor/bundle/ruby/3.3.0/gems/parser-3.3.6.0/lib/parser/source/map/variable.rb
cybrid_api_bank_ruby-0.123.118 vendor/bundle/ruby/3.3.0/gems/parser-3.3.6.0/lib/parser/source/map/variable.rb