Lines Matching refs:InternalState
67 * transitions. It is two dimensional: Stores a target {@code InternalState}
71 private final InternalState[][] stateTable;
79 private final InternalState[] defaultStateTable;
82 stateTable = new InternalState[MAX_STATES][MAX_CHARS];
83 defaultStateTable = new InternalState[MAX_STATES];
89 * Returns {@code InternalState.INTERNAL_ERROR_STATE} if there is no
99 * @return the state to move to or {@code InternalState.INTERNAL_ERROR_STATE}
101 InternalState getNextState(InternalState from, int currentChar) {
104 return InternalState.INTERNAL_ERROR_STATE;
108 return InternalState.INTERNAL_ERROR_STATE;
111 InternalState result = null;
118 return result != null ? result : InternalState.INTERNAL_ERROR_STATE;
121 void setExpression(String expr, InternalState from, InternalState to) {
144 private void fill(InternalState from, InternalState to) {
151 private void setDefaultDestination(InternalState from, InternalState to) {
162 private void setDestination(InternalState from, char chr, InternalState to) {
174 private void setRange(InternalState from, char start, char end,
175 InternalState to) {