Debian Codegraph @

packages/babel-parser/test/fixtures/es2017/trailing-function-commas/5/output.json

raw
1 {
2 "type": "File",
3 "start":0,"end":7,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":7,"index":7}},
4 "errors": [
5 "SyntaxError: Unexpected token ','. (1:5)"
6 ],
7 "program": {
8 "type": "Program",
9 "start":0,"end":7,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":7,"index":7}},
10 "sourceType": "script",
11 "interpreter": null,
12 "body": [
13 {
14 "type": "ExpressionStatement",
15 "start":0,"end":7,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":7,"index":7}},
16 "expression": {
17 "type": "CallExpression",
18 "start":0,"end":6,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":6,"index":6}},
19 "callee": {
20 "type": "Identifier",
21 "start":0,"end":3,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":3,"index":3},"identifierName":"log"},
22 "name": "log"
23 },
24 "extra": {
25 "trailingComma": 4
26 },
27 "arguments": [
28 null
29 ]
30 }
31 }
32 ],
33 "directives": []
34 }
35 }