class Pegasus::Nfa::ByteTransition
- Pegasus::Nfa::ByteTransition
- Pegasus::Nfa::Transition
- Reference
- Object
Overview
A transition that requires a single byte.
Defined in:
pegasus/nfa.crpegasus/nfa_to_dfa.cr
Constructors
-
.new(byte : UInt8)
Creates a new byte transition.
Instance Method Summary
-
#byte : UInt8
The byte used for the transition.
-
#char_states
Returns the characters this transition accepts for transitions.
Instance methods inherited from class Pegasus::Nfa::Transition
char_states
char_states
Constructor Detail
Instance Method Detail
def char_states
#
Description copied from class Pegasus::Nfa::Transition
Returns the characters this transition accepts for transitions.