Represents a state in the state machine generated by the LexEngine.
LexEngine
new ()
Creates a new State.
final:Int
The ids of the final states.
trans:Vector<State>
The transition vector, where the index corresponds to a char code.