Notes kind() getter is used to read TXmlNode.k field.

This commit is contained in:
Grzegorz Adam Hankiewicz
2013-07-19 23:25:22 +02:00
parent c0b78276e8
commit e7be3d873f

View File

@@ -24,7 +24,7 @@ type
PXmlAttributes* = PStringTable ## an alias for a string to string mapping
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:
fText: string
of xnElement: