boolean run() {
        while (true) {
          if (!nextState()) {
            // Handle last
            if (myEntryElement != null) {
              finishEntry();
            }
            return myHasErrors;
          }
          else if (myHasErrors) return true;
        }
      }
boolean run()