about summary refs log tree commit diff stats
path: root/lib/chame0/chame/dombuilder.nim
blob: 5497b2d0b8d5a7d1834b587fdbfeba5189444bf1 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
import tags

type
  SetEncodingResult* = enum
    SET_ENCODING_CONTINUE, SET_ENCODING_STOP

  ParsedAttr*[Atom] = tuple
    prefix: NamespacePrefix
    namespace: Namespace
    name: Atom
    value: string

  DOMBuilderBase* = ref object of RootObj

  DOMBuilder*[Handle, Atom] = ref object of DOMBuilderBase