On this page

  • {ParserClass}
new HtmlParser(): HtmlParser
Returns:<HtmlParser>
Attributes
context:<string>
hashFunction:<string> | <Hash>
magicCommentContext:
{Context}
outputModule:<boolean>
parse(source, state): ParserState
Attributes
source:<string> | <Buffer>
< <ArrayBufferLike> > | <PreparsedAst>

Parses the provided source and updates the parser state.