Lines Matching refs:currentState
43 protected InternalState currentState; field in GenericParser
53 this.currentState = initialState; in GenericParser()
69 currentState = aGenericParser.currentState; in GenericParser()
109 parserStateTable.getNextState(currentState, input); in parse()
116 currentState.getName(), getState().getName()); in parse()
117 currentState = 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()
128 currentState = nextState; in parse()
143 if (!intToExtStateTable.containsKey(currentState)) { in getState()
145 "For internal state: " + currentState); in getState()
147 return intToExtStateTable.get(currentState); in getState()
155 currentState = initialState; in reset()
193 return currentState; in getCurrentInternalState()
205 if (currentState != nextState) { in setNextState()
206 nextState = handleExitState(currentState, nextState, nullChar); in setNextState()
208 if (currentState != nextState) { in setNextState()
211 currentState = nextState; in setNextState()
225 protected InternalState handleEnterState(InternalState currentState, in handleEnterState() argument
242 protected InternalState handleExitState(InternalState currentState, in handleExitState() argument
257 protected InternalState handleInState(InternalState currentState, in handleInState() argument
259 return currentState; in handleInState()