Debian Codegraph @

packages/babel-parser/test/fixtures/esprima/es2015-import-declaration/import-null-as-nil/output.json

raw
1 {
2 "type": "File",
3 "start":0,"end":33,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":33,"index":33}},
4 "program": {
5 "type": "Program",
6 "start":0,"end":33,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":33,"index":33}},
7 "sourceType": "module",
8 "interpreter": null,
9 "body": [
10 {
11 "type": "ImportDeclaration",
12 "start":0,"end":33,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":33,"index":33}},
13 "specifiers": [
14 {
15 "type": "ImportSpecifier",
16 "start":9,"end":20,"loc":{"start":{"line":1,"column":9,"index":9},"end":{"line":1,"column":20,"index":20}},
17 "imported": {
18 "type": "Identifier",
19 "start":9,"end":13,"loc":{"start":{"line":1,"column":9,"index":9},"end":{"line":1,"column":13,"index":13},"identifierName":"null"},
20 "name": "null"
21 },
22 "local": {
23 "type": "Identifier",
24 "start":17,"end":20,"loc":{"start":{"line":1,"column":17,"index":17},"end":{"line":1,"column":20,"index":20},"identifierName":"nil"},
25 "name": "nil"
26 }
27 }
28 ],
29 "source": {
30 "type": "StringLiteral",
31 "start":28,"end":33,"loc":{"start":{"line":1,"column":28,"index":28},"end":{"line":1,"column":33,"index":33}},
32 "extra": {
33 "rawValue": "bar",
34 "raw": "\"bar\""
35 },
36 "value": "bar"
37 }
38 }
39 ],
40 "directives": []
41 }
42 }