Interface TokenHandler

interface TokenHandler {
    onParseError?: null | ParserErrorHandler;
    onCharacter(token): void;
    onComment(token): void;
    onDoctype(token): void;
    onEndTag(token): void;
    onEof(token): void;
    onNullCharacter(token): void;
    onStartTag(token): void;
    onWhitespaceCharacter(token): void;
}

Implemented by

Properties

onParseError?: null | ParserErrorHandler

Methods

Generated using TypeDoc