Class: RegularExpression::NFA::Transition::EndAnchor

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#stateObject

Returns the value of attribute state

Returns:

  • (Object)

    the current value of state



62
63
64
# File 'lib/regular_expression/nfa.rb', line 62

def state
  @state
end

Instance Method Details

#labelObject



63
64
65
# File 'lib/regular_expression/nfa.rb', line 63

def label
  "\\z"
end