Class: RegularExpression::Bytecode::Insns::JumpRangeInvert

Inherits:
Struct
  • Object
show all
Defined in:
lib/regular_expression/bytecode.rb

Overview

If it’s possible to read a character off the input and that character is not within the range of possible values, then do so and jump to the target instruction.

Instance Attribute Summary collapse

Instance Attribute Details

#leftObject

Returns the value of attribute left

Returns:

  • (Object)

    the current value of left



126
127
128
# File 'lib/regular_expression/bytecode.rb', line 126

def left
  @left
end

#rightObject

Returns the value of attribute right

Returns:

  • (Object)

    the current value of right



126
127
128
# File 'lib/regular_expression/bytecode.rb', line 126

def right
  @right
end

#targetObject

Returns the value of attribute target

Returns:

  • (Object)

    the current value of target



126
127
128
# File 'lib/regular_expression/bytecode.rb', line 126

def target
  @target
end