Debian Codegraph @

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

raw symbols SCIP
1 {
2 "type": "File",
3 "start":0,"end":63,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":63,"index":63}},
4 "errors": [
5 "SyntaxError: Binding 'eval' in strict mode. (1:47)"
6 ],
7 "program": {
8 "type": "Program",
9 "start":0,"end":63,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":63,"index":63}},
10 "sourceType": "script",
11 "interpreter": null,
12 "body": [
13 {
14 "type": "FunctionDeclaration",
15 "start":0,"end":63,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":63,"index":63}},
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":63,"loc":{"start":{"line":1,"column":17,"index":17},"end":{"line":1,"column":63,"index":63}},
27 "body": [
28 {
29 "type": "ExpressionStatement",
30 "start":32,"end":61,"loc":{"start":{"line":1,"column":32,"index":32},"end":{"line":1,"column":61,"index":61}},
31 "expression": {
32 "type": "ObjectExpression",
33 "start":33,"end":59,"loc":{"start":{"line":1,"column":33,"index":33},"end":{"line":1,"column":59,"index":59}},
34 "properties": [
35 {
36 "type": "ObjectProperty",
37 "start":35,"end":57,"loc":{"start":{"line":1,"column":35,"index":35},"end":{"line":1,"column":57,"index":57}},
38 "method": false,
39 "key": {
40 "type": "Identifier",
41 "start":35,"end":36,"loc":{"start":{"line":1,"column":35,"index":35},"end":{"line":1,"column":36,"index":36},"identifierName":"s"},
42 "name": "s"
43 },
44 "computed": false,
45 "shorthand": false,
46 "value": {
47 "type": "FunctionExpression",
48 "start":38,"end":57,"loc":{"start":{"line":1,"column":38,"index":38},"end":{"line":1,"column":57,"index":57}},
49 "id": {
50 "type": "Identifier",
51 "start":47,"end":51,"loc":{"start":{"line":1,"column":47,"index":47},"end":{"line":1,"column":51,"index":51},"identifierName":"eval"},
52 "name": "eval"
53 },
54 "generator": false,
55 "async": false,
56 "params": [],
57 "body": {
58 "type": "BlockStatement",
59 "start":54,"end":57,"loc":{"start":{"line":1,"column":54,"index":54},"end":{"line":1,"column":57,"index":57}},
60 "body": [],
61 "directives": []
62 }
63 }
64 }
65 ],
66 "extra": {
67 "parenthesized": true,
68 "parenStart": 32
69 }
70 }
71 }
72 ],
73 "directives": [
74 {
75 "type": "Directive",
76 "start":18,"end":31,"loc":{"start":{"line":1,"column":18,"index":18},"end":{"line":1,"column":31,"index":31}},
77 "value": {
78 "type": "DirectiveLiteral",
79 "start":18,"end":30,"loc":{"start":{"line":1,"column":18,"index":18},"end":{"line":1,"column":30,"index":30}},
80 "extra": {
81 "rawValue": "use strict",
82 "raw": "'use strict'",
83 "expressionValue": "use strict"
84 },
85 "value": "use strict"
86 }
87 }
88 ]
89 }
90 }
91 ],
92 "directives": []
93 }
94 }