(kind: "element" | "attribute", name: string, i: number)
| 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 } |
no test coverage detected