Home | History | Annotate | Download | only in impl

Lines Matching full:state

22  * Holds a state table which is defined as the set of all
23 * recognized state transitions and the set of characters that
26 * <p>The logic of what character causes what state transition is derived from
30 * <p>This class provides methods to initially build the state table and then
33 * <p>Note on characters outside the extended ASCII range: Currently, all state
36 * U+00FF]. We use that property to design a more efficient state transition
38 * simply apply the DEFAULT transition for the given state - as we do for any
39 * character that is not a hot character for that state. If no default
40 * transition exists, we switch to the Internal Error state.
46 * any incorrect state transitions.
54 * A limit on how many different states we can have in one state table.
66 * Records all state transitions except those identified as DEFAULT
68 * given a source state (referenced by its numeric ID) and the current
74 * Records all DEFAULT state transitions. These are transitions provided
76 * There can be only one such transition for any given source state, hence
87 * Returns the state to go to when receiving the current {@code char}
88 * in the {@code from} state.
90 * state transition for that character and no default state transition
91 * for that state.
93 * <p>For ASCII characters, first look-up an explicit state transition for
97 * @param from the source state
99 * @return the state to move to or {@code InternalState.INTERNAL_ERROR_STATE}
126 // This special string indicates a default state transition.
158 // TODO: Consider asserting if there was a state transition defined.