forked from babel/babel
-
Notifications
You must be signed in to change notification settings - Fork 2
/
output.json
70 lines (70 loc) 路 2.58 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
{
"type": "File",
"start":0,"end":38,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":2,"column":29,"index":38}},
"errors": [
"SyntaxError: Unexpected reserved type bool. (2:20)"
],
"program": {
"type": "Program",
"start":0,"end":38,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":2,"column":29,"index":38}},
"sourceType": "module",
"interpreter": null,
"body": [
{
"type": "InterfaceDeclaration",
"start":9,"end":38,"loc":{"start":{"line":2,"column":0,"index":9},"end":{"line":2,"column":29,"index":38}},
"id": {
"type": "Identifier",
"start":19,"end":20,"loc":{"start":{"line":2,"column":10,"index":19},"end":{"line":2,"column":11,"index":20},"identifierName":"I"},
"name": "I"
},
"typeParameters": null,
"extends": [
{
"type": "InterfaceExtends",
"start":29,"end":35,"loc":{"start":{"line":2,"column":20,"index":29},"end":{"line":2,"column":26,"index":35}},
"id": {
"type": "QualifiedTypeIdentifier",
"start":29,"end":35,"loc":{"start":{"line":2,"column":20,"index":29},"end":{"line":2,"column":26,"index":35}},
"qualification": {
"type": "Identifier",
"start":29,"end":33,"loc":{"start":{"line":2,"column":20,"index":29},"end":{"line":2,"column":24,"index":33},"identifierName":"bool"},
"name": "bool"
},
"id": {
"type": "Identifier",
"start":34,"end":35,"loc":{"start":{"line":2,"column":25,"index":34},"end":{"line":2,"column":26,"index":35},"identifierName":"m"},
"name": "m"
}
},
"typeParameters": null
}
],
"body": {
"type": "ObjectTypeAnnotation",
"start":36,"end":38,"loc":{"start":{"line":2,"column":27,"index":36},"end":{"line":2,"column":29,"index":38}},
"callProperties": [],
"properties": [],
"indexers": [],
"internalSlots": [],
"exact": false
},
"leadingComments": [
{
"type": "CommentLine",
"value": " @flow",
"start":0,"end":8,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":8,"index":8}}
}
]
}
],
"directives": []
},
"comments": [
{
"type": "CommentLine",
"value": " @flow",
"start":0,"end":8,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":8,"index":8}}
}
]
}