Sha256: cf2e69870191d6bb520fa9e9eddbe61603a1acc4fb86cd85cdf2c2c3e420086a

Contents?: true

Size: 693 Bytes

Versions: 63

Compression:

Stored size: 693 Bytes

Contents

# frozen_string_literal: true

module Mutant
  module AST
    # Singleton nodes
    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

63 entries across 63 versions & 1 rubygems

Version Path
mutant-0.11.13 lib/mutant/ast/nodes.rb
mutant-0.11.12 lib/mutant/ast/nodes.rb
mutant-0.11.11 lib/mutant/ast/nodes.rb
mutant-0.11.10 lib/mutant/ast/nodes.rb
mutant-0.11.9 lib/mutant/ast/nodes.rb
mutant-0.11.8 lib/mutant/ast/nodes.rb
mutant-0.11.7 lib/mutant/ast/nodes.rb
mutant-0.11.6 lib/mutant/ast/nodes.rb
mutant-0.11.5 lib/mutant/ast/nodes.rb
mutant-0.11.4 lib/mutant/ast/nodes.rb
mutant-0.11.3 lib/mutant/ast/nodes.rb
mutant-0.11.2 lib/mutant/ast/nodes.rb
mutant-0.11.1 lib/mutant/ast/nodes.rb
mutant-0.11.0 lib/mutant/ast/nodes.rb
mutant-0.10.35 lib/mutant/ast/nodes.rb
mutant-0.10.34 lib/mutant/ast/nodes.rb
mutant-0.10.33 lib/mutant/ast/nodes.rb
mutant-0.10.32 lib/mutant/ast/nodes.rb
mutant-0.10.31 lib/mutant/ast/nodes.rb
mutant-0.10.30 lib/mutant/ast/nodes.rb