Debian Codegraph @

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

raw
1 {
2 "type": "File",
3 "start":0,"end":45,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":3,"column":18,"index":45}},
4 "program": {
5 "type": "Program",
6 "start":0,"end":45,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":3,"column":18,"index":45}},
7 "sourceType": "script",
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": "VariableDeclaration",
16 "start":27,"end":45,"loc":{"start":{"line":3,"column":0,"index":27},"end":{"line":3,"column":18,"index":45}},
17 "declarations": [
18 {
19 "type": "VariableDeclarator",
20 "start":31,"end":44,"loc":{"start":{"line":3,"column":4,"index":31},"end":{"line":3,"column":17,"index":44}},
21 "id": {
22 "type": "ObjectPattern",
23 "start":31,"end":40,"loc":{"start":{"line":3,"column":4,"index":31},"end":{"line":3,"column":13,"index":40}},
24 "properties": [
25 {
26 "type": "ObjectProperty",
27 "start":33,"end":38,"loc":{"start":{"line":3,"column":6,"index":33},"end":{"line":3,"column":11,"index":38}},
28 "key": {
29 "type": "Identifier",
30 "start":33,"end":38,"loc":{"start":{"line":3,"column":6,"index":33},"end":{"line":3,"column":11,"index":38},"identifierName":"spawn"},
31 "name": "spawn"
32 },
33 "computed": false,
34 "method": false,
35 "shorthand": true,
36 "value": {
37 "type": "Identifier",
38 "start":33,"end":38,"loc":{"start":{"line":3,"column":6,"index":33},"end":{"line":3,"column":11,"index":38},"identifierName":"spawn"},
39 "name": "spawn"
40 },
41 "extra": {
42 "shorthand": true
43 }
44 }
45 ]
46 },
47 "init": {
48 "type": "Identifier",
49 "start":43,"end":44,"loc":{"start":{"line":3,"column":16,"index":43},"end":{"line":3,"column":17,"index":44},"identifierName":"x"},
50 "name": "x"
51 }
52 }
53 ],
54 "kind": "var"
55 }
56 ],
57 "directives": []
58 }
59 }