2001-06-06 20:40:57 +01:00
|
|
|
|
|
|
|
<!--
|
|
|
|
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
|
|
|
%
|
|
|
|
% Logtalk - Object oriented extension to Prolog
|
2006-02-10 17:44:05 +00:00
|
|
|
% Release 2.27.0
|
2001-06-06 20:40:57 +01:00
|
|
|
%
|
2006-02-10 17:44:05 +00:00
|
|
|
% Copyright (c) 1998-2006 Paulo Moura. All Rights Reserved.
|
2001-06-06 20:40:57 +01:00
|
|
|
%
|
|
|
|
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
|
|
|
-->
|
|
|
|
|
|
|
|
|
2005-04-23 00:57:45 +01:00
|
|
|
<!ELEMENT logtalk (entity, relations, predicates, remarks)>
|
2001-06-06 20:40:57 +01:00
|
|
|
|
|
|
|
|
2005-04-23 00:57:45 +01:00
|
|
|
<!ELEMENT entity (name, type, compilation, comment?, (parnames|parameters)?, author?, version?, date?, info*)>
|
2001-06-06 20:40:57 +01:00
|
|
|
|
|
|
|
<!ELEMENT name (#PCDATA)>
|
|
|
|
|
|
|
|
<!ELEMENT type (#PCDATA)>
|
|
|
|
|
|
|
|
<!ELEMENT compilation (#PCDATA)>
|
|
|
|
|
|
|
|
<!ELEMENT comment (#PCDATA)>
|
|
|
|
|
2005-04-23 00:57:45 +01:00
|
|
|
<!ELEMENT parnames (#PCDATA)>
|
|
|
|
|
|
|
|
<!ELEMENT parameters (parameter*)>
|
|
|
|
|
|
|
|
<!ELEMENT parameter (name, description)>
|
|
|
|
|
|
|
|
<!ELEMENT description (#PCDATA)>
|
|
|
|
|
2003-02-05 00:15:28 +00:00
|
|
|
<!ELEMENT author (#PCDATA)>
|
2001-06-06 20:40:57 +01:00
|
|
|
|
|
|
|
<!ELEMENT version (#PCDATA)>
|
|
|
|
|
|
|
|
<!ELEMENT date (#PCDATA)>
|
|
|
|
|
|
|
|
<!ELEMENT info (key, value)>
|
|
|
|
|
|
|
|
|
|
|
|
<!ELEMENT key (#PCDATA)>
|
|
|
|
|
|
|
|
<!ELEMENT value (#PCDATA)>
|
|
|
|
|
|
|
|
|
|
|
|
<!ELEMENT relations (implements*, imports*, extends*, instantiates*, specializes*, uses*, calls*)>
|
|
|
|
|
|
|
|
<!ELEMENT implements (name, scope, file)>
|
|
|
|
|
|
|
|
<!ELEMENT imports (name, scope, file)>
|
|
|
|
|
|
|
|
<!ELEMENT extends (name, scope, file)>
|
|
|
|
|
|
|
|
<!ELEMENT instantiates (name, scope, file)>
|
|
|
|
|
|
|
|
<!ELEMENT specializes (name, scope, file)>
|
|
|
|
|
|
|
|
<!ELEMENT uses (name, file)>
|
|
|
|
|
|
|
|
<!ELEMENT calls (name, file)>
|
|
|
|
|
|
|
|
|
|
|
|
<!ELEMENT scope (#PCDATA)>
|
|
|
|
|
|
|
|
<!ELEMENT file (#PCDATA)>
|
|
|
|
|
|
|
|
|
|
|
|
<!ELEMENT predicates (public, protected, private)>
|
|
|
|
|
|
|
|
|
|
|
|
<!ELEMENT public (predicate*)>
|
|
|
|
|
|
|
|
<!ELEMENT protected (predicate*)>
|
|
|
|
|
|
|
|
<!ELEMENT private (predicate*)>
|
|
|
|
|
|
|
|
|
2005-04-23 00:57:45 +01:00
|
|
|
<!ELEMENT predicate (name, scope, compilation, meta?, mode*, comment?, template?, (argnames|arguments)?, exceptions?, info*, examples?)>
|
2001-06-06 20:40:57 +01:00
|
|
|
|
|
|
|
<!ELEMENT meta (#PCDATA)>
|
|
|
|
|
|
|
|
<!ELEMENT mode (template, solutions)>
|
|
|
|
|
|
|
|
<!ELEMENT template (#PCDATA)>
|
|
|
|
|
|
|
|
<!ELEMENT solutions (#PCDATA)>
|
2004-06-06 23:46:45 +01:00
|
|
|
|
2005-04-23 00:57:45 +01:00
|
|
|
<!ELEMENT argnames (#PCDATA)>
|
|
|
|
|
|
|
|
<!ELEMENT arguments (argument*)>
|
|
|
|
|
|
|
|
<!ELEMENT argument (name, description)>
|
|
|
|
|
2004-06-06 23:46:45 +01:00
|
|
|
<!ELEMENT exceptions (exception*)>
|
|
|
|
|
|
|
|
<!ELEMENT exception (condition, term)>
|
|
|
|
|
|
|
|
<!ELEMENT condition (#PCDATA)>
|
|
|
|
|
|
|
|
<!ELEMENT term (#PCDATA)>
|
2005-04-23 00:57:45 +01:00
|
|
|
|
|
|
|
<!ELEMENT examples (example*)>
|
|
|
|
|
|
|
|
<!ELEMENT example (description, call, bindings)>
|
|
|
|
|
|
|
|
<!ELEMENT call (#PCDATA)>
|
|
|
|
|
|
|
|
<!ELEMENT bindings (#PCDATA)>
|
|
|
|
|
|
|
|
<!ELEMENT remarks (remark*)>
|
|
|
|
|
|
|
|
<!ELEMENT remark (topic, text)>
|
|
|
|
|
|
|
|
<!ELEMENT topic (#PCDATA)>
|
|
|
|
|
|
|
|
<!ELEMENT text (#PCDATA)>
|
|
|
|
|
|
|
|
|