Class: RegularExpression::NFA::Transition::BeginAnchor

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



56
57
58
# File 'lib/regular_expression/nfa.rb', line 56

def state
  @state
end

Instance Method Details

#labelObject



57
58
59
# File 'lib/regular_expression/nfa.rb', line 57

def label
  "\\A"
end