Solar_Json_Checker::_setStateTransitionTable()

protected void; Solar_Json_Checker::_setStateTransitionTable ( void )

The state transition table takes the current state and the current symbol, and returns either a new state or an action.

Parameters

  • None.

Returns

  • (void;)

Description

The state transition table takes the current state and the current symbol, and returns either a new state or an action.

A new state is a number between 0 and 29. An action is a negative number between -1 and -9. A JSON text is accepted if the end of the text is in state 9 and mode is MODE_DONE.



Local