Sha256: 8b1224840dc23807237c82b37d1457ddd9c68f76880ec836543fcd4a01e5156c

Contents?: true

Size: 307 Bytes

Versions: 7018

Compression:

Stored size: 307 Bytes

Contents

# frozen_string_literal: true

module Parser
  module Source

    class Map::Ternary < Map
      attr_reader :question
      attr_reader :colon

      def initialize(question_l, colon_l, expression_l)
        @question, @colon = question_l, colon_l

        super(expression_l)
      end
    end

  end
end

Version data entries

7,018 entries across 6,995 versions & 51 rubygems

Version Path
parser-2.6.2.1 lib/parser/source/map/ternary.rb
parser-2.6.2.0 lib/parser/source/map/ternary.rb
parser-2.6.0.0 lib/parser/source/map/ternary.rb
config_gems_initialization_aim-0.1.4 vendor/bundle/ruby/2.5.0/gems/config_gems_initialization_aim-0.1.1/vendor/bundle/ruby/2.5.0/gems/parser-2.5.3.0/lib/parser/source/map/ternary.rb
config_gems_initialization_aim-0.1.4 vendor/bundle/ruby/2.5.0/gems/parser-2.5.3.0/lib/parser/source/map/ternary.rb
config_gems_initialization_aim-0.1.3 vendor/bundle/ruby/2.5.0/gems/config_gems_initialization_aim-0.1.1/vendor/bundle/ruby/2.5.0/gems/parser-2.5.3.0/lib/parser/source/map/ternary.rb
config_gems_initialization_aim-0.1.3 vendor/bundle/ruby/2.5.0/gems/parser-2.5.3.0/lib/parser/source/map/ternary.rb
parser-2.5.3.0 lib/parser/source/map/ternary.rb
dirwatch-0.0.9 vendor/bundle/ruby/2.5.0/gems/parser-2.5.1.2/lib/parser/source/map/ternary.rb
parser-2.5.1.2 lib/parser/source/map/ternary.rb
parser-2.5.1.1 lib/parser/source/map/ternary.rb
vagrant-packet-0.1.1 vendor/bundle/ruby/2.4.0/gems/parser-2.5.1.0/lib/parser/source/map/ternary.rb
parser-2.5.1.0 lib/parser/source/map/ternary.rb
parser-2.5.0.5 lib/parser/source/map/ternary.rb
parser-2.5.0.3 lib/parser/source/map/ternary.rb
parser-2.5.0.2 lib/parser/source/map/ternary.rb
parser-2.5.0.1 lib/parser/source/map/ternary.rb
parser-2.5.0.0 lib/parser/source/map/ternary.rb