Debian Codegraph @

packages/babel-parser/test/fixtures/es2015/uncategorised/5/output.json

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