source: java/FramclipsePlugin/src/main/resources/framscript.dtd @ 313

Last change on this file since 313 was 313, checked in by sz, 9 years ago

"flags" attribute added

  • Property svn:mime-type set to text/plain
File size: 1.1 KB
Line 
1<!ELEMENT framscript (type*)>
2
3<!ELEMENT type (description?,element*)>
4<!ATTLIST type name CDATA #REQUIRED>
5<!ATTLIST type context CDATA #REQUIRED>
6
7<!ELEMENT description (#PCDATA)>
8
9<!ELEMENT element (description?,arguments?)>
10<!ATTLIST element name CDATA #REQUIRED>
11
12<!-- "type" attribute in element:
13     - framscript scalar datatypes: "integer", "float", "string"
14     - object of unknown type: "Object"
15     - value of unknown type: "untyped" (this can be object or not)
16     - other names refer to object classes (as defined in <type> tags)
17-->
18
19<!ATTLIST element type CDATA #IMPLIED>
20
21<!ATTLIST element min CDATA #IMPLIED>
22<!ATTLIST element max CDATA #IMPLIED>
23<!ATTLIST element function (false|true) "false">
24<!ATTLIST element deprecated (false|true) "false">
25<!ATTLIST element default CDATA #IMPLIED>
26<!ATTLIST element flags CDATA #IMPLIED>
27
28<!-- important difference: no <arguments> tag means the argument number is not known
29                           empty <arguments> means the function does not accept arguments -->
30<!ELEMENT arguments (argument*)>
31
32<!ELEMENT argument (#PCDATA)>
33<!ATTLIST argument name CDATA #IMPLIED>
34<!ATTLIST argument type CDATA #IMPLIED>
Note: See TracBrowser for help on using the repository browser.