MCPcopy Create free account
hub / github.com/denoland/std / #error

Method #error

xml/_tokenizer.ts:398–405  ·  view source on GitHub ↗
(message: string)

Source from the content-addressed store, hash-verified

396 }
397
398 #error(message: string): never {
399 throw new XmlSyntaxError(
400 message,
401 this.#trackPosition
402 ? { line: this.#line, column: this.#column, offset: this.#offset }
403 : NO_POSITION,
404 );
405 }
406
407 #isIllegalLiteralChar(code: number): boolean {
408 return isIllegalXmlLiteralChar(code, this.#xml11);

Callers 11

#flushTextMethod · 0.95
#processEntityKeywordMethod · 0.95
#emitDeclarationMethod · 0.95
#captureTextMethod · 0.95
#captureCommentMethod · 0.95
#capturePIMethod · 0.95
#captureCDATAMethod · 0.95
processMethod · 0.95
finalizeMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected