summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/resources/webidl2/test/syntax/json/namedconstructor.json
blob: a947a64a4e2e3c050a4ad154826282f3b4a5fb33 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
[
    {
        "type": "interface",
        "name": "HTMLAudioElement",
        "partial": false,
        "members": [],
        "inheritance": "HTMLMediaElement",
        "extAttrs": [
            {
                "name": "NamedConstructor",
                "arguments": null,
                "rhs": {
                    "type": "identifier",
                    "value": "Audio"
                }
            },
            {
                "name": "NamedConstructor",
                "arguments": [
                    {
                        "optional": false,
                        "variadic": false,
                        "extAttrs": [],
                        "idlType": {
                            "sequence": false,
                            "generic": null,
                            "nullable": false,
                            "array": false,
                            "union": false,
                            "idlType": "DOMString"
                        },
                        "name": "src"
                    }
                ],
                "rhs": {
                    "type": "identifier",
                    "value": "Audio"
                }
            }
        ]
    }
]