Class: RegularExpression::NFA::Transition::Epsilon

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



111
112
113
# File 'lib/regular_expression/nfa.rb', line 111

def state
  @state
end

Instance Method Details

#labelObject



112
113
114
# File 'lib/regular_expression/nfa.rb', line 112

def label
  "ε"
end