forked from rescript-lang/rescript-compiler
-
Notifications
You must be signed in to change notification settings - Fork 0
/
js_unsafe.mli
76 lines (70 loc) · 6.7 KB
/
js_unsafe.mli
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
(* Copyright (C) 2015-2016 Bloomberg Finance L.P.
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* In addition to the permissions granted to you by the LGPL, you may combine
* or link a "work that uses the Library" with a publicly distributed version
* of this file to produce a combined library or application, then distribute
* that combined work under the terms of your choosing, with no requirement
* to comply with the obligations normally placed on you by section 4 of the
* LGPL version 3 (or the corresponding section of a later version of the LGPL
* should you choose to use a later version).
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. *)
(** *)
(* Generated by scripts/js_unsafe_gen.ml *)
external (!) : 'a Js.t -> 'a = "#unsafe_downgrade"
external debugger : unit -> unit = "#debugger"
external raw_expr : string -> 'a = "#raw_expr"
external raw_stmt : string -> 'a = "#raw_stmt"
external unsafe_downgrade : 'a Js.t -> 'a = "#unsafe_downgrade"
external fn_mk0 : (unit -> 'a0) -> (unit -> 'a0 [@bs]) = "#fn_mk" "0"
external fn_mk1 : ('a0 -> 'a1) -> ('a0 -> 'a1 [@bs]) = "#fn_mk" "1"
external fn_mk2 : ('a0 -> 'a1 -> 'a2) -> ('a0 -> 'a1 -> 'a2 [@bs]) = "#fn_mk" "2"
external fn_mk3 : ('a0 -> 'a1 -> 'a2 -> 'a3) -> ('a0 -> 'a1 -> 'a2 -> 'a3 [@bs]) = "#fn_mk" "3"
external fn_mk4 : ('a0 -> 'a1 -> 'a2 -> 'a3 -> 'a4) -> ('a0 -> 'a1 -> 'a2 -> 'a3 -> 'a4 [@bs]) = "#fn_mk" "4"
external fn_mk5 : ('a0 -> 'a1 -> 'a2 -> 'a3 -> 'a4 -> 'a5) -> ('a0 -> 'a1 -> 'a2 -> 'a3 -> 'a4 -> 'a5 [@bs]) = "#fn_mk" "5"
external fn_mk6 : ('a0 -> 'a1 -> 'a2 -> 'a3 -> 'a4 -> 'a5 -> 'a6) -> ('a0 -> 'a1 -> 'a2 -> 'a3 -> 'a4 -> 'a5 -> 'a6 [@bs]) = "#fn_mk" "6"
external fn_mk7 : ('a0 -> 'a1 -> 'a2 -> 'a3 -> 'a4 -> 'a5 -> 'a6 -> 'a7) -> ('a0 -> 'a1 -> 'a2 -> 'a3 -> 'a4 -> 'a5 -> 'a6 -> 'a7 [@bs]) = "#fn_mk" "7"
external fn_mk8 : ('a0 -> 'a1 -> 'a2 -> 'a3 -> 'a4 -> 'a5 -> 'a6 -> 'a7 -> 'a8) -> ('a0 -> 'a1 -> 'a2 -> 'a3 -> 'a4 -> 'a5 -> 'a6 -> 'a7 -> 'a8 [@bs]) = "#fn_mk" "8"
external fn_mk9 : ('a0 -> 'a1 -> 'a2 -> 'a3 -> 'a4 -> 'a5 -> 'a6 -> 'a7 -> 'a8 -> 'a9) -> ('a0 -> 'a1 -> 'a2 -> 'a3 -> 'a4 -> 'a5 -> 'a6 -> 'a7 -> 'a8 -> 'a9 [@bs]) = "#fn_mk" "9"
external fn_method1 : ('obj -> 'a0) -> ('obj -> 'a0 [@bs.this]) = "#fn_method" "1"
external fn_method2 : ('obj -> 'a0 -> 'a1) -> ('obj -> 'a0 -> 'a1 [@bs.this]) = "#fn_method" "2"
external fn_method3 : ('obj -> 'a0 -> 'a1 -> 'a2) -> ('obj -> 'a0 -> 'a1 -> 'a2 [@bs.this]) = "#fn_method" "3"
external fn_method4 : ('obj -> 'a0 -> 'a1 -> 'a2 -> 'a3) -> ('obj -> 'a0 -> 'a1 -> 'a2 -> 'a3 [@bs.this]) = "#fn_method" "4"
external fn_method5 : ('obj -> 'a0 -> 'a1 -> 'a2 -> 'a3 -> 'a4) -> ('obj -> 'a0 -> 'a1 -> 'a2 -> 'a3 -> 'a4 [@bs.this]) = "#fn_method" "5"
external fn_method6 : ('obj -> 'a0 -> 'a1 -> 'a2 -> 'a3 -> 'a4 -> 'a5) -> ('obj -> 'a0 -> 'a1 -> 'a2 -> 'a3 -> 'a4 -> 'a5 [@bs.this]) = "#fn_method" "6"
external fn_method7 : ('obj -> 'a0 -> 'a1 -> 'a2 -> 'a3 -> 'a4 -> 'a5 -> 'a6) -> ('obj -> 'a0 -> 'a1 -> 'a2 -> 'a3 -> 'a4 -> 'a5 -> 'a6 [@bs.this]) = "#fn_method" "7"
external fn_method8 : ('obj -> 'a0 -> 'a1 -> 'a2 -> 'a3 -> 'a4 -> 'a5 -> 'a6 -> 'a7) -> ('obj -> 'a0 -> 'a1 -> 'a2 -> 'a3 -> 'a4 -> 'a5 -> 'a6 -> 'a7 [@bs.this]) = "#fn_method" "8"
external fn_method9 : ('obj -> 'a0 -> 'a1 -> 'a2 -> 'a3 -> 'a4 -> 'a5 -> 'a6 -> 'a7 -> 'a8) -> ('obj -> 'a0 -> 'a1 -> 'a2 -> 'a3 -> 'a4 -> 'a5 -> 'a6 -> 'a7 -> 'a8 [@bs.this]) = "#fn_method" "9"
external fn_method10 : ('obj -> 'a0 -> 'a1 -> 'a2 -> 'a3 -> 'a4 -> 'a5 -> 'a6 -> 'a7 -> 'a8 -> 'a9) -> ('obj -> 'a0 -> 'a1 -> 'a2 -> 'a3 -> 'a4 -> 'a5 -> 'a6 -> 'a7 -> 'a8 -> 'a9 [@bs.this]) = "#fn_method" "10"
external fn_run0 : (unit -> 'a0 [@bs]) -> ('a0 ) = "#fn_run" "0"
external fn_run1 : ('a0 -> 'a1 [@bs]) -> ('a0 -> 'a1 ) = "#fn_run" "1"
external fn_run2 : ('a0 -> 'a1 -> 'a2 [@bs]) -> ('a0 -> 'a1 -> 'a2 ) = "#fn_run" "2"
external fn_run3 : ('a0 -> 'a1 -> 'a2 -> 'a3 [@bs]) -> ('a0 -> 'a1 -> 'a2 -> 'a3 ) = "#fn_run" "3"
external fn_run4 : ('a0 -> 'a1 -> 'a2 -> 'a3 -> 'a4 [@bs]) -> ('a0 -> 'a1 -> 'a2 -> 'a3 -> 'a4 ) = "#fn_run" "4"
external fn_run5 : ('a0 -> 'a1 -> 'a2 -> 'a3 -> 'a4 -> 'a5 [@bs]) -> ('a0 -> 'a1 -> 'a2 -> 'a3 -> 'a4 -> 'a5 ) = "#fn_run" "5"
external fn_run6 : ('a0 -> 'a1 -> 'a2 -> 'a3 -> 'a4 -> 'a5 -> 'a6 [@bs]) -> ('a0 -> 'a1 -> 'a2 -> 'a3 -> 'a4 -> 'a5 -> 'a6 ) = "#fn_run" "6"
external fn_run7 : ('a0 -> 'a1 -> 'a2 -> 'a3 -> 'a4 -> 'a5 -> 'a6 -> 'a7 [@bs]) -> ('a0 -> 'a1 -> 'a2 -> 'a3 -> 'a4 -> 'a5 -> 'a6 -> 'a7 ) = "#fn_run" "7"
external fn_run8 : ('a0 -> 'a1 -> 'a2 -> 'a3 -> 'a4 -> 'a5 -> 'a6 -> 'a7 -> 'a8 [@bs]) -> ('a0 -> 'a1 -> 'a2 -> 'a3 -> 'a4 -> 'a5 -> 'a6 -> 'a7 -> 'a8 ) = "#fn_run" "8"
external fn_run9 : ('a0 -> 'a1 -> 'a2 -> 'a3 -> 'a4 -> 'a5 -> 'a6 -> 'a7 -> 'a8 -> 'a9 [@bs]) -> ('a0 -> 'a1 -> 'a2 -> 'a3 -> 'a4 -> 'a5 -> 'a6 -> 'a7 -> 'a8 -> 'a9 ) = "#fn_run" "9"
external method_run0 : (unit -> 'a0 [@bs.meth]) -> ('a0 ) = "#method_run" "0"
external method_run1 : ('a0 -> 'a1 [@bs.meth]) -> ('a0 -> 'a1 ) = "#method_run" "1"
external method_run2 : ('a0 -> 'a1 -> 'a2 [@bs.meth]) -> ('a0 -> 'a1 -> 'a2 ) = "#method_run" "2"
external method_run3 : ('a0 -> 'a1 -> 'a2 -> 'a3 [@bs.meth]) -> ('a0 -> 'a1 -> 'a2 -> 'a3 ) = "#method_run" "3"
external method_run4 : ('a0 -> 'a1 -> 'a2 -> 'a3 -> 'a4 [@bs.meth]) -> ('a0 -> 'a1 -> 'a2 -> 'a3 -> 'a4 ) = "#method_run" "4"
external method_run5 : ('a0 -> 'a1 -> 'a2 -> 'a3 -> 'a4 -> 'a5 [@bs.meth]) -> ('a0 -> 'a1 -> 'a2 -> 'a3 -> 'a4 -> 'a5 ) = "#method_run" "5"
external method_run6 : ('a0 -> 'a1 -> 'a2 -> 'a3 -> 'a4 -> 'a5 -> 'a6 [@bs.meth]) -> ('a0 -> 'a1 -> 'a2 -> 'a3 -> 'a4 -> 'a5 -> 'a6 ) = "#method_run" "6"
external method_run7 : ('a0 -> 'a1 -> 'a2 -> 'a3 -> 'a4 -> 'a5 -> 'a6 -> 'a7 [@bs.meth]) -> ('a0 -> 'a1 -> 'a2 -> 'a3 -> 'a4 -> 'a5 -> 'a6 -> 'a7 ) = "#method_run" "7"
external method_run8 : ('a0 -> 'a1 -> 'a2 -> 'a3 -> 'a4 -> 'a5 -> 'a6 -> 'a7 -> 'a8 [@bs.meth]) -> ('a0 -> 'a1 -> 'a2 -> 'a3 -> 'a4 -> 'a5 -> 'a6 -> 'a7 -> 'a8 ) = "#method_run" "8"
external method_run9 : ('a0 -> 'a1 -> 'a2 -> 'a3 -> 'a4 -> 'a5 -> 'a6 -> 'a7 -> 'a8 -> 'a9 [@bs.meth]) -> ('a0 -> 'a1 -> 'a2 -> 'a3 -> 'a4 -> 'a5 -> 'a6 -> 'a7 -> 'a8 -> 'a9 ) = "#method_run" "9"