1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
|
<?xml version="1.0" encoding="ISO-8859-1"?>
<!-- EDoc DTD Version 0.3 -->
<!ELEMENT overview (title, description?, author*, copyright?, version?,
since?, see*, reference*, todo?, packages, modules)>
<!ATTLIST overview
root CDATA #IMPLIED>
<!ELEMENT title (#PCDATA)>
<!ELEMENT package (description?, author*, copyright?, version?,
since?, deprecated?, see*, reference*, todo?,
modules)>
<!ATTLIST package
name CDATA #REQUIRED
root CDATA #IMPLIED>
<!ELEMENT modules (module+)>
<!ELEMENT module (args?, description?, author*, copyright?, version?,
since?, deprecated?, see*, reference*, todo?,
behaviour*, callbacks?, typedecls?, functions)>
<!ATTLIST module
name CDATA #REQUIRED
private (yes | no) #IMPLIED
hidden (yes | no) #IMPLIED
root CDATA #IMPLIED>
<!ELEMENT description (briefDescription, fullDescription?)>
<!ELEMENT briefDescription (#PCDATA)>
<!ELEMENT fullDescription (#PCDATA)>
<!ELEMENT author EMPTY>
<!ATTLIST author
name CDATA #REQUIRED
email CDATA #IMPLIED
website CDATA #IMPLIED>
<!ELEMENT copyright (#PCDATA)>
<!ELEMENT version (#PCDATA)>
<!ELEMENT since (#PCDATA)>
<!ELEMENT deprecated (description)>
<!ELEMENT see (#PCDATA)>
<!ATTLIST see
name CDATA #REQUIRED
href CDATA #IMPLIED>
<!ELEMENT reference (#PCDATA)>
<!ELEMENT todo (#PCDATA)>
<!ELEMENT behaviour (#PCDATA)>
<!ATTLIST behaviour
href CDATA #IMPLIED>
<!ELEMENT callbacks (callback+)>
<!ELEMENT callback EMPTY>
<!ATTLIST callback
name CDATA #REQUIRED
arity CDATA #REQUIRED>
<!ELEMENT typedecls (typedecl+)>
<!ELEMENT typedecl (typedef, description?)>
<!ATTLIST typedecl
label CDATA #IMPLIED>
<!ELEMENT functions (function+)>
<!ELEMENT function (args, typespec?, returns?, throws?, equiv?,
description?, since?, deprecated?, see*, todo?)>
<!ATTLIST function
name CDATA #REQUIRED
arity CDATA #REQUIRED
exported (yes | no) #IMPLIED
label CDATA #IMPLIED>
<!ELEMENT args (arg*)>
<!ELEMENT arg (argName, description?)>
<!ELEMENT argName (#PCDATA)>
<!ELEMENT throws (type, localdef*)>
<!ELEMENT returns (description)>
<!ELEMENT equiv (expr, see?)>
<!ELEMENT expr (#PCDATA)>
<!ELEMENT erlangName EMPTY>
<!ATTLIST erlangName
app CDATA #IMPLIED
module CDATA #IMPLIED
name CDATA #REQUIRED>
<!-- Data type specifications -->
<!ELEMENT typedef (erlangName, argtypes, type?, localdef*)>
<!ELEMENT typespec (erlangName, type, localdef*)>
<!ELEMENT localdef ((typevar | abstype), type)>
<!ATTLIST localdef label CDATA #IMPLIED>
<!ELEMENT argtypes (type*)>
<!ELEMENT type (typevar | atom | integer | float | nil | list | tuple |
fun | record | abstype | union)>
<!ATTLIST type name CDATA #IMPLIED>
<!ELEMENT union (typevar | atom | integer | float | nil | list | tuple |
fun | record | abstype)+>
<!ELEMENT typevar EMPTY>
<!ATTLIST typevar name CDATA #REQUIRED>
<!ELEMENT atom EMPTY>
<!ATTLIST atom value CDATA #REQUIRED>
<!ELEMENT integer EMPTY>
<!ATTLIST integer value CDATA #REQUIRED>
<!ELEMENT float EMPTY>
<!ATTLIST float value CDATA #REQUIRED>
<!ELEMENT nil EMPTY>
<!ELEMENT list (type)>
<!ELEMENT tuple (type*)>
<!ELEMENT fun (argtypes, type)>
<!ELEMENT record (atom, field*)>
<!ELEMENT field (atom, type)>
<!ELEMENT abstype (erlangName, type*)>
<!ATTLIST abstype
href CDATA #IMPLIED>
|