Debian Codegraph @

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

raw symbols SCIP
1 {
2 "type": "File",
3 "start":0,"end":52,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":52,"index":52}},
4 "errors": [
5 "SyntaxError: Argument name clash. (1:43)"
6 ],
7 "program": {
8 "type": "Program",
9 "start":0,"end":52,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":52,"index":52}},
10 "sourceType": "script",
11 "interpreter": null,
12 "body": [
13 {
14 "type": "FunctionDeclaration",
15 "start":0,"end":52,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":52,"index":52}},
16 "id": {
17 "type": "Identifier",
18 "start":9,"end":10,"loc":{"start":{"line":1,"column":9,"index":9},"end":{"line":1,"column":10,"index":10},"identifierName":"a"},
19 "name": "a"
20 },
21 "generator": false,
22 "async": false,
23 "params": [],
24 "body": {
25 "type": "BlockStatement",
26 "start":13,"end":52,"loc":{"start":{"line":1,"column":13,"index":13},"end":{"line":1,"column":52,"index":52}},
27 "body": [
28 {
29 "type": "FunctionDeclaration",
30 "start":29,"end":49,"loc":{"start":{"line":1,"column":29,"index":29},"end":{"line":1,"column":49,"index":49}},
31 "id": {
32 "type": "Identifier",
33 "start":38,"end":39,"loc":{"start":{"line":1,"column":38,"index":38},"end":{"line":1,"column":39,"index":39},"identifierName":"b"},
34 "name": "b"
35 },
36 "generator": false,
37 "async": false,
38 "params": [
39 {
40 "type": "Identifier",
41 "start":40,"end":41,"loc":{"start":{"line":1,"column":40,"index":40},"end":{"line":1,"column":41,"index":41},"identifierName":"t"},
42 "name": "t"
43 },
44 {
45 "type": "Identifier",
46 "start":43,"end":44,"loc":{"start":{"line":1,"column":43,"index":43},"end":{"line":1,"column":44,"index":44},"identifierName":"t"},
47 "name": "t"
48 }
49 ],
50 "body": {
51 "type": "BlockStatement",
52 "start":46,"end":49,"loc":{"start":{"line":1,"column":46,"index":46},"end":{"line":1,"column":49,"index":49}},
53 "body": [],
54 "directives": []
55 }
56 },
57 {
58 "type": "EmptyStatement",
59 "start":49,"end":50,"loc":{"start":{"line":1,"column":49,"index":49},"end":{"line":1,"column":50,"index":50}}
60 }
61 ],
62 "directives": [
63 {
64 "type": "Directive",
65 "start":15,"end":28,"loc":{"start":{"line":1,"column":15,"index":15},"end":{"line":1,"column":28,"index":28}},
66 "value": {
67 "type": "DirectiveLiteral",
68 "start":15,"end":27,"loc":{"start":{"line":1,"column":15,"index":15},"end":{"line":1,"column":27,"index":27}},
69 "extra": {
70 "rawValue": "use strict",
71 "raw": "\"use strict\"",
72 "expressionValue": "use strict"
73 },
74 "value": "use strict"
75 }
76 }
77 ]
78 }
79 }
80 ],
81 "directives": []
82 }
83 }