Debian Codegraph @

packages/babel-parser/test/fixtures/es2022/private-in/private-in-escaped-sequence/output.json

raw symbols SCIP
1 {
2 "type": "File",
3 "start":0,"end":62,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":6,"column":1,"index":62}},
4 "program": {
5 "type": "Program",
6 "start":0,"end":62,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":6,"column":1,"index":62}},
7 "sourceType": "script",
8 "interpreter": null,
9 "body": [
10 {
11 "type": "ClassDeclaration",
12 "start":0,"end":62,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":6,"column":1,"index":62}},
13 "id": {
14 "type": "Identifier",
15 "start":6,"end":9,"loc":{"start":{"line":1,"column":6,"index":6},"end":{"line":1,"column":9,"index":9},"identifierName":"Foo"},
16 "name": "Foo"
17 },
18 "superClass": null,
19 "body": {
20 "type": "ClassBody",
21 "start":10,"end":62,"loc":{"start":{"line":1,"column":10,"index":10},"end":{"line":6,"column":1,"index":62}},
22 "body": [
23 {
24 "type": "ClassPrivateProperty",
25 "start":14,"end":26,"loc":{"start":{"line":2,"column":2,"index":14},"end":{"line":2,"column":14,"index":26}},
26 "static": false,
27 "key": {
28 "type": "PrivateName",
29 "start":14,"end":21,"loc":{"start":{"line":2,"column":2,"index":14},"end":{"line":2,"column":9,"index":21}},
30 "id": {
31 "type": "Identifier",
32 "start":15,"end":21,"loc":{"start":{"line":2,"column":3,"index":15},"end":{"line":2,"column":9,"index":21},"identifierName":"a"},
33 "name": "a"
34 }
35 },
36 "value": {
37 "type": "NumericLiteral",
38 "start":24,"end":25,"loc":{"start":{"line":2,"column":12,"index":24},"end":{"line":2,"column":13,"index":25}},
39 "extra": {
40 "rawValue": 1,
41 "raw": "1"
42 },
43 "value": 1
44 }
45 },
46 {
47 "type": "ClassMethod",
48 "start":29,"end":60,"loc":{"start":{"line":3,"column":2,"index":29},"end":{"line":5,"column":3,"index":60}},
49 "static": false,
50 "key": {
51 "type": "Identifier",
52 "start":29,"end":33,"loc":{"start":{"line":3,"column":2,"index":29},"end":{"line":3,"column":6,"index":33},"identifierName":"test"},
53 "name": "test"
54 },
55 "computed": false,
56 "kind": "method",
57 "id": null,
58 "generator": false,
59 "async": false,
60 "params": [],
61 "body": {
62 "type": "BlockStatement",
63 "start":36,"end":60,"loc":{"start":{"line":3,"column":9,"index":36},"end":{"line":5,"column":3,"index":60}},
64 "body": [
65 {
66 "type": "ExpressionStatement",
67 "start":42,"end":56,"loc":{"start":{"line":4,"column":4,"index":42},"end":{"line":4,"column":18,"index":56}},
68 "expression": {
69 "type": "BinaryExpression",
70 "start":42,"end":55,"loc":{"start":{"line":4,"column":4,"index":42},"end":{"line":4,"column":17,"index":55}},
71 "left": {
72 "type": "PrivateName",
73 "start":42,"end":49,"loc":{"start":{"line":4,"column":4,"index":42},"end":{"line":4,"column":11,"index":49}},
74 "id": {
75 "type": "Identifier",
76 "start":43,"end":49,"loc":{"start":{"line":4,"column":5,"index":43},"end":{"line":4,"column":11,"index":49},"identifierName":"a"},
77 "name": "a"
78 }
79 },
80 "operator": "in",
81 "right": {
82 "type": "ObjectExpression",
83 "start":53,"end":55,"loc":{"start":{"line":4,"column":15,"index":53},"end":{"line":4,"column":17,"index":55}},
84 "properties": []
85 }
86 }
87 }
88 ],
89 "directives": []
90 }
91 }
92 ]
93 }
94 }
95 ],
96 "directives": []
97 }
98 }