Tokenizer.switchTo

void switchTo(State s) @nogc nothrow pure @safe

Set by the tree builder, while it processes a start tag (or before the input for fragments). For RCDATA, RAWTEXT and script data, the current start tag is the one that closes them.