Debian Codegraph @

packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0200/output.json

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