root/tags/lgt2310/xml/logtalk.dtd

Revision 3941, 2.4 KB (checked in by pmoura, 13 months ago)

Updated release number to 2.31.0 due to the incompatible changes in this version regarding compiler hooks.

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
Line 
1
2<!--
3%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
4%
5%  Logtalk - Open source object-oriented logic programming language
6%  Release 2.31.0
7%
8%  Copyright (c) 1998-2007 Paulo Moura.  All Rights Reserved.
9%
10%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
11-->
12
13
14<!ELEMENT logtalk (entity, relations, predicates, remarks)>
15
16
17<!ELEMENT entity (name, type, compilation, comment?, (parnames|parameters)?, author?, version?, date?, copyright?, license?, info*)>
18
19<!ELEMENT name (#PCDATA)>
20
21<!ELEMENT type (#PCDATA)>
22
23<!ELEMENT compilation (#PCDATA)>
24
25<!ELEMENT comment (#PCDATA)>
26
27<!ELEMENT parnames (#PCDATA)>
28
29<!ELEMENT parameters (parameter*)>
30
31<!ELEMENT parameter (name, description)>
32
33<!ELEMENT description (#PCDATA)>
34
35<!ELEMENT author (#PCDATA)>
36
37<!ELEMENT version (#PCDATA)>
38
39<!ELEMENT date (#PCDATA)>
40
41<!ELEMENT copyright (#PCDATA)>
42
43<!ELEMENT license (#PCDATA)>
44
45<!ELEMENT info (key, value)>
46
47
48<!ELEMENT key (#PCDATA)>
49
50<!ELEMENT value (#PCDATA)>
51
52
53<!ELEMENT relations (implements*, imports*, extends*, instantiates*, specializes*, uses*, calls*)>
54
55<!ELEMENT implements (name, scope, file)>
56
57<!ELEMENT imports (name, scope, file)>
58
59<!ELEMENT extends (name, scope, file)>
60
61<!ELEMENT instantiates (name, scope, file)>
62
63<!ELEMENT specializes (name, scope, file)>
64
65<!ELEMENT uses (name, file)>
66
67<!ELEMENT calls (name, file)>
68
69
70<!ELEMENT scope (#PCDATA)>
71
72<!ELEMENT file (#PCDATA)>
73
74
75<!ELEMENT predicates (public, protected, private)>
76
77
78<!ELEMENT public (predicate*)>
79
80<!ELEMENT protected (predicate*)>
81
82<!ELEMENT private (predicate*)>
83
84
85<!ELEMENT predicate (name, scope, compilation, meta?, mode*, comment?, template?, (argnames|arguments)?, exceptions?, info*, examples?)>
86
87<!ELEMENT meta (#PCDATA)>
88
89<!ELEMENT mode (template, solutions)>
90
91<!ELEMENT template (#PCDATA)>
92
93<!ELEMENT solutions (#PCDATA)>
94
95<!ELEMENT argnames (#PCDATA)>
96
97<!ELEMENT arguments (argument*)>
98
99<!ELEMENT argument (name, description)>
100
101<!ELEMENT exceptions (exception*)>
102
103<!ELEMENT exception (condition, term)>
104
105<!ELEMENT condition (#PCDATA)>
106
107<!ELEMENT term (#PCDATA)>
108
109<!ELEMENT examples (example*)>
110
111<!ELEMENT example (description, call, bindings)>
112
113<!ELEMENT call (#PCDATA)>
114
115<!ELEMENT bindings (#PCDATA)>
116
117<!ELEMENT remarks (remark*)>
118
119<!ELEMENT remark (topic, text)>
120
121<!ELEMENT topic (#PCDATA)>
122
123<!ELEMENT text (#PCDATA)>
124
125
126<!ENTITY % custom SYSTEM "custom.ent">
127
128%custom;
Note: See TracBrowser for help on using the browser.