Update idlharness.js and webidl2.js.
[WebKit-https.git] / LayoutTests / imported / w3c / web-platform-tests / resources / webidl2 / test / syntax / json / sequence.json
1 [
2     {
3         "type": "interface",
4         "name": "Canvas",
5         "partial": false,
6         "members": [
7             {
8                 "type": "operation",
9                 "getter": false,
10                 "setter": false,
11                 "deleter": false,
12                 "static": false,
13                 "stringifier": false,
14                 "idlType": {
15                     "type": "return-type",
16                     "generic": null,
17                     "nullable": false,
18                     "union": false,
19                     "idlType": "void",
20                     "extAttrs": []
21                 },
22                 "name": "drawPolygon",
23                 "escapedName": "drawPolygon",
24                 "arguments": [
25                     {
26                         "optional": false,
27                         "variadic": false,
28                         "default": null,
29                         "extAttrs": [],
30                         "idlType": {
31                             "type": "argument-type",
32                             "generic": "sequence",
33                             "nullable": false,
34                             "union": false,
35                             "idlType": {
36                                 "type": "argument-type",
37                                 "generic": null,
38                                 "nullable": false,
39                                 "union": false,
40                                 "idlType": "float",
41                                 "extAttrs": []
42                             },
43                             "extAttrs": []
44                         },
45                         "name": "coordinates",
46                         "escapedName": "coordinates"
47                     }
48                 ],
49                 "extAttrs": []
50             },
51             {
52                 "type": "operation",
53                 "getter": false,
54                 "setter": false,
55                 "deleter": false,
56                 "static": false,
57                 "stringifier": false,
58                 "idlType": {
59                     "type": "return-type",
60                     "generic": "sequence",
61                     "nullable": false,
62                     "union": false,
63                     "idlType": {
64                         "type": "return-type",
65                         "generic": null,
66                         "nullable": false,
67                         "union": false,
68                         "idlType": "float",
69                         "extAttrs": []
70                     },
71                     "extAttrs": []
72                 },
73                 "name": "getInflectionPoints",
74                 "escapedName": "getInflectionPoints",
75                 "arguments": [],
76                 "extAttrs": []
77             }
78         ],
79         "inheritance": null,
80         "extAttrs": []
81     },
82     {
83         "type": "interface",
84         "name": "I",
85         "partial": false,
86         "members": [
87             {
88                 "type": "operation",
89                 "getter": false,
90                 "setter": false,
91                 "deleter": false,
92                 "static": false,
93                 "stringifier": false,
94                 "idlType": {
95                     "type": "return-type",
96                     "generic": null,
97                     "nullable": false,
98                     "union": false,
99                     "idlType": "void",
100                     "extAttrs": []
101                 },
102                 "name": "f1",
103                 "escapedName": "f1",
104                 "arguments": [
105                     {
106                         "optional": false,
107                         "variadic": false,
108                         "default": null,
109                         "extAttrs": [],
110                         "idlType": {
111                             "type": "argument-type",
112                             "generic": "sequence",
113                             "nullable": false,
114                             "union": false,
115                             "idlType": {
116                                 "type": "argument-type",
117                                 "generic": null,
118                                 "nullable": false,
119                                 "union": false,
120                                 "idlType": "long",
121                                 "extAttrs": [
122                                     {
123                                         "name": "XAttr",
124                                         "arguments": null,
125                                         "type": "extended-attribute",
126                                         "rhs": null
127                                     }
128                                 ]
129                             },
130                             "extAttrs": []
131                         },
132                         "name": "arg",
133                         "escapedName": "arg"
134                     }
135                 ],
136                 "extAttrs": []
137             }
138         ],
139         "inheritance": null,
140         "extAttrs": []
141     }
142 ]