source: java/Framclipse/com.framsticks.framclipse/res/framscript.dtd @ 1324

Last change on this file since 1324 was 440, checked in by Mateusz Poszwa, 9 years ago
  • Updated Xtext-based Framclipse
  • Deleted previous version of Framclipse
  • Property svn:mime-type set to text/plain
File size: 1.4 KB
RevLine 
[13]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:
[315]13     - Framscript scalar datatypes: "integer", "float", "string"
[13]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">
[108]24<!ATTLIST element deprecated (false|true) "false">
[13]25<!ATTLIST element default CDATA #IMPLIED>
[315]26
27<!-- The full list of possible values for flags is defined and explained in param.h in Framsticks SDK:
28     https://www.framsticks.com/svn/framsticks/cpp/frams/param/param.h
29     Other related information can be found at http://www.framsticks.com/common/formatspec.html -->
[313]30<!ATTLIST element flags CDATA #IMPLIED>
[13]31
[315]32<!-- Important difference: no <arguments> tag means the argument number is not known
[13]33                           empty <arguments> means the function does not accept arguments -->
34<!ELEMENT arguments (argument*)>
35
36<!ELEMENT argument (#PCDATA)>
37<!ATTLIST argument name CDATA #IMPLIED>
38<!ATTLIST argument type CDATA #IMPLIED>
Note: See TracBrowser for help on using the repository browser.