Lines Matching refs:nextState
108 InternalState nextState = in parse() local
111 if (nextState == InternalState.INTERNAL_ERROR_STATE) { in parse()
121 if (currentState != nextState) { in parse()
122 nextState = handleExitState(currentState, nextState, input); in parse()
124 if (currentState != nextState) { in parse()
125 nextState = handleEnterState(nextState, nextState, input); in parse()
127 nextState = handleInState(nextState, input); in parse()
128 currentState = nextState; in parse()
196 protected void setNextState(InternalState nextState) throws ParseException { in setNextState() argument
197 Preconditions.checkNotNull(nextState); // Developer error if it triggers. in setNextState()
205 if (currentState != nextState) { in setNextState()
206 nextState = handleExitState(currentState, nextState, nullChar); in setNextState()
208 if (currentState != nextState) { in setNextState()
209 handleEnterState(nextState, nextState, nullChar); in setNextState()
211 currentState = nextState; in setNextState()