Sha256: d3c4f51b72943d60f8627dea4e2bc87378b1b609ed4599b8cfe74dbcd9120aa2

Contents?: true

Size: 403 Bytes

Versions: 7017

Compression:

Stored size: 403 Bytes

Contents

# frozen_string_literal: true

module Parser
  module Source

    class Map::Condition < Map
      attr_reader :keyword
      attr_reader :begin
      attr_reader :else
      attr_reader :end

      def initialize(keyword_l, begin_l, else_l, end_l, expression_l)
        @keyword = keyword_l
        @begin, @else, @end = begin_l, else_l, end_l

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