Class: Mutant::Mutator::Node::Literal::Integer Private
- Inherits:
-
Mutant::Mutator::Node::Literal
- Object
- Mutant::Mutator
- Mutant::Mutator::Node
- Mutant::Mutator::Node::Literal
- Mutant::Mutator::Node::Literal::Integer
- Defined in:
- lib/mutant/mutator/node/literal/integer.rb
Overview
This class is part of a private API. You should avoid using this class if possible, as it may be removed or be changed in the future.
Mutator for integer literals
Defined Under Namespace
Classes: OverflowZone
Constant Summary collapse
- OVERFLOW_ZONES =
This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.
[ OverflowZone.new(name: :int8, boundary: 2**7, sentinel: 167), OverflowZone.new(name: :uint8, boundary: 2**8, sentinel: 467), OverflowZone.new(name: :int16, boundary: 2**15, sentinel: 55_487), OverflowZone.new(name: :uint16, boundary: 2**16, sentinel: 108_503), OverflowZone.new(name: :int32, boundary: 2**31, sentinel: 2_667_278_543), OverflowZone.new(name: :uint32, boundary: 2**32, sentinel: 7_980_081_959), OverflowZone.new(name: :int64, boundary: 2**63, sentinel: 15_508_464_536_481_899_903) ].freeze
Constants inherited from Mutant::Mutator::Node
Constants included from AST::Nodes
AST::Nodes::N_EMPTY, AST::Nodes::N_EMPTY_ARRAY, AST::Nodes::N_EMPTY_HASH, AST::Nodes::N_EMPTY_STRING, AST::Nodes::N_EMPTY_SUPER, AST::Nodes::N_FALSE, AST::Nodes::N_INFINITY, AST::Nodes::N_NAN, AST::Nodes::N_NEGATIVE_INFINITY, AST::Nodes::N_NIL, AST::Nodes::N_RAISE, AST::Nodes::N_SELF, AST::Nodes::N_TRUE, AST::Nodes::N_ZERO_FLOAT, AST::Nodes::N_ZERO_INTEGER, AST::Nodes::N_ZSUPER