Skip to content

Commit 7ad3f30

Browse files
committed
update analysis result
1 parent ce56a1e commit 7ad3f30

File tree

1 file changed

+36
-36
lines changed

1 file changed

+36
-36
lines changed

tests/analysis_tests/tests/src/expected/CompletionJsx.res.txt

Lines changed: 36 additions & 36 deletions
Original file line numberDiff line numberDiff line change
@@ -232,12 +232,6 @@ Path Stdlib.Int.
232232
"tags": [1],
233233
"detail": "(int, ~radix: int) => string",
234234
"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"}
241235
}, {
242236
"label": "Int.toExponentialWithPrecision",
243237
"kind": 12,
@@ -256,12 +250,6 @@ Path Stdlib.Int.
256250
"tags": [],
257251
"detail": "(~min: int=?, ~max: int=?, int) => int",
258252
"documentation": {"kind": "markdown", "value": "\n`clamp(~min=?, ~max=?, value)` returns `value`, optionally bounded by `min` and `max`.\n\nif `max` < `min` returns `min`.\n\n## Examples\n\n```rescript\nInt.clamp(42) == 42\nInt.clamp(42, ~min=50) == 50\nInt.clamp(42, ~max=40) == 40\nInt.clamp(42, ~min=50, ~max=40) == 50\n```\n"}
259-
}, {
260-
"label": "Int.unsignedRightShift",
261-
"kind": 12,
262-
"tags": [],
263-
"detail": "(int, int) => int",
264-
"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"}
265253
}, {
266254
"label": "Int.toFixedWithPrecision",
267255
"kind": 12,
@@ -280,6 +268,12 @@ Path Stdlib.Int.
280268
"tags": [],
281269
"detail": "(int, int) => int",
282270
"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"}
271+
}, {
272+
"label": "Int.shiftRight",
273+
"kind": 12,
274+
"tags": [],
275+
"detail": "(int, int) => int",
276+
"documentation": {"kind": "markdown", "value": "\n`shiftRight(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.shiftRight(8, 1) == 4\n```\n"}
283277
}, {
284278
"label": "Int.compare",
285279
"kind": 12,
@@ -316,6 +310,12 @@ Path Stdlib.Int.
316310
"tags": [],
317311
"detail": "(int, ~radix: int=?) => string",
318312
"documentation": {"kind": "markdown", "value": "\n`toString(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.toString(1000) // \"1000\"\nInt.toString(-1000) // \"-1000\"\nInt.toString(6, ~radix=2) // \"110\"\nInt.toString(373592855, ~radix=16) // \"16449317\"\nInt.toString(123456, ~radix=36) // \"2n9c\"\n```\n\n## Exceptions\n\n`RangeError`: if `radix` is less than 2 or greater than 36.\n"}
313+
}, {
314+
"label": "Int.shiftLeft",
315+
"kind": 12,
316+
"tags": [],
317+
"detail": "(int, int) => int",
318+
"documentation": {"kind": "markdown", "value": "\n`shiftLeft(n, length)` calculates the shifted value of an integer `n` by `length` bits to the left.\n\n## Examples\n\n```rescript\nInt.shiftLeft(4, 1) == 8\n```\n"}
319319
}, {
320320
"label": "Int.toFloat",
321321
"kind": 12,
@@ -334,6 +334,12 @@ Path Stdlib.Int.
334334
"tags": [1],
335335
"detail": "(int, int, rangeOptions) => array<int>",
336336
"documentation": {"kind": "markdown", "value": "Deprecated: Use `range` instead\n\n\n`rangeWithOptions(start, end, options)` is like `range`, but with `step` and\n`inclusive` options configurable.\n\nIf `step` is set, the sequence will increase or decrease by that amount for each\nstep. If `start < end` and `step` is negative, or vice versa, an empty array is\nreturned since the sequence would otherwise never reach or exceed the end value\nand hence be infinite. If `step` is `0` and `start !=` end, a `RangeError` is\nraised as the sequence would never reach or exceed the end value and hence be\ninfinite.\n\nIf `inclusive` is set to `true`, the sequence will include `end` if `step` is\nset such that the sequence includes it.\n\n## Examples\n\n```rescript\nInt.rangeWithOptions(3, 7, {step: 2}) == [3, 5]\nInt.rangeWithOptions(3, 7, {step: 2, inclusive: true}) == [3, 5, 7]\nInt.rangeWithOptions(3, 6, {step: -2}) // RangeError\n```\n\n## Exceptions\n\n- Raises `RangeError` if `step == 0 && start != end`.\n"}
337+
}, {
338+
"label": "Int.shiftRightUnsigned",
339+
"kind": 12,
340+
"tags": [],
341+
"detail": "(int, int) => int",
342+
"documentation": {"kind": "markdown", "value": "\n`shiftRightUnsigned(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.shiftRightUnsigned(4, 1) == 2\n```\n"}
337343
}, {
338344
"label": "Int.toLocaleString",
339345
"kind": 12,
@@ -358,12 +364,6 @@ Path Stdlib.Int.
358364
"tags": [],
359365
"detail": "(int, ~digits: int=?) => string",
360366
"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"}
367367
}]
368368

