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 default CDATA #IMPLIED> |
---|
25 | |
---|
26 | <!-- important difference: no <arguments> tag means the argument number is not known |
---|
27 | empty <arguments> means the function does not accept arguments --> |
---|
28 | <!ELEMENT arguments (argument*)> |
---|
29 | |
---|
30 | <!ELEMENT argument (#PCDATA)> |
---|
31 | <!ATTLIST argument name CDATA #IMPLIED> |
---|
32 | <!ATTLIST argument type CDATA #IMPLIED> |
---|