Debian Codegraph @

packages/babel-parser/test/fixtures/comments/interpreter-directive/interpreter-directive-import/output.json

raw
1 {
2 "type": "File",
3 "start":0,"end":56,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":3,"column":29,"index":56}},
4 "program": {
5 "type": "Program",
6 "start":0,"end":56,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":3,"column":29,"index":56}},
7 "sourceType": "module",
8 "interpreter": {
9 "type": "InterpreterDirective",
10 "start":0,"end":25,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":25,"index":25}},
11 "value": "/usr/bin/env babel-node"
12 },
13 "body": [
14 {
15 "type": "ImportDeclaration",
16 "start":27,"end":56,"loc":{"start":{"line":3,"column":0,"index":27},"end":{"line":3,"column":29,"index":56}},
17 "specifiers": [
18 {
19 "type": "ImportSpecifier",
20 "start":35,"end":40,"loc":{"start":{"line":3,"column":8,"index":35},"end":{"line":3,"column":13,"index":40}},
21 "imported": {
22 "type": "Identifier",
23 "start":35,"end":40,"loc":{"start":{"line":3,"column":8,"index":35},"end":{"line":3,"column":13,"index":40},"identifierName":"spawn"},
24 "name": "spawn"
25 },
26 "local": {
27 "type": "Identifier",
28 "start":35,"end":40,"loc":{"start":{"line":3,"column":8,"index":35},"end":{"line":3,"column":13,"index":40},"identifierName":"spawn"},
29 "name": "spawn"
30 }
31 }
32 ],
33 "source": {
34 "type": "StringLiteral",
35 "start":47,"end":55,"loc":{"start":{"line":3,"column":20,"index":47},"end":{"line":3,"column":28,"index":55}},
36 "extra": {
37 "rawValue": "foobar",
38 "raw": "'foobar'"
39 },
40 "value": "foobar"
41 }
42 }
43 ],
44 "directives": []
45 }
46 }