369369
Complete src/CompletionJsx.res 26:14
@@ -407,12 +407,6 @@ Path Stdlib.Int.
407407
"tags": [1],
408408
"detail": "(int, ~radix: int) => string",
409409
"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"}
416410
}, {
417411
"label": "Int.toExponentialWithPrecision",
418412
"kind": 12,
@@ -431,12 +425,6 @@ Path Stdlib.Int.
431425
"tags": [],
432426
"detail": "(~min: int=?, ~max: int=?, int) => int",
433427
"documentation": {"kind": "markdown", "value": "\n`clamp(~min=?, ~max=?, value)` returns `value`, optionally bounded by `min` and `max`.\n\nif `max` < `min` returns `min`.\n\n## Examples\n\n```rescript\nInt.clamp(42) == 42\nInt.clamp(42, ~min=50) == 50\nInt.clamp(42, ~max=40) == 40\nInt.clamp(42, ~min=50, ~max=40) == 50\n```\n"}
434-
}, {
435-
"label": "Int.unsignedRightShift",
436-
"kind": 12,
437-
"tags": [],
438-
"detail": "(int, int) => int",
439-
"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"}
440428
}, {
441429
"label": "Int.toFixedWithPrecision",
442430
"kind": 12,
@@ -455,6 +443,12 @@ Path Stdlib.Int.
455443
"tags": [],
456444
"detail": "(int, int) => int",
457445
"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"}
446+
}, {
447+
"label": "Int.shiftRight",
448+
"kind": 12,
449+
"tags": [],
450+
"detail": "(int, int) => int",
451+
"documentation": {"kind": "markdown", "value": "\n`shiftRight(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.shiftRight(8, 1) == 4\n```\n"}
458452
}, {
459453
"label": "Int.compare",
460454
"kind": 12,
@@ -491,6 +485,12 @@ Path Stdlib.Int.
491485
"tags": [],
492486
"detail": "(int, ~radix: int=?) => string",
493487
"documentation": {"kind": "markdown", "value": "\n`toString(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.toString(1000) // \"1000\"\nInt.toString(-1000) // \"-1000\"\nInt.toString(6, ~radix=2) // \"110\"\nInt.toString(373592855, ~radix=16) // \"16449317\"\nInt.toString(123456, ~radix=36) // \"2n9c\"\n```\n\n## Exceptions\n\n`RangeError`: if `radix` is less than 2 or greater than 36.\n"}
488+
}, {
489+
"label": "Int.shiftLeft",
490+
"kind": 12,
491+
"tags": [],
492+
"detail": "(int, int) => int",
493+
"documentation": {"kind": "markdown", "value": "\n`shiftLeft(n, length)` calculates the shifted value of an integer `n` by `length` bits to the left.\n\n## Examples\n\n```rescript\nInt.shiftLeft(4, 1) == 8\n```\n"}
494494
}, {
495495
"label": "Int.toFloat",
496496
"kind": 12,
@@ -509,6 +509,12 @@ Path Stdlib.Int.
509509
"tags": [1],
510510
"detail": "(int, int, rangeOptions) => array<int>",
511511
"documentation": {"kind": "markdown", "value": "Deprecated: Use `range` instead\n\n\n`rangeWithOptions(start, end, options)` is like `range`, but with `step` and\n`inclusive` options configurable.\n\nIf `step` is set, the sequence will increase or decrease by that amount for each\nstep. If `start < end` and `step` is negative, or vice versa, an empty array is\nreturned since the sequence would otherwise never reach or exceed the end value\nand hence be infinite. If `step` is `0` and `start !=` end, a `RangeError` is\nraised as the sequence would never reach or exceed the end value and hence be\ninfinite.\n\nIf `inclusive` is set to `true`, the sequence will include `end` if `step` is\nset such that the sequence includes it.\n\n## Examples\n\n```rescript\nInt.rangeWithOptions(3, 7, {step: 2}) == [3, 5]\nInt.rangeWithOptions(3, 7, {step: 2, inclusive: true}) == [3, 5, 7]\nInt.rangeWithOptions(3, 6, {step: -2}) // RangeError\n```\n\n## Exceptions\n\n- Raises `RangeError` if `step == 0 && start != end`.\n"}
512+
}, {
513+
"label": "Int.shiftRightUnsigned",
514+
"kind": 12,
515+
"tags": [],
516+
"detail": "(int, int) => int",
517+
"documentation": {"kind": "markdown", "value": "\n`shiftRightUnsigned(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.shiftRightUnsigned(4, 1) == 2\n```\n"}
512518
}, {
513519
"label": "Int.toLocaleString",
514520
"kind": 12,
@@ -533,12 +539,6 @@ Path Stdlib.Int.
533539
"tags": [],
534540
"detail": "(int, ~digits: int=?) => string",
535541
"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"}
542542
}]
543543

544544
Complete src/CompletionJsx.res 28:20

0 commit comments

Comments
 (0)