-
Notifications
You must be signed in to change notification settings - Fork 59
/
Copy pathJsx2.res.txt
561 lines (525 loc) · 16.9 KB
/
Jsx2.res.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
Definition src/Jsx2.res 5:9
getLocItem #4: heuristic for </Comp> within fragments: take make as makeProps does not work
the type is not great but jump to definition works
{"uri": "Jsx2.res", "range": {"start": {"line": 2, "character": 6}, "end": {"line": 2, "character": 10}}}
Complete src/Jsx2.res 8:15
posCursor:[8:15] posNoWhite:[8:14] Found expr:[8:4->8:15]
JSX <M:[8:4->8:5] second[8:6->8:12]=...[8:13->8:15]> _children:None
Completable: Cexpression CJsxPropValue [M] second=fi
Package opens Pervasives.JsxModules.place holder
Resolved opens 1 pervasives
ContextPath CJsxPropValue [M] second
Path M.make
[]
Complete src/Jsx2.res 11:20
posCursor:[11:20] posNoWhite:[11:19] Found expr:[11:4->11:20]
JSX <M:[11:4->11:5] second[11:6->11:12]=...[11:13->11:18] f[11:19->11:20]=...[11:19->11:20]> _children:None
Completable: Cjsx([M], f, [second, f])
Package opens Pervasives.JsxModules.place holder
Resolved opens 1 pervasives
Path M.make
[{
"label": "first",
"kind": 4,
"tags": [],
"detail": "string",
"documentation": null
}, {
"label": "fun",
"kind": 4,
"tags": [],
"detail": "option<string>",
"documentation": null
}]
Complete src/Jsx2.res 14:13
posCursor:[14:13] posNoWhite:[14:12] Found expr:[14:12->14:13]
JSX <M:[14:12->14:13] > _children:None
Completable: Cpath Module[M]
Package opens Pervasives.JsxModules.place holder
Resolved opens 1 pervasives
ContextPath Module[M]
Path M
[{
"label": "M",
"kind": 9,
"tags": [],
"detail": "module",
"documentation": null
}, {
"label": "Map",
"kind": 9,
"tags": [],
"detail": "file module",
"documentation": null
}, {
"label": "MapLabels",
"kind": 9,
"tags": [],
"detail": "file module",
"documentation": null
}, {
"label": "MoreLabels",
"kind": 9,
"tags": [],
"detail": "file module",
"documentation": null
}]
Complete src/Jsx2.res 22:19
posCursor:[22:19] posNoWhite:[22:18] Found expr:[22:4->22:19]
JSX <M:[22:4->22:5] prop[22:6->22:10]=...[22:12->22:16] k[22:18->22:19]=...[22:18->22:19]> _children:None
Completable: Cjsx([M], k, [prop, k])
Package opens Pervasives.JsxModules.place holder
Resolved opens 1 pervasives
Path M.make
[{
"label": "key",
"kind": 4,
"tags": [],
"detail": "string",
"documentation": null
}]
Complete src/Jsx2.res 25:17
posCursor:[25:17] posNoWhite:[25:16] Found expr:[25:4->25:17]
JSX <M:[25:4->25:5] prop[25:6->25:10]=...[25:11->25:15] k[25:16->25:17]=...[25:16->25:17]> _children:None
Completable: Cjsx([M], k, [prop, k])
Package opens Pervasives.JsxModules.place holder
Resolved opens 1 pervasives
Path M.make
[{
"label": "key",
"kind": 4,
"tags": [],
"detail": "string",
"documentation": null
}]
Complete src/Jsx2.res 28:21
posCursor:[28:21] posNoWhite:[28:20] Found expr:[28:4->28:21]
JSX <M:[28:4->28:5] prop[28:6->28:10]=...[28:11->28:19] k[28:20->28:21]=...[28:20->28:21]> _children:None
Completable: Cjsx([M], k, [prop, k])
Package opens Pervasives.JsxModules.place holder
Resolved opens 1 pervasives
Path M.make
[{
"label": "key",
"kind": 4,
"tags": [],
"detail": "string",
"documentation": null
}]
Complete src/Jsx2.res 31:24
posCursor:[31:24] posNoWhite:[31:23] Found expr:[31:4->31:24]
JSX <M:[31:4->31:5] prop[31:6->31:10]=...[31:11->31:22] k[31:23->31:24]=...[31:23->31:24]> _children:None
Completable: Cjsx([M], k, [prop, k])
Package opens Pervasives.JsxModules.place holder
Resolved opens 1 pervasives
Path M.make
[{
"label": "key",
"kind": 4,
"tags": [],
"detail": "string",
"documentation": null
}]
Complete src/Jsx2.res 34:18
posCursor:[34:18] posNoWhite:[34:17] Found expr:[34:4->34:18]
JSX <M:[34:4->34:5] prop[34:6->34:10]=...[34:12->34:16] k[34:17->34:18]=...[34:17->34:18]> _children:None
Completable: Cjsx([M], k, [prop, k])
Package opens Pervasives.JsxModules.place holder
Resolved opens 1 pervasives
Path M.make
[{
"label": "key",
"kind": 4,
"tags": [],
"detail": "string",
"documentation": null
}]
Complete src/Jsx2.res 37:16
posCursor:[37:16] posNoWhite:[37:15] Found expr:[37:4->37:16]
JSX <M:[37:4->37:5] prop[37:6->37:10]=...[37:11->37:14] k[37:15->37:16]=...[37:15->37:16]> _children:None
Completable: Cjsx([M], k, [prop, k])
Package opens Pervasives.JsxModules.place holder
Resolved opens 1 pervasives
Path M.make
[{
"label": "key",
"kind": 4,
"tags": [],
"detail": "string",
"documentation": null
}]
Complete src/Jsx2.res 40:17
posCursor:[40:17] posNoWhite:[40:16] Found expr:[40:4->40:17]
JSX <M:[40:4->40:5] prop[40:6->40:10]=...[40:11->40:15] k[40:16->40:17]=...[40:16->40:17]> _children:None
Completable: Cjsx([M], k, [prop, k])
Package opens Pervasives.JsxModules.place holder
Resolved opens 1 pervasives
Path M.make
[{
"label": "key",
"kind": 4,
"tags": [],
"detail": "string",
"documentation": null
}]
Complete src/Jsx2.res 43:18
posCursor:[43:18] posNoWhite:[43:17] Found expr:[43:4->43:18]
JSX <M:[43:4->43:5] prop[43:6->43:10]=...[43:11->43:16] k[43:17->43:18]=...[43:17->43:18]> _children:None
Completable: Cjsx([M], k, [prop, k])
Package opens Pervasives.JsxModules.place holder
Resolved opens 1 pervasives
Path M.make
[{
"label": "key",
"kind": 4,
"tags": [],
"detail": "string",
"documentation": null
}]
Complete src/Jsx2.res 46:16
posCursor:[46:16] posNoWhite:[46:15] Found expr:[46:4->46:16]
JSX <M:[46:4->46:5] prop[46:6->46:10]=...[46:11->46:14] k[46:15->46:16]=...[46:15->46:16]> _children:None
Completable: Cjsx([M], k, [prop, k])
Package opens Pervasives.JsxModules.place holder
Resolved opens 1 pervasives
Path M.make
[{
"label": "key",
"kind": 4,
"tags": [],
"detail": "string",
"documentation": null
}]
Complete src/Jsx2.res 49:27
posCursor:[49:27] posNoWhite:[49:26] Found expr:[49:4->49:27]
JSX <M:[49:4->49:5] prop[49:6->49:10]=...[49:11->49:25] k[49:26->49:27]=...[49:26->49:27]> _children:None
Completable: Cjsx([M], k, [prop, k])
Package opens Pervasives.JsxModules.place holder
Resolved opens 1 pervasives
Path M.make
[{
"label": "key",
"kind": 4,
"tags": [],
"detail": "string",
"documentation": null
}]
Complete src/Jsx2.res 52:38
posCursor:[52:38] posNoWhite:[52:37] Found expr:[52:4->52:38]
JSX <M:[52:4->52:5] prop[52:6->52:10]=...[52:11->52:36] k[52:37->52:38]=...[52:37->52:38]> _children:None
Completable: Cjsx([M], k, [prop, k])
Package opens Pervasives.JsxModules.place holder
Resolved opens 1 pervasives
Path M.make
[{
"label": "key",
"kind": 4,
"tags": [],
"detail": "string",
"documentation": null
}]
Complete src/Jsx2.res 55:25
posCursor:[55:25] posNoWhite:[55:24] Found expr:[55:4->55:25]
JSX <M:[55:4->55:5] prop[55:6->55:10]=...[55:11->55:23] k[55:24->55:25]=...[55:24->55:25]> _children:None
Completable: Cjsx([M], k, [prop, k])
Package opens Pervasives.JsxModules.place holder
Resolved opens 1 pervasives
Path M.make
[{
"label": "key",
"kind": 4,
"tags": [],
"detail": "string",
"documentation": null
}]
Definition src/Jsx2.res 58:11
getLocItem #4: heuristic for </Comp> within fragments: take make as makeProps does not work
the type is not great but jump to definition works
{"uri": "Component.res", "range": {"start": {"line": 1, "character": 4}, "end": {"line": 1, "character": 8}}}
Complete src/Jsx2.res 68:10
posCursor:[68:10] posNoWhite:[68:9] Found expr:[68:4->68:10]
JSX <Ext:[68:4->68:7] al[68:8->68:10]=...[68:8->68:10]> _children:None
Completable: Cjsx([Ext], al, [al])
Package opens Pervasives.JsxModules.place holder
Resolved opens 1 pervasives
Path Ext.make
[{
"label": "align",
"kind": 4,
"tags": [],
"detail": "option<string>",
"documentation": null
}]
Complete src/Jsx2.res 71:11
posCursor:[71:11] posNoWhite:[71:10] Found expr:[71:4->71:11]
JSX <M:[71:4->71:5] first[71:6->71:11]=...[71:6->71:11]> _children:None
Completable: Cjsx([M], first, [first])
Package opens Pervasives.JsxModules.place holder
Resolved opens 1 pervasives
Path M.make
[]
Complete src/Jsx2.res 74:16
posCursor:[74:16] posNoWhite:[74:15] Found expr:[74:4->74:16]
JSX <M:[74:4->74:5] first[74:6->74:11]=...[74:12->74:14] k[74:15->74:16]=...[74:15->74:16]> _children:None
Completable: Cjsx([M], k, [first, k])
Package opens Pervasives.JsxModules.place holder
Resolved opens 1 pervasives
Path M.make
[{
"label": "key",
"kind": 4,
"tags": [],
"detail": "string",
"documentation": null
}]
Complete src/Jsx2.res 77:23
posCursor:[77:23] posNoWhite:[77:22] Found expr:[77:4->77:23]
JSX <M:[77:4->77:5] first[77:6->77:11]=...[77:19->77:21] k[77:22->77:23]=...[77:22->77:23]> _children:None
Completable: Cjsx([M], k, [first, k])
Package opens Pervasives.JsxModules.place holder
Resolved opens 1 pervasives
Path M.make
[{
"label": "key",
"kind": 4,
"tags": [],
"detail": "string",
"documentation": null
}]
Complete src/Jsx2.res 80:6
posCursor:[80:6] posNoWhite:[80:5] Found expr:[80:4->85:69]
Pexp_apply ...[83:20->83:21] (...[80:4->83:19], ...[84:2->85:69])
posCursor:[80:6] posNoWhite:[80:5] Found expr:[80:4->83:19]
JSX <M:[80:4->80:5] > _children:80:5
posCursor:[80:6] posNoWhite:[80:5] Found expr:[80:5->83:20]
Pexp_construct :::[83:0->83:20] [83:0->83:20]
posCursor:[80:6] posNoWhite:[80:5] Found expr:__ghost__[80:5->83:20]
Pexp_construct []:__ghost__[80:5->83:20] None
posCursor:[80:6] posNoWhite:[80:5] Found expr:[80:4->83:19]
JSX <M:[80:4->80:5] > _children:80:5
posCursor:[80:6] posNoWhite:[80:5] Found expr:[80:5->83:20]
Pexp_construct :::[83:0->83:20] [83:0->83:20]
posCursor:[80:6] posNoWhite:[80:5] Found expr:__ghost__[80:5->83:20]
Pexp_construct []:__ghost__[80:5->83:20] None
[]
Complete src/Jsx2.res 89:16
posCursor:[89:16] posNoWhite:[89:15] Found expr:[89:4->89:16]
JSX <WithChildren:[89:4->89:16] > _children:None
Completable: Cpath Module[WithChildren]
Package opens Pervasives.JsxModules.place holder
Resolved opens 1 pervasives
ContextPath Module[WithChildren]
Path WithChildren
[{
"label": "WithChildren",
"kind": 9,
"tags": [],
"detail": "module",
"documentation": null
}]
Complete src/Jsx2.res 91:18
posCursor:[91:18] posNoWhite:[91:17] Found expr:[91:4->91:18]
JSX <WithChildren:[91:4->91:16] n[91:17->91:18]=...[91:17->91:18]> _children:None
Completable: Cjsx([WithChildren], n, [n])
Package opens Pervasives.JsxModules.place holder
Resolved opens 1 pervasives
Path WithChildren.make
[{
"label": "name",
"kind": 4,
"tags": [],
"detail": "string",
"documentation": null
}]
Complete src/Jsx2.res 94:18
posCursor:[94:18] posNoWhite:[94:17] Found pattern:[94:7->94:18]
posCursor:[94:18] posNoWhite:[94:17] Found type:[94:11->94:18]
Ptyp_constr React.e:[94:11->94:18]
Completable: Cpath Type[React, e]
Package opens Pervasives.JsxModules.place holder
Resolved opens 1 pervasives
ContextPath Type[React, e]
Path React.e
[{
"label": "element",
"kind": 22,
"tags": [],
"detail": "type element = Jsx.element",
"documentation": null
}]
Complete src/Jsx2.res 96:20
posCursor:[96:20] posNoWhite:[96:19] Found pattern:[96:7->99:6]
posCursor:[96:20] posNoWhite:[96:19] Found type:[96:11->99:6]
Ptyp_constr ReactDOMR:[96:11->99:6]
Completable: Cpath Type[ReactDOMR]
Package opens Pervasives.JsxModules.place holder
Resolved opens 1 pervasives
ContextPath Type[ReactDOMR]
Path ReactDOMR
[{
"label": "ReactDOMRe",
"kind": 9,
"tags": [],
"detail": "file module",
"documentation": null
}]
Complete src/Jsx2.res 102:21
posCursor:[102:21] posNoWhite:[102:20] Found expr:[102:13->102:21]
Pexp_apply ...[102:15->102:16] (...[102:13->102:14], ...[102:17->102:21])
posCursor:[102:21] posNoWhite:[102:20] Found expr:[102:17->102:21]
Pexp_field [102:17->102:18] th:[102:19->102:21]
Completable: Cpath Value[x].th
Package opens Pervasives.JsxModules.place holder
Resolved opens 1 pervasives
ContextPath Value[x].th
ContextPath Value[x]
Path x
[]
Complete src/Jsx2.res 106:28
posCursor:[106:28] posNoWhite:[106:27] Found expr:[106:11->106:28]
Pexp_ident DefineSomeFields.:[106:11->106:28]
Completable: Cpath Value[DefineSomeFields, ""]
Package opens Pervasives.JsxModules.place holder
Resolved opens 1 pervasives
ContextPath Value[DefineSomeFields, ""]
Path DefineSomeFields.
[{
"label": "thisValue",
"kind": 12,
"tags": [],
"detail": "int",
"documentation": null
}]
Complete src/Jsx2.res 108:36
posCursor:[108:36] posNoWhite:[108:35] Found expr:[108:11->108:36]
Pexp_apply ...[108:13->108:14] (...[108:11->108:12], ...[108:15->108:36])
posCursor:[108:36] posNoWhite:[108:35] Found expr:[108:15->108:36]
Pexp_field [108:15->108:16] DefineSomeFields.th:[108:17->108:36]
Completable: Cpath Module[DefineSomeFields].th
Package opens Pervasives.JsxModules.place holder
Resolved opens 1 pervasives
ContextPath Module[DefineSomeFields].th
Path DefineSomeFields.th
[{
"label": "thisField",
"kind": 5,
"tags": [],
"detail": "thisField: int\n\ntype r = {thisField: int, thatField: string}",
"documentation": null
}, {
"label": "thatField",
"kind": 5,
"tags": [],
"detail": "thatField: string\n\ntype r = {thisField: int, thatField: string}",
"documentation": null
}]
Complete src/Jsx2.res 122:20
posCursor:[122:20] posNoWhite:[122:19] Found expr:[121:3->125:4]
JSX <div:[121:3->121:6] x[122:5->122:6]=...[122:7->122:20] name[124:4->124:8]=...[124:9->124:11]> _children:125:2
posCursor:[122:20] posNoWhite:[122:19] Found expr:[122:7->122:20]
Pexp_ident Outer.Inner.h:[122:7->122:20]
Completable: Cpath Value[Outer, Inner, h]
Package opens Pervasives.JsxModules.place holder
Resolved opens 1 pervasives
ContextPath Value[Outer, Inner, h]
Path Outer.Inner.h
[{
"label": "hello",
"kind": 12,
"tags": [],
"detail": "int",
"documentation": null
}]
Complete src/Jsx2.res 129:19
posCursor:[129:19] posNoWhite:[129:18] Found expr:[128:3->131:9]
JSX <div:[128:3->128:6] x[129:5->129:6]=...[129:7->131:8]> _children:None
posCursor:[129:19] posNoWhite:[129:18] Found expr:[129:7->131:8]
Pexp_ident Outer.Inner.:[129:7->131:8]
Completable: Cpath Value[Outer, Inner, ""]
Package opens Pervasives.JsxModules.place holder
Resolved opens 1 pervasives
ContextPath Value[Outer, Inner, ""]
Path Outer.Inner.
[{
"label": "hello",
"kind": 12,
"tags": [],
"detail": "int",
"documentation": null
}]
Complete src/Jsx2.res 136:7
posCursor:[136:7] posNoWhite:[136:6] Found expr:[135:3->138:9]
JSX <div:[135:3->135:6] x[136:5->136:6]=...[138:4->138:8]> _children:None
Completable: Cexpression CJsxPropValue [div] x
Package opens Pervasives.JsxModules.place holder
Resolved opens 1 pervasives
ContextPath CJsxPropValue [div] x
Path ReactDOM.domProps
Path PervasivesU.JsxDOM.domProps
[{
"label": "\"\"",
"kind": 12,
"tags": [],
"detail": "string",
"documentation": null,
"sortText": "A",
"insertText": "{\"$0\"}",
"insertTextFormat": 2
}]
Complete src/Jsx2.res 150:21
posCursor:[150:21] posNoWhite:[150:20] Found expr:[150:12->150:32]
JSX <Nested.Co:[150:12->150:21] name[150:22->150:26]=...[150:27->150:29]> _children:150:30
Completable: Cpath Module[Nested, Co]
Package opens Pervasives.JsxModules.place holder
Resolved opens 1 pervasives
ContextPath Module[Nested, Co]
Path Nested.Co
[{
"label": "Comp",
"kind": 9,
"tags": [],
"detail": "module",
"documentation": null
}]
Complete src/Jsx2.res 153:19
posCursor:[153:19] posNoWhite:[153:18] Found expr:[153:12->153:25]
JSX <Nested.:[153:12->153:24] > _children:None
Completable: Cpath Module[Nested, ""]
Package opens Pervasives.JsxModules.place holder
Resolved opens 1 pervasives
ContextPath Module[Nested, ""]
Path Nested.
[{
"label": "Comp",
"kind": 9,
"tags": [],
"detail": "module",
"documentation": null
}]
Hover src/Jsx2.res 162:12
Nothing at that position. Now trying to use completion.
posCursor:[162:12] posNoWhite:[162:11] Found expr:[162:3->162:21]
Pexp_construct :::[162:6->162:21] [162:6->162:21]
posCursor:[162:12] posNoWhite:[162:11] Found expr:[162:6->162:21]
posCursor:[162:12] posNoWhite:[162:11] Found expr:[162:6->162:20]
JSX <Comp:[162:6->162:10] age[162:11->162:14]=...[162:15->162:17]> _children:162:18
Completable: Cjsx([Comp], age, [age])
Package opens Pervasives.JsxModules.place holder
Resolved opens 1 pervasives
Path Comp.make
{"contents": {"kind": "markdown", "value": "```rescript\nint\n```"}}
Hover src/Jsx2.res 167:16
Nothing at that position. Now trying to use completion.
posCursor:[167:16] posNoWhite:[167:15] Found expr:[167:3->167:30]
Pexp_construct :::[167:7->167:30] [167:7->167:30]
posCursor:[167:16] posNoWhite:[167:15] Found expr:[167:7->167:30]
posCursor:[167:16] posNoWhite:[167:15] Found expr:[167:7->167:25]
Pexp_construct :::[167:10->167:25] [167:10->167:25]
posCursor:[167:16] posNoWhite:[167:15] Found expr:[167:10->167:25]
posCursor:[167:16] posNoWhite:[167:15] Found expr:[167:10->167:24]
JSX <Comp:[167:10->167:14] age[167:15->167:18]=...[167:19->167:21]> _children:167:22
Completable: Cjsx([Comp], age, [age])
Package opens Pervasives.JsxModules.place holder
Resolved opens 1 pervasives
Path Comp.make
{"contents": {"kind": "markdown", "value": "```rescript\nint\n```"}}