Notes kind() getter is used to read TXmlNode.k field.
This commit is contained in:
parent
c0b78276e8
commit
e7be3d873f
1 changed files with 1 additions and 1 deletions
|
|
@ -24,7 +24,7 @@ type
|
||||||
PXmlAttributes* = PStringTable ## an alias for a string to string mapping
|
PXmlAttributes* = PStringTable ## an alias for a string to string mapping
|
||||||
|
|
||||||
TXmlNode {.pure, final, acyclic.} = object
|
TXmlNode {.pure, final, acyclic.} = object
|
||||||
case k: TXmlNodeKind
|
case k: TXmlNodeKind # private, use the kind() proc to read this field.
|
||||||
of xnText, xnComment, xnCData, xnEntity:
|
of xnText, xnComment, xnCData, xnEntity:
|
||||||
fText: string
|
fText: string
|
||||||
of xnElement:
|
of xnElement:
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue