MCPcopy
hub / github.com/webpack/webpack / reportError

Function reportError

lib/html/syntax.js:421–425  ·  view source on GitHub ↗
(code, start, end, severity)

Source from the content-addressed store, hash-verified

419 * @param {ParseErrorSeverity} severity error severity
420 */
421 const reportError = (code, start, end, severity) => {
422 if (callbacks.parseError !== undefined) {
423 callbacks.parseError(input, code, start, end, severity);
424 }
425 };
426
427 /**
428 * Emits the WHATWG numeric-character-reference validation parse error for

Callers 3

validateNumericReferenceFunction · 0.70
emitCloseTagFunction · 0.70
walkHtmlTokensFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected