MCPcopy Create free account
hub / github.com/Effect-TS/effect / qnameColon

Method qnameColon

packages/effect/src/encoding/Xml.ts:1912–1916  ·  view source on GitHub ↗
(kind: "element" | "attribute", name: string, i: number)

Source from the content-addressed store, hash-verified

1910 }
1911
1912 private qnameColon(kind: "element" | "attribute", name: string, i: number): number {
1913 const colon = qnameColon(name)
1914 if (colon === -2) throw this.syntax(`${kind} name ${name} is not a qualified name`, i)
1915 return colon
1916 }
1917
1918 private endElement(name: string): EndElement {
1919 if (!this.namespaces) return { _tag: "EndElement", name }

Callers 1

openScopeMethod · 0.95

Calls 2

syntaxMethod · 0.95
qnameColonFunction · 0.85

Tested by

no test coverage detected