Class: Flexr::Automaton::Acceptance

Inherits:
Struct
  • Object
show all
Defined in:
lib/flexr/automaton/types.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#bol_onlyObject

Returns the value of attribute bol_only

Returns:

  • (Object)

    the current value of bol_only



5
6
7
# File 'lib/flexr/automaton/types.rb', line 5

def bol_only
  @bol_only
end

#end_anchorObject

Returns the value of attribute end_anchor

Returns:

  • (Object)

    the current value of end_anchor



5
6
7
# File 'lib/flexr/automaton/types.rb', line 5

def end_anchor
  @end_anchor
end

#pattern_indexObject

Returns the value of attribute pattern_index

Returns:

  • (Object)

    the current value of pattern_index



5
6
7
# File 'lib/flexr/automaton/types.rb', line 5

def pattern_index
  @pattern_index
end

#rule_indexObject

Returns the value of attribute rule_index

Returns:

  • (Object)

    the current value of rule_index



5
6
7
# File 'lib/flexr/automaton/types.rb', line 5

def rule_index
  @rule_index
end

Instance Method Details

#inspectObject



6
7
8
# File 'lib/flexr/automaton/types.rb', line 6

def inspect
  [rule_index, pattern_index, bol_only, end_anchor].inspect
end