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

Interface XmlToken

xml/_tokenizer_test.ts:8–21  ·  view source on GitHub ↗

Token type for testing - recreates the old token structure for assertions.

Source from the content-addressed store, hash-verified

6
7/** Token type for testing - recreates the old token structure for assertions. */
8interface XmlToken {
9 type: string;
10 name?: string;
11 value?: string;
12 content?: string;
13 target?: string;
14 version?: string;
15 encoding?: string;
16 standalone?: "yes" | "no";
17 publicId?: string;
18 systemId?: string;
19 selfClosing?: boolean;
20 position?: { line: number; column: number; offset: number };
21}
22
23/** Creates callbacks that collect tokens into an array. */
24function createCollector(): {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected