Debian Codegraph @

packages/babel-parser/test/fixtures/core/uncategorised/491/output.json

raw
1 {
2 "type": "File",
3 "start":0,"end":39,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":39,"index":39}},
4 "errors": [
5 "SyntaxError: Binding 'package' in strict mode. (1:10)"
6 ],
7 "program": {
8 "type": "Program",
9 "start":0,"end":39,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":39,"index":39}},
10 "sourceType": "script",
11 "interpreter": null,
12 "body": [
13 {
14 "type": "ExpressionStatement",
15 "start":0,"end":39,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":39,"index":39}},
16 "expression": {
17 "type": "CallExpression",
18 "start":0,"end":39,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":39,"index":39}},
19 "callee": {
20 "type": "FunctionExpression",
21 "start":1,"end":36,"loc":{"start":{"line":1,"column":1,"index":1},"end":{"line":1,"column":36,"index":36}},
22 "id": {
23 "type": "Identifier",
24 "start":10,"end":17,"loc":{"start":{"line":1,"column":10,"index":10},"end":{"line":1,"column":17,"index":17},"identifierName":"package"},
25 "name": "package"
26 },
27 "generator": false,
28 "async": false,
29 "params": [],
30 "body": {
31 "type": "BlockStatement",
32 "start":20,"end":36,"loc":{"start":{"line":1,"column":20,"index":20},"end":{"line":1,"column":36,"index":36}},
33 "body": [],
34 "directives": [
35 {
36 "type": "Directive",
37 "start":21,"end":34,"loc":{"start":{"line":1,"column":21,"index":21},"end":{"line":1,"column":34,"index":34}},
38 "value": {
39 "type": "DirectiveLiteral",
40 "start":21,"end":33,"loc":{"start":{"line":1,"column":21,"index":21},"end":{"line":1,"column":33,"index":33}},
41 "extra": {
42 "rawValue": "use strict",
43 "raw": "'use strict'",
44 "expressionValue": "use strict"
45 },
46 "value": "use strict"
47 }
48 }
49 ]
50 },
51 "extra": {
52 "parenthesized": true,
53 "parenStart": 0
54 }
55 },
56 "arguments": []
57 }
58 }
59 ],
60 "directives": []
61 }
62 }