class Pegasus::Nfa::ByteTransition

Overview

A transition that requires a single byte.

Defined in:

pegasus/nfa.cr
pegasus/nfa_to_dfa.cr

Constructors

Instance Method Summary

Instance methods inherited from class Pegasus::Nfa::Transition

char_states char_states

Constructor Detail

def self.new(byte : UInt8) #

Creates a new byte transition.


[View source]

Instance Method Detail

def byte : UInt8 #

The byte used for the transition.


[View source]
def char_states #
Description copied from class Pegasus::Nfa::Transition

Returns the characters this transition accepts for transitions.


[View source]