HtmlUnitParser
Defined in: packages/speculator/src/parse/html/parser.ts:65
HTML unit parser implementation using handler registry
Implements
Section titled “Implements”Constructors
Section titled “Constructors”Constructor
Section titled “Constructor”new HtmlUnitParser(
registry):HtmlUnitParser
Defined in: packages/speculator/src/parse/html/parser.ts:71
Parameters
Section titled “Parameters”registry
Section titled “registry”ParseHandlerRegistry = defaultRegistry
Returns
Section titled “Returns”HtmlUnitParser
Properties
Section titled “Properties”format
Section titled “format”
readonlyformat:"html"
Defined in: packages/speculator/src/parse/html/parser.ts:66
Format this parser handles
Implementation of
Section titled “Implementation of”Methods
Section titled “Methods”parse()
Section titled “parse()”Defined in: packages/speculator/src/parse/html/parser.ts:78
Parse HTML unit to AST blocks