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

Method onComment

xml/_parser.ts:605–613  ·  view source on GitHub ↗
(
    content: string,
    line: number,
    column: number,
    offset: number,
  )

Source from the content-addressed store, hash-verified

603 }
604
605 onComment(
606 content: string,
607 line: number,
608 column: number,
609 offset: number,
610 ): void {
611 if (this.#ignoreComments) return;
612 this.#callbacks.onComment?.(content, line, column, offset);
613 }
614
615 onProcessingInstruction(
616 target: string,

Callers 2

#captureCommentMethod · 0.80
processMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected