Home
last modified time | relevance | path

Searched refs:onParseError (Results 1 – 7 of 7) sorted by relevance

/third_party/parse5/packages/parse5/lib/tokenizer/
Dpreprocessor.ts33 constructor(private handler: { onParseError?: ParserErrorHandler | null }) {}
61 if (this.handler.onParseError && this.lastErrOffset !== this.offset) {
63 this.handler.onParseError(this.getError(code));
215 this.handler.onParseError === null ||
Dindex.ts242 onParseError?: ParserErrorHandler | null; property
293 this.handler.onParseError?.(this.preprocessor.getError(code));
/third_party/parse5/packages/parse5/lib/parser/
Dindex.test.ts82 const onParseError = jest.fn(); constant
83 parse('<!doctype html><noscript>foo</noscript\r\n>', { onParseError });
85 expect(onParseError).not.toHaveBeenCalled();
Dindex.ts111 onParseError?: ParserErrorHandler | null; property
118 onParseError: null, constant
124 onParseError: ParserErrorHandler | null; property in Parser
141 this.onParseError = this.options.onParseError;
144 if (this.onParseError) {
240 if (!this.onParseError) return;
253 this.onParseError(err);
/third_party/parse5/test/utils/
Dgenerate-parsing-tests.ts91 onParseError: (err: ParserError): void => { constant
Dgenerate-tokenization-tests.ts78 onParseError(err: ParserError): void { method in TokenizeHandler
/third_party/vk-gl-cts/external/vulkan-docs/src/scripts/asciidoctor-chunker/
Dasciidoctor-chunker.js4onParseError=t.onParseError}_setErrorLocation(e){e.startLine=e.endLine=this.posTracker.line,e.star… property