Class: RegularExpression::Bytecode::Insns::JumpValuesInvert

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 contained within the list of values, then do so and jump to the target instruction.

Instance Attribute Summary collapse

Instance Attribute Details

#charsObject

Returns the value of attribute chars

Returns:

  • (Object)

    the current value of chars



116
117
118
# File 'lib/regular_expression/bytecode.rb', line 116

def chars
  @chars
end

#targetObject

Returns the value of attribute target

Returns:

  • (Object)

    the current value of target



116
117
118
# File 'lib/regular_expression/bytecode.rb', line 116

def target
  @target
end