// Path: src/main/java/ch/digitalfondue/jfiveparse/TreeConstructor.java
// static final byte CHARACTER = 0;
// 
// Path: src/main/java/ch/digitalfondue/jfiveparse/TreeConstructor.java
// static final byte COMMENT = 1;
// 
// Path: src/main/java/ch/digitalfondue/jfiveparse/TreeConstructor.java
// static final byte DOCTYPE = 2;
// 
// Path: src/main/java/ch/digitalfondue/jfiveparse/TreeConstructor.java
// static final byte END_TAG = 4;
// 
// Path: src/main/java/ch/digitalfondue/jfiveparse/TreeConstructor.java
// static final byte EOF = 3;
// 
// Path: src/main/java/ch/digitalfondue/jfiveparse/TreeConstructor.java
// static final byte START_TAG = 5;


import static ch.digitalfondue.jfiveparse.TreeConstructor.CHARACTER;
import static ch.digitalfondue.jfiveparse.TreeConstructor.COMMENT;
import static ch.digitalfondue.jfiveparse.TreeConstructor.DOCTYPE;
import static ch.digitalfondue.jfiveparse.TreeConstructor.END_TAG;
import static ch.digitalfondue.jfiveparse.TreeConstructor.EOF;
import static ch.digitalfondue.jfiveparse.TreeConstructor.START_TAG;
                treeConstructor.emitParseError();
                // ignore
            }

        } else if (Common.isEndTagNamed(tokenType, "option", tagName)) {
            if (Common.isHtmlNS(treeConstructor.getCurrentNode(), "option")) {
                treeConstructor.popCurrentNode();
            } else {
                treeConstructor.emitParseError();
                // ignore
            }
        } else if (Common.isEndTagNamed(tokenType, "select", tagName)) {
            if (!treeConstructor.hasElementInSelectScope("select")) {
                treeConstructor.emitParseError();
                // ignore
            } else {
                treeConstructor.popOpenElementsUntilWithHtmlNS("select");
                treeConstructor.resetInsertionModeAppropriately();
            }
        } else if (Common.isStartTagNamed(tokenType, "select", tagName)) {
            treeConstructor.emitParseError();
            if (!treeConstructor.hasElementInSelectScope("select")) {
                // ignore
            } else {
                treeConstructor.popOpenElementsUntilWithHtmlNS("select");
                treeConstructor.resetInsertionModeAppropriately();
            }
        } else if (tokenType == START_TAG && ("input".equals(tagName) || //
                "keygen".equals(tagName) || //
                "textarea".equals(tagName))) {
// Path: src/main/java/ch/digitalfondue/jfiveparse/TreeConstructor.java
// static final byte CHARACTER = 0;
// 
// Path: src/main/java/ch/digitalfondue/jfiveparse/TreeConstructor.java
// static final byte COMMENT = 1;
// 
// Path: src/main/java/ch/digitalfondue/jfiveparse/TreeConstructor.java
// static final byte DOCTYPE = 2;
// 
// Path: src/main/java/ch/digitalfondue/jfiveparse/TreeConstructor.java
// static final byte END_TAG = 4;
// 
// Path: src/main/java/ch/digitalfondue/jfiveparse/TreeConstructor.java
// static final byte EOF = 3;
// 
// Path: src/main/java/ch/digitalfondue/jfiveparse/TreeConstructor.java
// static final byte START_TAG = 5;


// Path: src/main/java/ch/digitalfondue/jfiveparse/TreeConstructorInFramesetSelectTemplate.java
import static ch.digitalfondue.jfiveparse.TreeConstructor.CHARACTER;
import static ch.digitalfondue.jfiveparse.TreeConstructor.COMMENT;
import static ch.digitalfondue.jfiveparse.TreeConstructor.DOCTYPE;
import static ch.digitalfondue.jfiveparse.TreeConstructor.END_TAG;
import static ch.digitalfondue.jfiveparse.TreeConstructor.EOF;
import static ch.digitalfondue.jfiveparse.TreeConstructor.START_TAG;

                treeConstructor.emitParseError();
                // ignore
            }

        } else if (Common.isEndTagNamed(tokenType, "option", tagName)) {
            if (Common.isHtmlNS(treeConstructor.getCurrentNode(), "option")) {
                treeConstructor.popCurrentNode();
            } else {
                treeConstructor.emitParseError();
                // ignore
            }
        } else if (Common.isEndTagNamed(tokenType, "select", tagName)) {
            if (!treeConstructor.hasElementInSelectScope("select")) {
                treeConstructor.emitParseError();
                // ignore
            } else {
                treeConstructor.popOpenElementsUntilWithHtmlNS("select");
                treeConstructor.resetInsertionModeAppropriately();
            }
        } else if (Common.isStartTagNamed(tokenType, "select", tagName)) {
            treeConstructor.emitParseError();
            if (!treeConstructor.hasElementInSelectScope("select")) {
                // ignore
            } else {
                treeConstructor.popOpenElementsUntilWithHtmlNS("select");
                treeConstructor.resetInsertionModeAppropriately();
            }
        } else if (tokenType == START_TAG && ("input".equals(tagName) || //
                "keygen".equals(tagName) || //
                "textarea".equals(tagName))) {
            treeConstructor.emitParseError();