root/trunk/xml/logtalk.dtd

Revision 4662, 2.5 KB (checked in by pmoura, 6 days ago)

Updated copyright notice.

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