Skip to content

Commit 4d51173

Browse files
committed
update analysis result
1 parent ce56a1e commit 4d51173

File tree

1 file changed

+0
-84
lines changed

1 file changed

+0
-84
lines changed

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

Lines changed: 0 additions & 84 deletions
Original file line numberDiff line numberDiff line change
@@ -232,36 +232,18 @@ 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,
244238
"tags": [1],
245239
"detail": "(int, ~digits: int) => string",
246240
"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"}
253241
}, {
254242
"label": "Int.clamp",
255243
"kind": 12,
256244
"tags": [],
257245
"detail": "(~min: int=?, ~max: int=?, int) => int",
258246
"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"}
265247
}, {
266248
"label": "Int.toFixedWithPrecision",
267249
"kind": 12,
@@ -274,12 +256,6 @@ Path Stdlib.Int.
274256
"tags": [1],
275257
"detail": "(int, ~digits: int) => string",
276258
"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"}
283259
}, {
284260
"label": "Int.compare",
285261
"kind": 12,
@@ -292,12 +268,6 @@ Path Stdlib.Int.
292268
"tags": [],
293269
"detail": "int => unit",
294270
"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"}
301271
}, {
302272
"label": "Int.toPrecision",
303273
"kind": 12,
@@ -340,12 +310,6 @@ Path Stdlib.Int.
340310
"tags": [],
341311
"detail": "int => string",
342312
"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"}
349313
}, {
350314
"label": "Int.toExponential",
351315
"kind": 12,
@@ -358,12 +322,6 @@ Path Stdlib.Int.
358322
"tags": [],
359323
"detail": "(int, ~digits: int=?) => string",
360324
"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"}
367325
}]
368326

369327
Complete src/CompletionJsx.res 26:14
@@ -407,36 +365,18 @@ Path Stdlib.Int.
407365
"tags": [1],
408366
"detail": "(int, ~radix: int) => string",
409367
"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"}
416368
}, {
417369
"label": "Int.toExponentialWithPrecision",
418370
"kind": 12,
419371
"tags": [1],
420372
"detail": "(int, ~digits: int) => string",
421373
"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"}
428374
}, {
429375
"label": "Int.clamp",
430376
"kind": 12,
431377
"tags": [],
432378
"detail": "(~min: int=?, ~max: int=?, int) => int",
433379
"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"}
440380
}, {
441381
"label": "Int.toFixedWithPrecision",
442382
"kind": 12,
@@ -449,12 +389,6 @@ Path Stdlib.Int.
449389
"tags": [1],
450390
"detail": "(int, ~digits: int) => string",
451391
"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"}
458392
}, {
459393
"label": "Int.compare",
460394
"kind": 12,
@@ -467,12 +401,6 @@ Path Stdlib.Int.
467401
"tags": [],
468402
"detail": "int => unit",
469403
"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"}
476404
}, {
477405
"label": "Int.toPrecision",
478406
"kind": 12,
@@ -515,12 +443,6 @@ Path Stdlib.Int.
515443
"tags": [],
516444
"detail": "int => string",
517445
"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"}
524446
}, {
525447
"label": "Int.toExponential",
526448
"kind": 12,
@@ -533,12 +455,6 @@ Path Stdlib.Int.
533455
"tags": [],
534456
"detail": "(int, ~digits: int=?) => string",
535457
"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"}
542458
}]
543459

544460
Complete src/CompletionJsx.res 28:20

0 commit comments

Comments
 (0)