Debian Codegraph @

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

raw
1 {
2 "type": "File",
3 "start":0,"end":64,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":6,"column":5,"index":64}},
4 "program": {
5 "type": "Program",
6 "start":0,"end":64,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":6,"column":5,"index":64}},
7 "sourceType": "script",
8 "interpreter": null,
9 "body": [
10 {
11 "type": "VariableDeclaration",
12 "start":0,"end":57,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":4,"column":2,"index":57}},
13 "declarations": [
14 {
15 "type": "VariableDeclarator",
16 "start":4,"end":56,"loc":{"start":{"line":1,"column":4,"index":4},"end":{"line":4,"column":1,"index":56}},
17 "id": {
18 "type": "Identifier",
19 "start":4,"end":6,"loc":{"start":{"line":1,"column":4,"index":4},"end":{"line":1,"column":6,"index":6},"identifierName":"fn"},
20 "name": "fn"
21 },
22 "init": {
23 "type": "FunctionExpression",
24 "start":9,"end":56,"loc":{"start":{"line":1,"column":9,"index":9},"end":{"line":4,"column":1,"index":56}},
25 "id": null,
26 "generator": false,
27 "async": false,
28 "params": [],
29 "body": {
30 "type": "BlockStatement",
31 "start":21,"end":56,"loc":{"start":{"line":1,"column":21,"index":21},"end":{"line":4,"column":1,"index":56}},
32 "body": [],
33 "directives": [
34 {
35 "type": "Directive",
36 "start":25,"end":38,"loc":{"start":{"line":2,"column":2,"index":25},"end":{"line":2,"column":15,"index":38}},
37 "value": {
38 "type": "DirectiveLiteral",
39 "start":25,"end":37,"loc":{"start":{"line":2,"column":2,"index":25},"end":{"line":2,"column":14,"index":37}},
40 "extra": {
41 "rawValue": "use strict",
42 "raw": "\"use strict\"",
43 "expressionValue": "use strict"
44 },
45 "value": "use strict"
46 }
47 },
48 {
49 "type": "Directive",
50 "start":41,"end":54,"loc":{"start":{"line":3,"column":2,"index":41},"end":{"line":3,"column":15,"index":54}},
51 "value": {
52 "type": "DirectiveLiteral",
53 "start":41,"end":53,"loc":{"start":{"line":3,"column":2,"index":41},"end":{"line":3,"column":14,"index":53}},
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 ],
67 "kind": "var"
68 },
69 {
70 "type": "ExpressionStatement",
71 "start":59,"end":64,"loc":{"start":{"line":6,"column":0,"index":59},"end":{"line":6,"column":5,"index":64}},
72 "expression": {
73 "type": "NumericLiteral",
74 "start":59,"end":63,"loc":{"start":{"line":6,"column":0,"index":59},"end":{"line":6,"column":4,"index":63}},
75 "extra": {
76 "rawValue": 64,
77 "raw": "0100"
78 },
79 "value": 64
80 }
81 }
82 ],
83 "directives": []
84 }
85 }