-
Notifications
You must be signed in to change notification settings - Fork 58
/
Copy pathCompletionJsx.res.txt
518 lines (506 loc) · 25.8 KB
/
CompletionJsx.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
Complete src/CompletionJsx.res 3:17
posCursor:[3:17] posNoWhite:[3:16] Found expr:[3:3->3:17]
Completable: Cpath Value[someString]->st
Package opens Pervasives.JsxModules.place holder
Resolved opens 1 pervasives
ContextPath Value[someString]->st
ContextPath Value[someString]
Path someString
CPPipe env:CompletionJsx
Path Js.String2.st
[{
"label": "Js.String2.startsWith",
"kind": 12,
"tags": [],
"detail": "(t, t) => bool",
"documentation": {"kind": "markdown", "value": "\nES2015: `startsWith(str, substr)` returns `true` if the `str` starts with\n`substr`, `false` otherwise.\n\nSee [`String.startsWith`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String/startsWith)\non MDN.\n\n## Examples\n\n```rescript\nJs.String2.startsWith(\"ReScript\", \"Re\") == true\nJs.String2.startsWith(\"ReScript\", \"\") == true\nJs.String2.startsWith(\"JavaScript\", \"Re\") == false\n```\n"}
}, {
"label": "Js.String2.startsWithFrom",
"kind": 12,
"tags": [],
"detail": "(t, t, int) => bool",
"documentation": {"kind": "markdown", "value": "\nES2015: `startsWithFrom(str, substr, n)` returns `true` if the `str` starts\nwith `substr` starting at position `n`, false otherwise. If `n` is negative,\nthe search starts at the beginning of `str`.\n\nSee [`String.startsWith`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String/startsWith)\non MDN.\n\n## Examples\n\n```rescript\nJs.String2.startsWithFrom(\"ReScript\", \"Scri\", 2) == true\nJs.String2.startsWithFrom(\"ReScript\", \"\", 2) == true\nJs.String2.startsWithFrom(\"JavaScript\", \"Scri\", 2) == false\n```\n"}
}]
Complete src/CompletionJsx.res 13:21
posCursor:[13:21] posNoWhite:[13:20] Found expr:[8:13->33:3]
posCursor:[13:21] posNoWhite:[13:20] Found expr:[8:14->33:3]
posCursor:[13:21] posNoWhite:[13:20] Found expr:[9:4->32:10]
posCursor:[13:21] posNoWhite:[13:20] Found expr:[10:4->32:10]
posCursor:[13:21] posNoWhite:[13:20] Found expr:[11:4->32:10]
posCursor:[13:21] posNoWhite:[13:20] Found expr:[12:4->32:10]
posCursor:[13:21] posNoWhite:[13:20] Found expr:[13:7->32:10]
posCursor:[13:21] posNoWhite:[13:20] Found expr:[13:7->13:21]
Completable: Cpath Value[someString]->st <<jsx>>
Package opens Pervasives.JsxModules.place holder
Resolved opens 1 pervasives
ContextPath Value[someString]->st <<jsx>>
ContextPath Value[someString]
Path someString
CPPipe env:CompletionJsx
Path Js.String2.st
[{
"label": "React.string",
"kind": 12,
"tags": [],
"detail": "string",
"documentation": {"kind": "markdown", "value": "Turns `string` into `React.element` so it can be used inside of JSX."},
"sortText": "A",
"insertTextFormat": 2
}, {
"label": "Js.String2.startsWith",
"kind": 12,
"tags": [],
"detail": "(t, t) => bool",
"documentation": {"kind": "markdown", "value": "\nES2015: `startsWith(str, substr)` returns `true` if the `str` starts with\n`substr`, `false` otherwise.\n\nSee [`String.startsWith`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String/startsWith)\non MDN.\n\n## Examples\n\n```rescript\nJs.String2.startsWith(\"ReScript\", \"Re\") == true\nJs.String2.startsWith(\"ReScript\", \"\") == true\nJs.String2.startsWith(\"JavaScript\", \"Re\") == false\n```\n"}
}, {
"label": "Js.String2.startsWithFrom",
"kind": 12,
"tags": [],
"detail": "(t, t, int) => bool",
"documentation": {"kind": "markdown", "value": "\nES2015: `startsWithFrom(str, substr, n)` returns `true` if the `str` starts\nwith `substr` starting at position `n`, false otherwise. If `n` is negative,\nthe search starts at the beginning of `str`.\n\nSee [`String.startsWith`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String/startsWith)\non MDN.\n\n## Examples\n\n```rescript\nJs.String2.startsWithFrom(\"ReScript\", \"Scri\", 2) == true\nJs.String2.startsWithFrom(\"ReScript\", \"\", 2) == true\nJs.String2.startsWithFrom(\"JavaScript\", \"Scri\", 2) == false\n```\n"}
}]
Complete src/CompletionJsx.res 18:24
posCursor:[18:24] posNoWhite:[18:23] Found expr:[8:13->33:3]
posCursor:[18:24] posNoWhite:[18:23] Found expr:[8:14->33:3]
posCursor:[18:24] posNoWhite:[18:23] Found expr:[9:4->32:10]
posCursor:[18:24] posNoWhite:[18:23] Found expr:[10:4->32:10]
posCursor:[18:24] posNoWhite:[18:23] Found expr:[11:4->32:10]
posCursor:[18:24] posNoWhite:[18:23] Found expr:[12:4->32:10]
posCursor:[18:24] posNoWhite:[18:23] Found expr:[15:5->32:10]
JSX <div:[15:5->15:8] > _children:15:8
posCursor:[18:24] posNoWhite:[18:23] Found expr:[15:8->32:4]
Pexp_construct :::[16:7->32:4] [16:7->32:4]
posCursor:[18:24] posNoWhite:[18:23] Found expr:[16:7->32:4]
posCursor:[18:24] posNoWhite:[18:23] Found expr:[17:7->32:4]
Pexp_construct :::[17:7->32:4] [17:7->32:4]
posCursor:[18:24] posNoWhite:[18:23] Found expr:[17:7->32:4]
posCursor:[18:24] posNoWhite:[18:23] Found expr:[18:10->32:4]
Pexp_construct :::[18:10->32:4] [18:10->32:4]
posCursor:[18:24] posNoWhite:[18:23] Found expr:[18:10->32:4]
posCursor:[18:24] posNoWhite:[18:23] Found expr:[18:10->18:24]
Completable: Cpath Value[someString]->st <<jsx>>
Package opens Pervasives.JsxModules.place holder
Resolved opens 1 pervasives
ContextPath Value[someString]->st <<jsx>>
ContextPath Value[someString]
Path someString
CPPipe env:CompletionJsx
Path Js.String2.st
[{
"label": "React.string",
"kind": 12,
"tags": [],
"detail": "string",
"documentation": {"kind": "markdown", "value": "Turns `string` into `React.element` so it can be used inside of JSX."},
"sortText": "A",
"insertTextFormat": 2
}, {
"label": "Js.String2.startsWith",
"kind": 12,
"tags": [],
"detail": "(t, t) => bool",
"documentation": {"kind": "markdown", "value": "\nES2015: `startsWith(str, substr)` returns `true` if the `str` starts with\n`substr`, `false` otherwise.\n\nSee [`String.startsWith`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String/startsWith)\non MDN.\n\n## Examples\n\n```rescript\nJs.String2.startsWith(\"ReScript\", \"Re\") == true\nJs.String2.startsWith(\"ReScript\", \"\") == true\nJs.String2.startsWith(\"JavaScript\", \"Re\") == false\n```\n"}
}, {
"label": "Js.String2.startsWithFrom",
"kind": 12,
"tags": [],
"detail": "(t, t, int) => bool",
"documentation": {"kind": "markdown", "value": "\nES2015: `startsWithFrom(str, substr, n)` returns `true` if the `str` starts\nwith `substr` starting at position `n`, false otherwise. If `n` is negative,\nthe search starts at the beginning of `str`.\n\nSee [`String.startsWith`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String/startsWith)\non MDN.\n\n## Examples\n\n```rescript\nJs.String2.startsWithFrom(\"ReScript\", \"Scri\", 2) == true\nJs.String2.startsWithFrom(\"ReScript\", \"\", 2) == true\nJs.String2.startsWithFrom(\"JavaScript\", \"Scri\", 2) == false\n```\n"}
}]
Complete src/CompletionJsx.res 20:27
posCursor:[20:27] posNoWhite:[20:26] Found expr:[8:13->33:3]
posCursor:[20:27] posNoWhite:[20:26] Found expr:[8:14->33:3]
posCursor:[20:27] posNoWhite:[20:26] Found expr:[9:4->32:10]
posCursor:[20:27] posNoWhite:[20:26] Found expr:[10:4->32:10]
posCursor:[20:27] posNoWhite:[20:26] Found expr:[11:4->32:10]
posCursor:[20:27] posNoWhite:[20:26] Found expr:[12:4->32:10]
posCursor:[20:27] posNoWhite:[20:26] Found expr:[15:5->32:10]
JSX <div:[15:5->15:8] > _children:15:8
posCursor:[20:27] posNoWhite:[20:26] Found expr:[15:8->32:4]
Pexp_construct :::[16:7->32:4] [16:7->32:4]
posCursor:[20:27] posNoWhite:[20:26] Found expr:[16:7->32:4]
posCursor:[20:27] posNoWhite:[20:26] Found expr:[17:7->32:4]
Pexp_construct :::[17:7->32:4] [17:7->32:4]
posCursor:[20:27] posNoWhite:[20:26] Found expr:[17:7->32:4]
posCursor:[20:27] posNoWhite:[20:26] Found expr:[20:10->32:4]
Pexp_construct :::[20:10->32:4] [20:10->32:4]
posCursor:[20:27] posNoWhite:[20:26] Found expr:[20:10->32:4]
posCursor:[20:27] posNoWhite:[20:26] Found expr:[20:10->20:27]
Completable: Cpath string->st <<jsx>>
Package opens Pervasives.JsxModules.place holder
Resolved opens 1 pervasives
ContextPath string->st <<jsx>>
ContextPath string
CPPipe env:CompletionJsx
Path Js.String2.st
[{
"label": "React.string",
"kind": 12,
"tags": [],
"detail": "string",
"documentation": {"kind": "markdown", "value": "Turns `string` into `React.element` so it can be used inside of JSX."},
"sortText": "A",
"insertTextFormat": 2
}, {
"label": "Js.String2.startsWith",
"kind": 12,
"tags": [],
"detail": "(t, t) => bool",
"documentation": {"kind": "markdown", "value": "\nES2015: `startsWith(str, substr)` returns `true` if the `str` starts with\n`substr`, `false` otherwise.\n\nSee [`String.startsWith`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String/startsWith)\non MDN.\n\n## Examples\n\n```rescript\nJs.String2.startsWith(\"ReScript\", \"Re\") == true\nJs.String2.startsWith(\"ReScript\", \"\") == true\nJs.String2.startsWith(\"JavaScript\", \"Re\") == false\n```\n"}
}, {
"label": "Js.String2.startsWithFrom",
"kind": 12,
"tags": [],
"detail": "(t, t, int) => bool",
"documentation": {"kind": "markdown", "value": "\nES2015: `startsWithFrom(str, substr, n)` returns `true` if the `str` starts\nwith `substr` starting at position `n`, false otherwise. If `n` is negative,\nthe search starts at the beginning of `str`.\n\nSee [`String.startsWith`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String/startsWith)\non MDN.\n\n## Examples\n\n```rescript\nJs.String2.startsWithFrom(\"ReScript\", \"Scri\", 2) == true\nJs.String2.startsWithFrom(\"ReScript\", \"\", 2) == true\nJs.String2.startsWithFrom(\"JavaScript\", \"Scri\", 2) == false\n```\n"}
}]
Complete src/CompletionJsx.res 22:44
posCursor:[22:44] posNoWhite:[22:43] Found expr:[8:13->33:3]
posCursor:[22:44] posNoWhite:[22:43] Found expr:[8:14->33:3]
posCursor:[22:44] posNoWhite:[22:43] Found expr:[9:4->32:10]
posCursor:[22:44] posNoWhite:[22:43] Found expr:[10:4->32:10]
posCursor:[22:44] posNoWhite:[22:43] Found expr:[11:4->32:10]
posCursor:[22:44] posNoWhite:[22:43] Found expr:[12:4->32:10]
posCursor:[22:44] posNoWhite:[22:43] Found expr:[15:5->32:10]
JSX <div:[15:5->15:8] > _children:15:8
posCursor:[22:44] posNoWhite:[22:43] Found expr:[15:8->32:4]
Pexp_construct :::[16:7->32:4] [16:7->32:4]
posCursor:[22:44] posNoWhite:[22:43] Found expr:[16:7->32:4]
posCursor:[22:44] posNoWhite:[22:43] Found expr:[17:7->32:4]
Pexp_construct :::[17:7->32:4] [17:7->32:4]
posCursor:[22:44] posNoWhite:[22:43] Found expr:[17:7->32:4]
posCursor:[22:44] posNoWhite:[22:43] Found expr:[22:10->32:4]
Pexp_construct :::[22:10->32:4] [22:10->32:4]
posCursor:[22:44] posNoWhite:[22:43] Found expr:[22:10->32:4]
posCursor:[22:44] posNoWhite:[22:43] Found expr:[22:10->22:44]
Completable: Cpath Value[Js, String2, trim](Nolabel)->st <<jsx>>
Package opens Pervasives.JsxModules.place holder
Resolved opens 1 pervasives
ContextPath Value[Js, String2, trim](Nolabel)->st <<jsx>>
ContextPath Value[Js, String2, trim](Nolabel)
ContextPath Value[Js, String2, trim]
Path Js.String2.trim
CPPipe env:CompletionJsx envFromCompletionItem:Js_string2
Path Js.String2.st
[{
"label": "React.string",
"kind": 12,
"tags": [],
"detail": "string",
"documentation": {"kind": "markdown", "value": "Turns `string` into `React.element` so it can be used inside of JSX."},
"sortText": "A",
"insertTextFormat": 2
}, {
"label": "Js.String2.startsWith",
"kind": 12,
"tags": [],
"detail": "(t, t) => bool",
"documentation": {"kind": "markdown", "value": "\nES2015: `startsWith(str, substr)` returns `true` if the `str` starts with\n`substr`, `false` otherwise.\n\nSee [`String.startsWith`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String/startsWith)\non MDN.\n\n## Examples\n\n```rescript\nJs.String2.startsWith(\"ReScript\", \"Re\") == true\nJs.String2.startsWith(\"ReScript\", \"\") == true\nJs.String2.startsWith(\"JavaScript\", \"Re\") == false\n```\n"}
}, {
"label": "Js.String2.startsWithFrom",
"kind": 12,
"tags": [],
"detail": "(t, t, int) => bool",
"documentation": {"kind": "markdown", "value": "\nES2015: `startsWithFrom(str, substr, n)` returns `true` if the `str` starts\nwith `substr` starting at position `n`, false otherwise. If `n` is negative,\nthe search starts at the beginning of `str`.\n\nSee [`String.startsWith`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String/startsWith)\non MDN.\n\n## Examples\n\n```rescript\nJs.String2.startsWithFrom(\"ReScript\", \"Scri\", 2) == true\nJs.String2.startsWithFrom(\"ReScript\", \"\", 2) == true\nJs.String2.startsWithFrom(\"JavaScript\", \"Scri\", 2) == false\n```\n"}
}]
Complete src/CompletionJsx.res 24:19
posCursor:[24:19] posNoWhite:[24:18] Found expr:[8:13->33:3]
posCursor:[24:19] posNoWhite:[24:18] Found expr:[8:14->33:3]
posCursor:[24:19] posNoWhite:[24:18] Found expr:[9:4->32:10]
posCursor:[24:19] posNoWhite:[24:18] Found expr:[10:4->32:10]
posCursor:[24:19] posNoWhite:[24:18] Found expr:[11:4->32:10]
posCursor:[24:19] posNoWhite:[24:18] Found expr:[12:4->32:10]
posCursor:[24:19] posNoWhite:[24:18] Found expr:[15:5->32:10]
JSX <div:[15:5->15:8] > _children:15:8
posCursor:[24:19] posNoWhite:[24:18] Found expr:[15:8->32:4]
Pexp_construct :::[16:7->32:4] [16:7->32:4]
posCursor:[24:19] posNoWhite:[24:18] Found expr:[16:7->32:4]
posCursor:[24:19] posNoWhite:[24:18] Found expr:[17:7->32:4]
Pexp_construct :::[17:7->32:4] [17:7->32:4]
posCursor:[24:19] posNoWhite:[24:18] Found expr:[17:7->32:4]
posCursor:[24:19] posNoWhite:[24:18] Found expr:[24:10->32:4]
Pexp_construct :::[24:10->32:4] [24:10->32:4]
posCursor:[24:19] posNoWhite:[24:18] Found expr:[24:10->32:4]
posCursor:[24:19] posNoWhite:[24:18] Found expr:[24:10->0:-1]
Completable: Cpath Value[someInt]-> <<jsx>>
Package opens Pervasives.JsxModules.place holder
Resolved opens 1 pervasives
ContextPath Value[someInt]-> <<jsx>>
ContextPath Value[someInt]
Path someInt
CPPipe env:CompletionJsx
Path Belt.Int.
[{
"label": "React.int",
"kind": 12,
"tags": [],
"detail": "int",
"documentation": {"kind": "markdown", "value": "Turns `int` into `React.element` so it can be used inside of JSX."},
"sortText": "A",
"insertTextFormat": 2
}, {
"label": "Belt.Int.fromString",
"kind": 12,
"tags": [],
"detail": "string => option<int>",
"documentation": {"kind": "markdown", "value": "\nConverts a given `string` to an `int`. Returns `Some(int)` when the input is a number, `None` otherwise.\n\n## Examples\n\n```rescript\nJs.log(Belt.Int.fromString(\"1\") === Some(1)) /* true */\n```\n"}
}, {
"label": "Belt.Int.*",
"kind": 12,
"tags": [],
"detail": "(int, int) => int",
"documentation": {"kind": "markdown", "value": "\nMultiplication of two `int` values. Same as the multiplication from `Pervasives`.\n\n## Examples\n\n```rescript\nopen Belt.Int\nJs.log(2 * 2 === 4) /* true */\n```\n"}
}, {
"label": "Belt.Int./",
"kind": 12,
"tags": [],
"detail": "(int, int) => int",
"documentation": {"kind": "markdown", "value": "\nDivision of two `int` values. Same as the division from `Pervasives`.\n\n## Examples\n\n```rescript\nopen Belt.Int\nJs.log(4 / 2 === 2); /* true */\n```\n"}
}, {
"label": "Belt.Int.toString",
"kind": 12,
"tags": [],
"detail": "int => string",
"documentation": {"kind": "markdown", "value": "\nConverts a given `int` to a `string`. Uses the JavaScript `String` constructor under the hood.\n\n## Examples\n\n```rescript\nJs.log(Belt.Int.toString(1) === \"1\") /* true */\n```\n"}
}, {
"label": "Belt.Int.toFloat",
"kind": 12,
"tags": [],
"detail": "int => float",
"documentation": {"kind": "markdown", "value": "\nConverts a given `int` to a `float`.\n\n## Examples\n\n```rescript\nJs.log(Belt.Int.toFloat(1) === 1.0) /* true */\n```\n"}
}, {
"label": "Belt.Int.fromFloat",
"kind": 12,
"tags": [],
"detail": "float => int",
"documentation": {"kind": "markdown", "value": "\nConverts a given `float` to an `int`.\n\n## Examples\n\n```rescript\nJs.log(Belt.Int.fromFloat(1.0) === 1) /* true */\n```\n"}
}, {
"label": "Belt.Int.-",
"kind": 12,
"tags": [],
"detail": "(int, int) => int",
"documentation": {"kind": "markdown", "value": "\nSubtraction of two `int` values. Same as the subtraction from `Pervasives`.\n\n## Examples\n\n```rescript\nopen Belt.Int\nJs.log(2 - 1 === 1) /* true */\n```\n"}
}, {
"label": "Belt.Int.+",
"kind": 12,
"tags": [],
"detail": "(int, int) => int",
"documentation": {"kind": "markdown", "value": "\nAddition of two `int` values. Same as the addition from `Pervasives`.\n\n## Examples\n\n```rescript\nopen Belt.Int\nJs.log(2 + 2 === 4) /* true */\n```\n"}
}]
Complete src/CompletionJsx.res 26:14
posCursor:[26:14] posNoWhite:[26:13] Found expr:[8:13->33:3]
posCursor:[26:14] posNoWhite:[26:13] Found expr:[8:14->33:3]
posCursor:[26:14] posNoWhite:[26:13] Found expr:[9:4->32:10]
posCursor:[26:14] posNoWhite:[26:13] Found expr:[10:4->32:10]
posCursor:[26:14] posNoWhite:[26:13] Found expr:[11:4->32:10]
posCursor:[26:14] posNoWhite:[26:13] Found expr:[12:4->32:10]
posCursor:[26:14] posNoWhite:[26:13] Found expr:[15:5->32:10]
JSX <div:[15:5->15:8] > _children:15:8
posCursor:[26:14] posNoWhite:[26:13] Found expr:[15:8->32:4]
Pexp_construct :::[16:7->32:4] [16:7->32:4]
posCursor:[26:14] posNoWhite:[26:13] Found expr:[16:7->32:4]
posCursor:[26:14] posNoWhite:[26:13] Found expr:[17:7->32:4]
Pexp_construct :::[17:7->32:4] [17:7->32:4]
posCursor:[26:14] posNoWhite:[26:13] Found expr:[17:7->32:4]
posCursor:[26:14] posNoWhite:[26:13] Found expr:[26:10->32:4]
Pexp_construct :::[26:10->32:4] [26:10->32:4]
posCursor:[26:14] posNoWhite:[26:13] Found expr:[26:10->32:4]
posCursor:[26:14] posNoWhite:[26:13] Found expr:[26:10->0:-1]
Completable: Cpath int-> <<jsx>>
Package opens Pervasives.JsxModules.place holder
Resolved opens 1 pervasives
ContextPath int-> <<jsx>>
ContextPath int
CPPipe env:CompletionJsx
Path Belt.Int.
[{
"label": "React.int",
"kind": 12,
"tags": [],
"detail": "int",
"documentation": {"kind": "markdown", "value": "Turns `int` into `React.element` so it can be used inside of JSX."},
"sortText": "A",
"insertTextFormat": 2
}, {
"label": "Belt.Int.fromString",
"kind": 12,
"tags": [],
"detail": "string => option<int>",
"documentation": {"kind": "markdown", "value": "\nConverts a given `string` to an `int`. Returns `Some(int)` when the input is a number, `None` otherwise.\n\n## Examples\n\n```rescript\nJs.log(Belt.Int.fromString(\"1\") === Some(1)) /* true */\n```\n"}
}, {
"label": "Belt.Int.*",
"kind": 12,
"tags": [],
"detail": "(int, int) => int",
"documentation": {"kind": "markdown", "value": "\nMultiplication of two `int` values. Same as the multiplication from `Pervasives`.\n\n## Examples\n\n```rescript\nopen Belt.Int\nJs.log(2 * 2 === 4) /* true */\n```\n"}
}, {
"label": "Belt.Int./",
"kind": 12,
"tags": [],
"detail": "(int, int) => int",
"documentation": {"kind": "markdown", "value": "\nDivision of two `int` values. Same as the division from `Pervasives`.\n\n## Examples\n\n```rescript\nopen Belt.Int\nJs.log(4 / 2 === 2); /* true */\n```\n"}
}, {
"label": "Belt.Int.toString",
"kind": 12,
"tags": [],
"detail": "int => string",
"documentation": {"kind": "markdown", "value": "\nConverts a given `int` to a `string`. Uses the JavaScript `String` constructor under the hood.\n\n## Examples\n\n```rescript\nJs.log(Belt.Int.toString(1) === \"1\") /* true */\n```\n"}
}, {
"label": "Belt.Int.toFloat",
"kind": 12,
"tags": [],
"detail": "int => float",
"documentation": {"kind": "markdown", "value": "\nConverts a given `int` to a `float`.\n\n## Examples\n\n```rescript\nJs.log(Belt.Int.toFloat(1) === 1.0) /* true */\n```\n"}
}, {
"label": "Belt.Int.fromFloat",
"kind": 12,
"tags": [],
"detail": "float => int",
"documentation": {"kind": "markdown", "value": "\nConverts a given `float` to an `int`.\n\n## Examples\n\n```rescript\nJs.log(Belt.Int.fromFloat(1.0) === 1) /* true */\n```\n"}
}, {
"label": "Belt.Int.-",
"kind": 12,
"tags": [],
"detail": "(int, int) => int",
"documentation": {"kind": "markdown", "value": "\nSubtraction of two `int` values. Same as the subtraction from `Pervasives`.\n\n## Examples\n\n```rescript\nopen Belt.Int\nJs.log(2 - 1 === 1) /* true */\n```\n"}
}, {
"label": "Belt.Int.+",
"kind": 12,
"tags": [],
"detail": "(int, int) => int",
"documentation": {"kind": "markdown", "value": "\nAddition of two `int` values. Same as the addition from `Pervasives`.\n\n## Examples\n\n```rescript\nopen Belt.Int\nJs.log(2 + 2 === 4) /* true */\n```\n"}
}]
Complete src/CompletionJsx.res 28:20
posCursor:[28:20] posNoWhite:[28:19] Found expr:[8:13->33:3]
posCursor:[28:20] posNoWhite:[28:19] Found expr:[8:14->33:3]
posCursor:[28:20] posNoWhite:[28:19] Found expr:[9:4->32:10]
posCursor:[28:20] posNoWhite:[28:19] Found expr:[10:4->32:10]
posCursor:[28:20] posNoWhite:[28:19] Found expr:[11:4->32:10]
posCursor:[28:20] posNoWhite:[28:19] Found expr:[12:4->32:10]
posCursor:[28:20] posNoWhite:[28:19] Found expr:[15:5->32:10]
JSX <div:[15:5->15:8] > _children:15:8
posCursor:[28:20] posNoWhite:[28:19] Found expr:[15:8->32:4]
Pexp_construct :::[16:7->32:4] [16:7->32:4]
posCursor:[28:20] posNoWhite:[28:19] Found expr:[16:7->32:4]
posCursor:[28:20] posNoWhite:[28:19] Found expr:[17:7->32:4]
Pexp_construct :::[17:7->32:4] [17:7->32:4]
posCursor:[28:20] posNoWhite:[28:19] Found expr:[17:7->32:4]
posCursor:[28:20] posNoWhite:[28:19] Found expr:[28:10->32:4]
Pexp_construct :::[28:10->32:4] [28:10->32:4]
posCursor:[28:20] posNoWhite:[28:19] Found expr:[28:10->32:4]
posCursor:[28:20] posNoWhite:[28:19] Found expr:[28:10->28:20]
Completable: Cpath Value[someArr]->a <<jsx>>
Package opens Pervasives.JsxModules.place holder
Resolved opens 1 pervasives
ContextPath Value[someArr]->a <<jsx>>
ContextPath Value[someArr]
Path someArr
CPPipe env:CompletionJsx
Path Js.Array2.a
[{
"label": "React.array",
"kind": 12,
"tags": [],
"detail": "array<React.element>",
"documentation": {"kind": "markdown", "value": "Turns `array` into `React.element` so it can be used inside of JSX."},
"sortText": "A",
"insertTextFormat": 2
}, {
"label": "Js.Array2.append",
"kind": 12,
"tags": [1],
"detail": "(t<'a>, 'a) => t<'a>",
"documentation": {"kind": "markdown", "value": "Deprecated: `append` is not type-safe. Use `concat` instead.\n\n"}
}]
Complete src/CompletionJsx.res 30:12
posCursor:[30:12] posNoWhite:[30:11] Found expr:[8:13->33:3]
posCursor:[30:12] posNoWhite:[30:11] Found expr:[8:14->33:3]
posCursor:[30:12] posNoWhite:[30:11] Found expr:[9:4->32:10]
posCursor:[30:12] posNoWhite:[30:11] Found expr:[10:4->32:10]
posCursor:[30:12] posNoWhite:[30:11] Found expr:[11:4->32:10]
posCursor:[30:12] posNoWhite:[30:11] Found expr:[12:4->32:10]
posCursor:[30:12] posNoWhite:[30:11] Found expr:[15:5->32:10]
JSX <div:[15:5->15:8] > _children:15:8
posCursor:[30:12] posNoWhite:[30:11] Found expr:[15:8->33:2]
Pexp_construct :::[16:7->33:2] [16:7->33:2]
posCursor:[30:12] posNoWhite:[30:11] Found expr:[16:7->33:2]
posCursor:[30:12] posNoWhite:[30:11] Found expr:[17:7->33:2]
Pexp_construct :::[17:7->33:2] [17:7->33:2]
posCursor:[30:12] posNoWhite:[30:11] Found expr:[17:7->33:2]
posCursor:[30:12] posNoWhite:[30:11] Found expr:[30:10->33:2]
Pexp_construct :::[30:10->33:2] [30:10->33:2]
posCursor:[30:12] posNoWhite:[30:11] Found expr:[30:10->33:2]
posCursor:[30:12] posNoWhite:[30:11] Found expr:[30:10->32:10]
JSX <di:[30:10->30:12] div[32:6->32:9]=...[32:6->32:9]> _children:32:9
Completable: ChtmlElement <di
Package opens Pervasives.JsxModules.place holder
Resolved opens 1 pervasives
[{
"label": "<dialog>",
"kind": 4,
"tags": [],
"detail": "Defines a dialog box or subwindow.",
"documentation": {"kind": "markdown", "value": "Defines a dialog box or subwindow."},
"insertText": "dialog"
}, {
"label": "<dir>",
"kind": 4,
"tags": [1],
"detail": "Defines a directory list. Use <ul> instead.",
"documentation": {"kind": "markdown", "value": "Deprecated: true\n\nDefines a directory list. Use <ul> instead."},
"insertText": "dir"
}, {
"label": "<div>",
"kind": 4,
"tags": [],
"detail": "Specifies a division or a section in a document.",
"documentation": {"kind": "markdown", "value": "Specifies a division or a section in a document."},
"insertText": "div"
}]
Complete src/CompletionJsx.res 45:23
posCursor:[45:23] posNoWhite:[45:22] Found expr:[45:4->45:23]
JSX <CompWithoutJsxPpx:[45:4->45:21] n[45:22->45:23]=...[45:22->45:23]> _children:None
Completable: Cjsx([CompWithoutJsxPpx], n, [n])
Package opens Pervasives.JsxModules.place holder
Resolved opens 1 pervasives
Path CompWithoutJsxPpx.make
[{
"label": "name",
"kind": 4,
"tags": [],
"detail": "string",
"documentation": null
}]
Complete src/CompletionJsx.res 48:27
posCursor:[48:27] posNoWhite:[48:26] Found expr:[48:4->48:28]
JSX <SomeComponent:[48:4->48:17] someProp[48:18->48:26]=...[48:18->48:26]> _children:None
Completable: Cexpression CJsxPropValue [SomeComponent] someProp
Package opens Pervasives.JsxModules.place holder
Resolved opens 1 pervasives
ContextPath CJsxPropValue [SomeComponent] someProp
Path SomeComponent.make
[{
"label": "\"\"",
"kind": 12,
"tags": [],
"detail": "string",
"documentation": null,
"sortText": "A",
"insertText": "{\"$0\"}",
"insertTextFormat": 2
}]
Complete src/CompletionJsx.res 51:11
posCursor:[51:11] posNoWhite:[51:10] Found expr:[51:4->51:11]
JSX <h1:[51:4->51:6] hidd[51:7->51:11]=...[51:7->51:11]> _children:None
Completable: Cjsx([h1], hidd, [hidd])
Package opens Pervasives.JsxModules.place holder
Resolved opens 1 pervasives
Path ReactDOM.domProps
Path PervasivesU.JsxDOM.domProps
[{
"label": "hidden",
"kind": 4,
"tags": [],
"detail": "bool",
"documentation": null
}]