Sha256: 462419ea0f33fbdadf542fe58e103ce8607ea068e0a8c7ad780977b4917233cb

Contents?: true

Size: 697 Bytes

Versions: 6

Compression:

Stored size: 697 Bytes

Contents

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

6 entries across 6 versions & 1 rubygems

Version Path
mutant-0.8.16 lib/mutant/ast/nodes.rb
mutant-0.8.15 lib/mutant/ast/nodes.rb
mutant-0.8.14 lib/mutant/ast/nodes.rb
mutant-0.8.13 lib/mutant/ast/nodes.rb
mutant-0.8.12 lib/mutant/ast/nodes.rb
mutant-0.8.11 lib/mutant/ast/nodes.rb