Debian Codegraph @

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

raw
1 {
2 "type": "File",
3 "start":0,"end":35,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":35,"index":35}},
4 "errors": [
5 "SyntaxError: Unexpected reserved word 'static'. (1:23)"
6 ],
7 "program": {
8 "type": "Program",
9 "start":0,"end":35,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":35,"index":35}},
10 "sourceType": "script",
11 "interpreter": null,
12 "body": [
13 {
14 "type": "FunctionDeclaration",
15 "start":14,"end":35,"loc":{"start":{"line":1,"column":14,"index":14},"end":{"line":1,"column":35,"index":35}},
16 "id": {
17 "type": "Identifier",
18 "start":23,"end":29,"loc":{"start":{"line":1,"column":23,"index":23},"end":{"line":1,"column":29,"index":29},"identifierName":"static"},
19 "name": "static"
20 },
21 "generator": false,
22 "async": false,
23 "params": [],
24 "body": {
25 "type": "BlockStatement",
26 "start":32,"end":35,"loc":{"start":{"line":1,"column":32,"index":32},"end":{"line":1,"column":35,"index":35}},
27 "body": [],
28 "directives": []
29 }
30 }
31 ],
32 "directives": [
33 {
34 "type": "Directive",
35 "start":0,"end":13,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":13,"index":13}},
36 "value": {
37 "type": "DirectiveLiteral",
38 "start":0,"end":12,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":12,"index":12}},
39 "extra": {
40 "rawValue": "use strict",
41 "raw": "\"use strict\"",
42 "expressionValue": "use strict"
43 },
44 "value": "use strict"
45 }
46 }
47 ]
48 }
49 }