void seeTag(HtmlDocument.Tag paramTag) {
   paramTag = paramTag.getElement();
   if (paramTag.getType() == 1) {
     if (HTML4.TABLE_ELEMENT.equals(paramTag)) {
       if (tables > 0) {
         ensureCellState();
       }
       tables += 1;
       state = 0;
     }
   }
   while ((tables <= 0) || (HTML4.FORM_ELEMENT.equals(paramTag))) {
     do {
       return;
       ensureTableState();
       if ((HTML4.TD_ELEMENT.equals(paramTag)) || (HTML4.TH_ELEMENT.equals(paramTag))) {
         state = 1;
         return;
       }
     } while (!HTML4.CAPTION_ELEMENT.equals(paramTag));
     state = 2;
     return;
   }
   ensureCellState();
 }
 void seeEndTag(HtmlDocument.EndTag paramEndTag) {
   int i = 1;
   paramEndTag = paramEndTag.getElement();
   if ((tables > 0) && (paramEndTag.getType() == 1)) {
     if ((!HTML4.TD_ELEMENT.equals(paramEndTag))
         && (!HTML4.TR_ELEMENT.equals(paramEndTag))
         && (!HTML4.TH_ELEMENT.equals(paramEndTag))) {
       break label58;
     }
     state = 0;
   }
   label58:
   do {
     return;
     if (HTML4.CAPTION_ELEMENT.equals(paramEndTag)) {
       state = 0;
       return;
     }
   } while (!HTML4.TABLE_ELEMENT.equals(paramEndTag));
   boolean bool;
   if (tables > 0) {
     bool = true;
     X.assertTrue(bool);
     tables -= 1;
     if (tables <= 0) {
       break label125;
     }
   }
   for (; ; ) {
     state = i;
     return;
     bool = false;
     break;
     label125:
     i = 0;
   }
 }