Debian Codegraph @

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

raw
1 {
2 "type": "File",
3 "start":0,"end":40,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":2,"column":8,"index":40}},
4 "program": {
5 "type": "Program",
6 "start":0,"end":40,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":2,"column":8,"index":40}},
7 "sourceType": "script",
8 "interpreter": null,
9 "body": [
10 {
11 "type": "WhileStatement",
12 "start":0,"end":40,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":2,"column":8,"index":40}},
13 "test": {
14 "type": "BooleanLiteral",
15 "start":7,"end":11,"loc":{"start":{"line":1,"column":7,"index":7},"end":{"line":1,"column":11,"index":11}},
16 "value": true
17 },
18 "body": {
19 "type": "BlockStatement",
20 "start":13,"end":40,"loc":{"start":{"line":1,"column":13,"index":13},"end":{"line":2,"column":8,"index":40}},
21 "body": [
22 {
23 "type": "BreakStatement",
24 "start":15,"end":20,"loc":{"start":{"line":1,"column":15,"index":15},"end":{"line":1,"column":20,"index":20}},
25 "label": null,
26 "trailingComments": [
27 {
28 "type": "CommentLine",
29 "value": " Comment",
30 "start":21,"end":31,"loc":{"start":{"line":1,"column":21,"index":21},"end":{"line":1,"column":31,"index":31}}
31 }
32 ]
33 },
34 {
35 "type": "ExpressionStatement",
36 "start":32,"end":38,"loc":{"start":{"line":2,"column":0,"index":32},"end":{"line":2,"column":6,"index":38}},
37 "expression": {
38 "type": "Identifier",
39 "start":32,"end":37,"loc":{"start":{"line":2,"column":0,"index":32},"end":{"line":2,"column":5,"index":37},"identifierName":"there"},
40 "name": "there"
41 },
42 "leadingComments": [
43 {
44 "type": "CommentLine",
45 "value": " Comment",
46 "start":21,"end":31,"loc":{"start":{"line":1,"column":21,"index":21},"end":{"line":1,"column":31,"index":31}}
47 }
48 ]
49 }
50 ],
51 "directives": []
52 }
53 }
54 ],
55 "directives": []
56 },
57 "comments": [
58 {
59 "type": "CommentLine",
60 "value": " Comment",
61 "start":21,"end":31,"loc":{"start":{"line":1,"column":21,"index":21},"end":{"line":1,"column":31,"index":31}}
62 }
63 ]
64 }