(text: string)
| 13 | }) |
| 14 | const end = (name: string): Xml.Event => ({ _tag: "EndElement", name }) |
| 15 | const text = (text: string): Xml.Event => ({ _tag: "Text", text }) |
| 16 | const comment = (text: string): Xml.Event => ({ _tag: "Comment", text }) |
| 17 | const pi = (target: string, data: string): Xml.Event => ({ _tag: "ProcessingInstruction", target, data }) |
| 18 |