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