step

abstract fun step(state: Int, c: Int): Int

Returns the state obtained by reading the given char from the given state. Returns -1 if not obtaining any such state.

Return

the next state, -1 if no such transaction

Parameters

state

the last state

c

the input codepoint