summaryrefslogtreecommitdiffstats
path: root/tcllib/modules/treeql/docs/api.dtd
diff options
context:
space:
mode:
Diffstat (limited to 'tcllib/modules/treeql/docs/api.dtd')
-rw-r--r--tcllib/modules/treeql/docs/api.dtd19
1 files changed, 19 insertions, 0 deletions
diff --git a/tcllib/modules/treeql/docs/api.dtd b/tcllib/modules/treeql/docs/api.dtd
new file mode 100644
index 0000000..6b6688e
--- /dev/null
+++ b/tcllib/modules/treeql/docs/api.dtd
@@ -0,0 +1,19 @@
+<!ENTITY % mu 'arg | bold | p' >
+<!ELEMENT api (title?, header?, group*, detail?)>
+<!ELEMENT title (#PCDATA)>
+<!ELEMENT header (#PCDATA | %mu;)*>
+<!ELEMENT detail (#PCDATA | %mu;)*>
+<!ELEMENT p (#PCDATA | %mu;)*>
+<!ELEMENT bold (#PCDATA)>
+
+<!ELEMENT group (name, header?, (method|function)*)>
+<!ELEMENT desc (#PCDATA)>
+<!ATTLIST group used CDATA #IMPLIED>
+
+<!ELEMENT method (object?, name, args, result, detail*)>
+<!ELEMENT function (name, args, result, detail*)>
+<!ELEMENT object (#PCDATA | arg)*>
+<!ELEMENT name (#PCDATA)>
+<!ELEMENT args (#PCDATA | %mu;)*>
+<!ELEMENT arg (#PCDATA)>
+<!ELEMENT result (#PCDATA | %mu;)*>