class

Ansi::ParserTransition::TransitionTable

Inherits Reference < Object

Constructors

new(size : Int32 = DefaultTableSize)
Source

Instance methods

add_many(codes : Array(UInt8), state : State, action : Action, next_state : State)
Source
add_one(code : UInt8, state : State, action : Action, next_state : State)
Source
add_range(start_code : UInt8, end_code : UInt8, state : State, action : Action, next_state : State)
Source
set_default(action : Action, state : State)
Source
transition(state : State, code : UInt8) : Tuple(State, Action)
Source