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