This repository has been archived on 2023-08-20. You can view files and clone it, but cannot push or open issues or pull requests.
yap-6.3/Logtalk/xml/logtalk.dtd
pmoura 921e576877 Logtalk 2.21.0 files.
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1138 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2004-09-14 23:11:12 +00:00

90 lines
1.6 KiB
DTD

<!--
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%
% Logtalk - Object oriented extension to Prolog
% Release 2.21.0
%
% Copyright (c) 1998-2004 Paulo Moura. All Rights Reserved.
%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-->
<!ELEMENT logtalk (entity, relations, predicates)>
<!ELEMENT entity (name, type, compilation, comment?, author?, version?, date?, info*)>
<!ELEMENT name (#PCDATA)>
<!ELEMENT type (#PCDATA)>
<!ELEMENT compilation (#PCDATA)>
<!ELEMENT comment (#PCDATA)>
<!ELEMENT author (#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?, exceptions?, info*)>
<!ELEMENT meta (#PCDATA)>
<!ELEMENT mode (template, solutions)>
<!ELEMENT template (#PCDATA)>
<!ELEMENT solutions (#PCDATA)>
<!ELEMENT exceptions (exception*)>
<!ELEMENT exception (condition, term)>
<!ELEMENT condition (#PCDATA)>
<!ELEMENT term (#PCDATA)>