2001-06-06 20:40:57 +01:00
|
|
|
|
|
|
|
<!--
|
|
|
|
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
|
|
|
%
|
|
|
|
% Logtalk - Object oriented extension to Prolog
|
2002-08-01 00:34:42 +01:00
|
|
|
% Release 2.14.1
|
2001-06-06 20:40:57 +01:00
|
|
|
%
|
2002-01-08 00:05:10 +00:00
|
|
|
% Copyright (c) 1998-2002 Paulo Moura. All Rights Reserved.
|
2001-06-06 20:40:57 +01:00
|
|
|
%
|
|
|
|
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
|
|
|
-->
|
|
|
|
|
|
|
|
|
|
|
|
<!ELEMENT logtalk (entity, relations, predicates)>
|
|
|
|
|
|
|
|
|
|
|
|
<!ELEMENT entity (name, type, compilation, comment?, authors?, version?, date?, info*)>
|
|
|
|
|
|
|
|
<!ELEMENT name (#PCDATA)>
|
|
|
|
|
|
|
|
<!ELEMENT type (#PCDATA)>
|
|
|
|
|
|
|
|
<!ELEMENT compilation (#PCDATA)>
|
|
|
|
|
|
|
|
<!ELEMENT comment (#PCDATA)>
|
|
|
|
|
|
|
|
<!ELEMENT authors (#PCDATA)>
|
|
|
|
|
|
|
|
<!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*)>
|
|
|
|
|
|
|
|
|
|
|
|
<!ELEMENT predicate (name, scope, compilation, meta?, mode*, comment?, template?, info*)>
|
|
|
|
|
|
|
|
<!ELEMENT meta (#PCDATA)>
|
|
|
|
|
|
|
|
<!ELEMENT mode (template, solutions)>
|
|
|
|
|
|
|
|
<!ELEMENT template (#PCDATA)>
|
|
|
|
|
|
|
|
<!ELEMENT solutions (#PCDATA)>
|