Debian Codegraph @

packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0178/output.json

raw symbols SCIP
1 {
2 "type": "File",
3 "start":0,"end":47,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":47,"index":47}},
4 "errors": [
5 "SyntaxError: Unsyntactic break. (1:33)"
6 ],
7 "program": {
8 "type": "Program",
9 "start":0,"end":47,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":47,"index":47}},
10 "sourceType": "script",
11 "interpreter": null,
12 "body": [
13 {
14 "type": "LabeledStatement",
15 "start":0,"end":47,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":47,"index":47}},
16 "body": {
17 "type": "WhileStatement",
18 "start":3,"end":47,"loc":{"start":{"line":1,"column":3,"index":3},"end":{"line":1,"column":47,"index":47}},
19 "test": {
20 "type": "BooleanLiteral",
21 "start":10,"end":14,"loc":{"start":{"line":1,"column":10,"index":10},"end":{"line":1,"column":14,"index":14}},
22 "value": true
23 },
24 "body": {
25 "type": "BlockStatement",
26 "start":16,"end":47,"loc":{"start":{"line":1,"column":16,"index":16},"end":{"line":1,"column":47,"index":47}},
27 "body": [
28 {
29 "type": "ExpressionStatement",
30 "start":18,"end":45,"loc":{"start":{"line":1,"column":18,"index":18},"end":{"line":1,"column":45,"index":45}},
31 "expression": {
32 "type": "FunctionExpression",
33 "start":19,"end":43,"loc":{"start":{"line":1,"column":19,"index":19},"end":{"line":1,"column":43,"index":43}},
34 "id": null,
35 "generator": false,
36 "async": false,
37 "params": [],
38 "body": {
39 "type": "BlockStatement",
40 "start":31,"end":43,"loc":{"start":{"line":1,"column":31,"index":31},"end":{"line":1,"column":43,"index":43}},
41 "body": [
42 {
43 "type": "BreakStatement",
44 "start":33,"end":41,"loc":{"start":{"line":1,"column":33,"index":33},"end":{"line":1,"column":41,"index":41}},
45 "label": {
46 "type": "Identifier",
47 "start":39,"end":40,"loc":{"start":{"line":1,"column":39,"index":39},"end":{"line":1,"column":40,"index":40},"identifierName":"x"},
48 "name": "x"
49 }
50 }
51 ],
52 "directives": []
53 },
54 "extra": {
55 "parenthesized": true,
56 "parenStart": 18
57 }
58 }
59 }
60 ],
61 "directives": []
62 }
63 },
64 "label": {
65 "type": "Identifier",
66 "start":0,"end":1,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":1,"index":1},"identifierName":"x"},
67 "name": "x"
68 }
69 }
70 ],
71 "directives": []
72 }
73 }