You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: tests/analysis_tests/tests/src/expected/CompletionJsx.res.txt
-84Lines changed: 0 additions & 84 deletions
Original file line number
Diff line number
Diff line change
@@ -232,36 +232,18 @@ Path Stdlib.Int.
232
232
"tags": [1],
233
233
"detail": "(int, ~radix: int) => string",
234
234
"documentation": {"kind": "markdown", "value": "Deprecated: Use `toString` instead\n\n\n`toStringWithRadix(n, ~radix)` return a `string` representing the given value.\n`~radix` specifies the radix base to use for the formatted number.\nSee [`Number.toString`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Number/toString)\non MDN.\n\n## Examples\n\n```rescript\nInt.toStringWithRadix(6, ~radix=2) // \"110\"\nInt.toStringWithRadix(373592855, ~radix=16) // \"16449317\"\nInt.toStringWithRadix(123456, ~radix=36) // \"2n9c\"\n```\n\n## Exceptions\n\n`RangeError`: if `radix` is less than 2 or greater than 36.\n"}
235
-
}, {
236
-
"label": "Int.leftShift",
237
-
"kind": 12,
238
-
"tags": [],
239
-
"detail": "(int, int) => int",
240
-
"documentation": {"kind": "markdown", "value": "\n`leftShift(n, length)` calculates the shifted value of an integer `n` by `length` bits to the left.\n\n## Examples\n\n```rescript\nInt.leftShift(4, 1) == 8\n```\n"}
241
235
}, {
242
236
"label": "Int.toExponentialWithPrecision",
243
237
"kind": 12,
244
238
"tags": [1],
245
239
"detail": "(int, ~digits: int) => string",
246
240
"documentation": {"kind": "markdown", "value": "Deprecated: Use `toExponential` instead\n\n\n`toExponential(n, ~digits)` return a `string` representing the given value in\nexponential notation. `digits` specifies how many digits should appear after\nthe decimal point. See [`Number.toExponential`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Number/toExponential)\non MDN.\n\n## Examples\n\n```rescript\nInt.toExponentialWithPrecision(77, ~digits=2) // \"7.70e+1\"\nInt.toExponentialWithPrecision(5678, ~digits=2) // \"5.68e+3\"\n```\n\n## Exceptions\n\n- `RangeError`: If `digits` less than 0 or greater than 10.\n"}
247
-
}, {
248
-
"label": "Int.bitwiseXor",
249
-
"kind": 12,
250
-
"tags": [],
251
-
"detail": "(int, int) => int",
252
-
"documentation": {"kind": "markdown", "value": "\n`bigwiseXor(n1, n2)` calculates the bitwise XOR of two integers.\n\n## Examples\n\n```rescript\nInt.bitwiseXor(7, 4) == 3\n```\n"}
"documentation": {"kind": "markdown", "value": "\n`unsignedRightShift(n, length)` calculates the shifted value of an integer `n` by `length` bits to the right.\nExcess bits shifted off to the right are discarded, and zero bits are shifted in from the left.\n\nAlso known as \"zero-filling right shift\" operation.\n\n## Examples\n\n```rescript\nInt.unsignedRightShift(4, 1) == 2\n```\n"}
265
247
}, {
266
248
"label": "Int.toFixedWithPrecision",
267
249
"kind": 12,
@@ -274,12 +256,6 @@ Path Stdlib.Int.
274
256
"tags": [1],
275
257
"detail": "(int, ~digits: int) => string",
276
258
"documentation": {"kind": "markdown", "value": "Deprecated: Use `toPrecision` instead\n\n\n`toPrecisionWithPrecision(n, ~digits)` return a `string` representing the giver value with\nprecision. `digits` specifies the number of significant digits. See [`Number.toPrecision`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Number/toPrecision) on MDN.\n\n## Examples\n\n```rescript\nInt.toPrecisionWithPrecision(100, ~digits=2) // \"1.0e+2\"\nInt.toPrecisionWithPrecision(1, ~digits=2) // \"1.0\"\n```\n\n## Exceptions\n\n- `RangeError`: If `digits` is not between 1 and 100 (inclusive).\nImplementations are allowed to support larger and smaller values as well.\nECMA-262 only requires a precision of up to 21 significant digits.\n\n"}
277
-
}, {
278
-
"label": "Int.bitwiseAnd",
279
-
"kind": 12,
280
-
"tags": [],
281
-
"detail": "(int, int) => int",
282
-
"documentation": {"kind": "markdown", "value": "\n`bitwiseAnd(n1, n2)` calculates the bitwise AND of two integers.\n\n## Examples\n\n```rescript\nInt.bitwiseAnd(7, 4) == 4\n```\n"}
283
259
}, {
284
260
"label": "Int.compare",
285
261
"kind": 12,
@@ -292,12 +268,6 @@ Path Stdlib.Int.
292
268
"tags": [],
293
269
"detail": "int => unit",
294
270
"documentation": {"kind": "markdown", "value": "\n `ignore(int)` ignores the provided int and returns unit.\n\n This helper is useful when you want to discard a value (for example, the result of an operation with side effects)\n without having to store or process it further.\n"}
295
-
}, {
296
-
"label": "Int.bitwiseOr",
297
-
"kind": 12,
298
-
"tags": [],
299
-
"detail": "(int, int) => int",
300
-
"documentation": {"kind": "markdown", "value": "\n`bitwiseOr(n1, n2)` calculates the bitwise OR of two integers.\n\n## Examples\n\n```rescript\nInt.bitwiseOr(7, 4) == 7\n```\n"}
301
271
}, {
302
272
"label": "Int.toPrecision",
303
273
"kind": 12,
@@ -340,12 +310,6 @@ Path Stdlib.Int.
340
310
"tags": [],
341
311
"detail": "int => string",
342
312
"documentation": {"kind": "markdown", "value": "\n`toLocaleString(n)` return a `string` with language-sensitive representing the\ngiven value. See [`Number.toLocaleString`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Number/toLocaleString) on MDN.\n\n## Examples\n\n```rescript\n// If the application uses English as the default language\nInt.toLocaleString(1000) // \"1,000\"\n\n// If the application uses Portuguese Brazil as the default language\nInt.toLocaleString(1000) // \"1.000\"\n```\n"}
343
-
}, {
344
-
"label": "Int.bitwiseNot",
345
-
"kind": 12,
346
-
"tags": [],
347
-
"detail": "int => int",
348
-
"documentation": {"kind": "markdown", "value": "\n`bitwiseNot(n)` calculates the bitwise NOT of an integer.\n\n## Examples\n\n```rescript\nInt.bitwiseNot(2) == -3\n```\n"}
349
313
}, {
350
314
"label": "Int.toExponential",
351
315
"kind": 12,
@@ -358,12 +322,6 @@ Path Stdlib.Int.
358
322
"tags": [],
359
323
"detail": "(int, ~digits: int=?) => string",
360
324
"documentation": {"kind": "markdown", "value": "\n`toFixed(n, ~digits=?)` return a `string` representing the given\nvalue using fixed-point notation. `digits` specifies how many digits should\nappear after the decimal point. See [`Number.toFixed`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Number/toFixed)\non MDN.\n\n## Examples\n\n```rescript\nInt.toFixed(123456) // \"123456.00\"\nInt.toFixed(10) // \"10.00\"\nInt.toFixed(300, ~digits=4) // \"300.0000\"\nInt.toFixed(300, ~digits=1) // \"300.0\"\n```\n\n## Exceptions\n\n- `RangeError`: If `digits` is less than 0 or larger than 100.\n"}
361
-
}, {
362
-
"label": "Int.rightShift",
363
-
"kind": 12,
364
-
"tags": [],
365
-
"detail": "(int, int) => int",
366
-
"documentation": {"kind": "markdown", "value": "\n`rightShift(n, length)` calculates the shifted value of an integer `n` by `length` bits to the right.\n\nAlso known as \"arithmetic right shift\" operation.\n\n## Examples\n\n```rescript\nInt.rightShift(8, 1) == 4\n```\n"}
367
325
}]
368
326
369
327
Complete src/CompletionJsx.res 26:14
@@ -407,36 +365,18 @@ Path Stdlib.Int.
407
365
"tags": [1],
408
366
"detail": "(int, ~radix: int) => string",
409
367
"documentation": {"kind": "markdown", "value": "Deprecated: Use `toString` instead\n\n\n`toStringWithRadix(n, ~radix)` return a `string` representing the given value.\n`~radix` specifies the radix base to use for the formatted number.\nSee [`Number.toString`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Number/toString)\non MDN.\n\n## Examples\n\n```rescript\nInt.toStringWithRadix(6, ~radix=2) // \"110\"\nInt.toStringWithRadix(373592855, ~radix=16) // \"16449317\"\nInt.toStringWithRadix(123456, ~radix=36) // \"2n9c\"\n```\n\n## Exceptions\n\n`RangeError`: if `radix` is less than 2 or greater than 36.\n"}
410
-
}, {
411
-
"label": "Int.leftShift",
412
-
"kind": 12,
413
-
"tags": [],
414
-
"detail": "(int, int) => int",
415
-
"documentation": {"kind": "markdown", "value": "\n`leftShift(n, length)` calculates the shifted value of an integer `n` by `length` bits to the left.\n\n## Examples\n\n```rescript\nInt.leftShift(4, 1) == 8\n```\n"}
416
368
}, {
417
369
"label": "Int.toExponentialWithPrecision",
418
370
"kind": 12,
419
371
"tags": [1],
420
372
"detail": "(int, ~digits: int) => string",
421
373
"documentation": {"kind": "markdown", "value": "Deprecated: Use `toExponential` instead\n\n\n`toExponential(n, ~digits)` return a `string` representing the given value in\nexponential notation. `digits` specifies how many digits should appear after\nthe decimal point. See [`Number.toExponential`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Number/toExponential)\non MDN.\n\n## Examples\n\n```rescript\nInt.toExponentialWithPrecision(77, ~digits=2) // \"7.70e+1\"\nInt.toExponentialWithPrecision(5678, ~digits=2) // \"5.68e+3\"\n```\n\n## Exceptions\n\n- `RangeError`: If `digits` less than 0 or greater than 10.\n"}
422
-
}, {
423
-
"label": "Int.bitwiseXor",
424
-
"kind": 12,
425
-
"tags": [],
426
-
"detail": "(int, int) => int",
427
-
"documentation": {"kind": "markdown", "value": "\n`bigwiseXor(n1, n2)` calculates the bitwise XOR of two integers.\n\n## Examples\n\n```rescript\nInt.bitwiseXor(7, 4) == 3\n```\n"}
"documentation": {"kind": "markdown", "value": "\n`unsignedRightShift(n, length)` calculates the shifted value of an integer `n` by `length` bits to the right.\nExcess bits shifted off to the right are discarded, and zero bits are shifted in from the left.\n\nAlso known as \"zero-filling right shift\" operation.\n\n## Examples\n\n```rescript\nInt.unsignedRightShift(4, 1) == 2\n```\n"}
440
380
}, {
441
381
"label": "Int.toFixedWithPrecision",
442
382
"kind": 12,
@@ -449,12 +389,6 @@ Path Stdlib.Int.
449
389
"tags": [1],
450
390
"detail": "(int, ~digits: int) => string",
451
391
"documentation": {"kind": "markdown", "value": "Deprecated: Use `toPrecision` instead\n\n\n`toPrecisionWithPrecision(n, ~digits)` return a `string` representing the giver value with\nprecision. `digits` specifies the number of significant digits. See [`Number.toPrecision`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Number/toPrecision) on MDN.\n\n## Examples\n\n```rescript\nInt.toPrecisionWithPrecision(100, ~digits=2) // \"1.0e+2\"\nInt.toPrecisionWithPrecision(1, ~digits=2) // \"1.0\"\n```\n\n## Exceptions\n\n- `RangeError`: If `digits` is not between 1 and 100 (inclusive).\nImplementations are allowed to support larger and smaller values as well.\nECMA-262 only requires a precision of up to 21 significant digits.\n\n"}
452
-
}, {
453
-
"label": "Int.bitwiseAnd",
454
-
"kind": 12,
455
-
"tags": [],
456
-
"detail": "(int, int) => int",
457
-
"documentation": {"kind": "markdown", "value": "\n`bitwiseAnd(n1, n2)` calculates the bitwise AND of two integers.\n\n## Examples\n\n```rescript\nInt.bitwiseAnd(7, 4) == 4\n```\n"}
458
392
}, {
459
393
"label": "Int.compare",
460
394
"kind": 12,
@@ -467,12 +401,6 @@ Path Stdlib.Int.
467
401
"tags": [],
468
402
"detail": "int => unit",
469
403
"documentation": {"kind": "markdown", "value": "\n `ignore(int)` ignores the provided int and returns unit.\n\n This helper is useful when you want to discard a value (for example, the result of an operation with side effects)\n without having to store or process it further.\n"}
470
-
}, {
471
-
"label": "Int.bitwiseOr",
472
-
"kind": 12,
473
-
"tags": [],
474
-
"detail": "(int, int) => int",
475
-
"documentation": {"kind": "markdown", "value": "\n`bitwiseOr(n1, n2)` calculates the bitwise OR of two integers.\n\n## Examples\n\n```rescript\nInt.bitwiseOr(7, 4) == 7\n```\n"}
476
404
}, {
477
405
"label": "Int.toPrecision",
478
406
"kind": 12,
@@ -515,12 +443,6 @@ Path Stdlib.Int.
515
443
"tags": [],
516
444
"detail": "int => string",
517
445
"documentation": {"kind": "markdown", "value": "\n`toLocaleString(n)` return a `string` with language-sensitive representing the\ngiven value. See [`Number.toLocaleString`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Number/toLocaleString) on MDN.\n\n## Examples\n\n```rescript\n// If the application uses English as the default language\nInt.toLocaleString(1000) // \"1,000\"\n\n// If the application uses Portuguese Brazil as the default language\nInt.toLocaleString(1000) // \"1.000\"\n```\n"}
518
-
}, {
519
-
"label": "Int.bitwiseNot",
520
-
"kind": 12,
521
-
"tags": [],
522
-
"detail": "int => int",
523
-
"documentation": {"kind": "markdown", "value": "\n`bitwiseNot(n)` calculates the bitwise NOT of an integer.\n\n## Examples\n\n```rescript\nInt.bitwiseNot(2) == -3\n```\n"}
524
446
}, {
525
447
"label": "Int.toExponential",
526
448
"kind": 12,
@@ -533,12 +455,6 @@ Path Stdlib.Int.
533
455
"tags": [],
534
456
"detail": "(int, ~digits: int=?) => string",
535
457
"documentation": {"kind": "markdown", "value": "\n`toFixed(n, ~digits=?)` return a `string` representing the given\nvalue using fixed-point notation. `digits` specifies how many digits should\nappear after the decimal point. See [`Number.toFixed`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Number/toFixed)\non MDN.\n\n## Examples\n\n```rescript\nInt.toFixed(123456) // \"123456.00\"\nInt.toFixed(10) // \"10.00\"\nInt.toFixed(300, ~digits=4) // \"300.0000\"\nInt.toFixed(300, ~digits=1) // \"300.0\"\n```\n\n## Exceptions\n\n- `RangeError`: If `digits` is less than 0 or larger than 100.\n"}
536
-
}, {
537
-
"label": "Int.rightShift",
538
-
"kind": 12,
539
-
"tags": [],
540
-
"detail": "(int, int) => int",
541
-
"documentation": {"kind": "markdown", "value": "\n`rightShift(n, length)` calculates the shifted value of an integer `n` by `length` bits to the right.\n\nAlso known as \"arithmetic right shift\" operation.\n\n## Examples\n\n```rescript\nInt.rightShift(8, 1) == 4\n```\n"}
0 commit comments