code: protected void parseEnd() {
          while (TokenType.EOF != tokenizer.next()) {
              if (tokenizer.getTokenType() == TokenType.COMMENT
                      && isEndComment(tokenizer.getToken())) {
  
                  pop();
                  return;
              }
              parseToken();
          }
          throw new TwoWaySQLException(String.format(
                  "END comment of %s not found.", tokenizer.getSql()));
      }
docs: Parse an END node.