MCPcopy Index your code
hub / github.com/fb55/htmlparser2 / parseComplete

Method parseComplete

src/Parser.ts:736–739  ·  view source on GitHub ↗

* Resets the parser, then parses a complete document and * pushes it to the handler. * @param data Document to parse.

(data: string)

Source from the content-addressed store, hash-verified

734 * @param data Document to parse.
735 */
736 parseComplete(data: string): void {
737 this.reset();
738 this.end(data);
739 }
740
741 private getSlice(start: number, end: number) {
742 if (start === end) {

Callers 1

runTestFunction · 0.95

Calls 2

resetMethod · 0.95
endMethod · 0.95

Tested by 1

runTestFunction · 0.76