forked from babel/babel
-
Notifications
You must be signed in to change notification settings - Fork 2
/
output.json
82 lines (82 loc) 路 3.47 KB
/
output.json
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
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
{
"type": "File",
"start":0,"end":88,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":88,"index":88}},
"program": {
"type": "Program",
"start":0,"end":88,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":88,"index":88}},
"sourceType": "module",
"interpreter": null,
"body": [
{
"type": "DeclareModule",
"start":0,"end":88,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":88,"index":88}},
"id": {
"type": "StringLiteral",
"start":15,"end":20,"loc":{"start":{"line":1,"column":15,"index":15},"end":{"line":1,"column":20,"index":20}},
"extra": {
"rawValue": "foo",
"raw": "\"foo\""
},
"value": "foo"
},
"body": {
"type": "BlockStatement",
"start":21,"end":88,"loc":{"start":{"line":1,"column":21,"index":21},"end":{"line":1,"column":88,"index":88}},
"body": [
{
"type": "DeclareExportDeclaration",
"start":23,"end":54,"loc":{"start":{"line":1,"column":23,"index":23},"end":{"line":1,"column":54,"index":54}},
"specifiers": [],
"source": null,
"declaration": {
"type": "InterfaceDeclaration",
"start":38,"end":54,"loc":{"start":{"line":1,"column":38,"index":38},"end":{"line":1,"column":54,"index":54}},
"id": {
"type": "Identifier",
"start":48,"end":51,"loc":{"start":{"line":1,"column":48,"index":48},"end":{"line":1,"column":51,"index":51},"identifierName":"bar"},
"name": "bar"
},
"typeParameters": null,
"extends": [],
"body": {
"type": "ObjectTypeAnnotation",
"start":52,"end":54,"loc":{"start":{"line":1,"column":52,"index":52},"end":{"line":1,"column":54,"index":54}},
"callProperties": [],
"properties": [],
"indexers": [],
"internalSlots": [],
"exact": false
}
},
"default": false
},
{
"type": "DeclareExportDeclaration",
"start":55,"end":86,"loc":{"start":{"line":1,"column":55,"index":55},"end":{"line":1,"column":86,"index":86}},
"declaration": {
"type": "DeclareVariable",
"start":70,"end":86,"loc":{"start":{"line":1,"column":70,"index":70},"end":{"line":1,"column":86,"index":86}},
"id": {
"type": "Identifier",
"start":74,"end":85,"loc":{"start":{"line":1,"column":74,"index":74},"end":{"line":1,"column":85,"index":85},"identifierName":"baz"},
"name": "baz",
"typeAnnotation": {
"type": "TypeAnnotation",
"start":77,"end":85,"loc":{"start":{"line":1,"column":77,"index":77},"end":{"line":1,"column":85,"index":85}},
"typeAnnotation": {
"type": "NumberTypeAnnotation",
"start":79,"end":85,"loc":{"start":{"line":1,"column":79,"index":79},"end":{"line":1,"column":85,"index":85}}
}
}
}
},
"default": false
}
]
},
"kind": "ES"
}
],
"directives": []
}
}