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

Method #getPiTarget

xml/_tokenizer.ts:559–565  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

557 }
558
559 #getPiTarget(): string {
560 const target = this.#piTargetPartial +
561 this.#buffer.slice(this.#piTargetStartIdx, this.#bufferIndex);
562 this.#piTargetStartIdx = -1;
563 this.#piTargetPartial = "";
564 return target;
565 }
566
567 #savePartialsBeforeReset(): void {
568 // Early return if no accumulators are active (common case)

Callers 1

processMethod · 0.95

Calls 1

sliceMethod · 0.45

Tested by

no test coverage detected