Sha256: b513abedbdc3bd2288a7e41b543ff4254488f803a942befca954eb22c04993f3

Contents?: true

Size: 728 Bytes

Versions: 8

Compression:

Stored size: 728 Bytes

Contents

# frozen_string_literal: true

module Mutant
  module AST
    # Singleton nodes
    #
    # :reek:TooManyConstants
    module Nodes
      extend Sexp

      N_NAN               = s(:send, s(:float,  0.0), :/, s(:float, 0.0))
      N_INFINITY          = s(:send, s(:float,  1.0), :/, s(:float, 0.0))
      N_NEGATIVE_INFINITY = s(:send, s(:float, -1.0), :/, s(:float, 0.0))
      N_RAISE             = s(:send, nil, :raise)
      N_TRUE              = s(:true)
      N_FALSE             = s(:false)
      N_NIL               = s(:nil)
      N_EMPTY             = s(:empty)
      N_SELF              = s(:self)
      N_ZSUPER            = s(:zsuper)
      N_EMPTY_SUPER       = s(:super)

    end # Nodes
  end # AST
end # Mutant

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
mutant-0.8.24 lib/mutant/ast/nodes.rb
mutant-0.8.23 lib/mutant/ast/nodes.rb
mutant-0.8.22 lib/mutant/ast/nodes.rb
mutant-0.8.21 lib/mutant/ast/nodes.rb
mutant-0.8.20 lib/mutant/ast/nodes.rb
mutant-0.8.19 lib/mutant/ast/nodes.rb
mutant-0.8.18 lib/mutant/ast/nodes.rb
mutant-0.8.17 lib/mutant/ast/nodes.rb