MCPcopy Create free account
hub / github.com/denoland/std / onDeclaration

Method onDeclaration

xml/_parser.ts:640–656  ·  view source on GitHub ↗
(
    version: string,
    encoding: string | undefined,
    standalone: "yes" | "no" | undefined,
    line: number,
    column: number,
    offset: number,
  )

Source from the content-addressed store, hash-verified

638 }
639
640 onDeclaration(
641 version: string,
642 encoding: string | undefined,
643 standalone: "yes" | "no" | undefined,
644 line: number,
645 column: number,
646 offset: number,
647 ): void {
648 this.#callbacks.onDeclaration?.(
649 version,
650 encoding,
651 standalone,
652 line,
653 column,
654 offset,
655 );
656 }
657
658 onDoctype(
659 name: string,

Callers 1

#emitDeclarationMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected