Debian Codegraph @

packages/babel-parser/test/fixtures/core/uncategorised/521/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:12)"
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": "FunctionExpression",
18 "start":1,"end":38,"loc":{"start":{"line":1,"column":1,"index":1},"end":{"line":1,"column":38,"index":38}},
19 "id": {
20 "type": "Identifier",
21 "start":10,"end":11,"loc":{"start":{"line":1,"column":10,"index":10},"end":{"line":1,"column":11,"index":11},"identifierName":"a"},
22 "name": "a"
23 },
24 "generator": false,
25 "async": false,
26 "params": [
27 {
28 "type": "Identifier",
29 "start":12,"end":19,"loc":{"start":{"line":1,"column":12,"index":12},"end":{"line":1,"column":19,"index":19},"identifierName":"package"},
30 "name": "package"
31 }
32 ],
33 "body": {
34 "type": "BlockStatement",
35 "start":21,"end":38,"loc":{"start":{"line":1,"column":21,"index":21},"end":{"line":1,"column":38,"index":38}},
36 "body": [],
37 "directives": [
38 {
39 "type": "Directive",
40 "start":23,"end":36,"loc":{"start":{"line":1,"column":23,"index":23},"end":{"line":1,"column":36,"index":36}},
41 "value": {
42 "type": "DirectiveLiteral",
43 "start":23,"end":35,"loc":{"start":{"line":1,"column":23,"index":23},"end":{"line":1,"column":35,"index":35}},
44 "extra": {
45 "rawValue": "use strict",
46 "raw": "\"use strict\"",
47 "expressionValue": "use strict"
48 },
49 "value": "use strict"
50 }
51 }
52 ]
53 },
54 "extra": {
55 "parenthesized": true,
56 "parenStart": 0
57 }
58 }
59 }
60 ],
61 "directives": []
62 }
63 }