Andrew Top | 61a8495 | 2019-04-30 15:07:33 -0700 | [diff] [blame] | 1 | <?xml version="1.0" encoding="UTF-8"?> |
| 2 | <!DOCTYPE Definitions SYSTEM "widlprocxml.dtd"> |
| 3 | <Definitions> |
| 4 | <webidl>interface Primitives { |
| 5 | attribute boolean truth; |
| 6 | attribute byte character; |
| 7 | attribute octet value; |
| 8 | attribute short number; |
| 9 | attribute unsigned short positive; |
| 10 | attribute long big; |
| 11 | attribute unsigned long bigpositive; |
| 12 | attribute long long bigbig; |
| 13 | attribute unsigned long long bigbigpositive; |
| 14 | attribute float real; |
| 15 | attribute double bigreal; |
| 16 | attribute unrestricted float realwithinfinity; |
| 17 | attribute unrestricted double bigrealwithinfinity; |
| 18 | attribute DOMString string; |
| 19 | attribute ByteString bytes; |
| 20 | attribute Date date; |
| 21 | attribute RegExp regexp; |
| 22 | };</webidl> |
| 23 | <Interface name="Primitives" id="::Primitives"> |
| 24 | <webidl>interface Primitives { |
| 25 | attribute boolean truth; |
| 26 | attribute byte character; |
| 27 | attribute octet value; |
| 28 | attribute short number; |
| 29 | attribute unsigned short positive; |
| 30 | attribute long big; |
| 31 | attribute unsigned long bigpositive; |
| 32 | attribute long long bigbig; |
| 33 | attribute unsigned long long bigbigpositive; |
| 34 | attribute float real; |
| 35 | attribute double bigreal; |
| 36 | attribute unrestricted float realwithinfinity; |
| 37 | attribute unrestricted double bigrealwithinfinity; |
| 38 | attribute DOMString string; |
| 39 | attribute ByteString bytes; |
| 40 | attribute Date date; |
| 41 | attribute RegExp regexp; |
| 42 | };</webidl> |
| 43 | <Attribute name="truth" id="::Primitives::truth"> |
| 44 | <webidl> attribute boolean truth;</webidl> |
| 45 | <Type type="boolean"/> |
| 46 | </Attribute> |
| 47 | <Attribute name="character" id="::Primitives::character"> |
| 48 | <webidl> attribute byte character;</webidl> |
| 49 | <Type type="byte"/> |
| 50 | </Attribute> |
| 51 | <Attribute name="value" id="::Primitives::value"> |
| 52 | <webidl> attribute octet value;</webidl> |
| 53 | <Type type="octet"/> |
| 54 | </Attribute> |
| 55 | <Attribute name="number" id="::Primitives::number"> |
| 56 | <webidl> attribute short number;</webidl> |
| 57 | <Type type="short"/> |
| 58 | </Attribute> |
| 59 | <Attribute name="positive" id="::Primitives::positive"> |
| 60 | <webidl> attribute unsigned short positive;</webidl> |
| 61 | <Type type="unsigned short"/> |
| 62 | </Attribute> |
| 63 | <Attribute name="big" id="::Primitives::big"> |
| 64 | <webidl> attribute long big;</webidl> |
| 65 | <Type type="long"/> |
| 66 | </Attribute> |
| 67 | <Attribute name="bigpositive" id="::Primitives::bigpositive"> |
| 68 | <webidl> attribute unsigned long bigpositive;</webidl> |
| 69 | <Type type="unsigned long"/> |
| 70 | </Attribute> |
| 71 | <Attribute name="bigbig" id="::Primitives::bigbig"> |
| 72 | <webidl> attribute long long bigbig;</webidl> |
| 73 | <Type type="long long"/> |
| 74 | </Attribute> |
| 75 | <Attribute name="bigbigpositive" id="::Primitives::bigbigpositive"> |
| 76 | <webidl> attribute unsigned long long bigbigpositive;</webidl> |
| 77 | <Type type="unsigned long long"/> |
| 78 | </Attribute> |
| 79 | <Attribute name="real" id="::Primitives::real"> |
| 80 | <webidl> attribute float real;</webidl> |
| 81 | <Type type="float"/> |
| 82 | </Attribute> |
| 83 | <Attribute name="bigreal" id="::Primitives::bigreal"> |
| 84 | <webidl> attribute double bigreal;</webidl> |
| 85 | <Type type="double"/> |
| 86 | </Attribute> |
| 87 | <Attribute name="realwithinfinity" id="::Primitives::realwithinfinity"> |
| 88 | <webidl> attribute unrestricted float realwithinfinity;</webidl> |
| 89 | <Type type="unrestricted float"/> |
| 90 | </Attribute> |
| 91 | <Attribute name="bigrealwithinfinity" id="::Primitives::bigrealwithinfinity"> |
| 92 | <webidl> attribute unrestricted double bigrealwithinfinity;</webidl> |
| 93 | <Type type="unrestricted double"/> |
| 94 | </Attribute> |
| 95 | <Attribute name="string" id="::Primitives::string"> |
| 96 | <webidl> attribute DOMString string;</webidl> |
| 97 | <Type type="DOMString"/> |
| 98 | </Attribute> |
| 99 | <Attribute name="bytes" id="::Primitives::bytes"> |
| 100 | <webidl> attribute ByteString bytes;</webidl> |
| 101 | <Type type="ByteString"/> |
| 102 | </Attribute> |
| 103 | <Attribute name="date" id="::Primitives::date"> |
| 104 | <webidl> attribute Date date;</webidl> |
| 105 | <Type type="Date"/> |
| 106 | </Attribute> |
| 107 | <Attribute name="regexp" id="::Primitives::regexp"> |
| 108 | <webidl> attribute RegExp regexp;</webidl> |
| 109 | <Type type="RegExp"/> |
| 110 | </Attribute> |
| 111 | </Interface> |
| 112 | </Definitions> |