示例#1
0
 private void handleNonAcceptState() {
   if (dfa.isInErrorState()) handleErrorState();
   else if (dfa.isInSpaceState()) dfa.reset();
 }
示例#2
0
 private void removeSpaces() {
   while (handler.hasChars() && handler.isAtSpaceChar() && dfa.isInSpaceState())
     processNextChar(handler.getCurrentChar());
 }