- {ParserClass}
new HtmlParser(): HtmlParserReturns:
<HtmlParser>Attributes
parse(source, state): voidsource{string|Buffer< ArrayBufferLike >|PreparsedAst}state<ParserState>- Returns:
<ParserState>
Parses the provided source and updates the parser state.