File tree Expand file tree Collapse file tree 8 files changed +1299
-961
lines changed Expand file tree Collapse file tree 8 files changed +1299
-961
lines changed Load Diff Large diffs are not rendered by default.
Original file line number Diff line number Diff line change @@ -14352,6 +14352,29 @@ val apply_simple:
14352
14352
expression list ->
14353
14353
expression
14354
14354
14355
+ val app1:
14356
+ ?loc:Location.t ->
14357
+ ?attrs:attrs ->
14358
+ expression ->
14359
+ expression ->
14360
+ expression
14361
+
14362
+ val app2:
14363
+ ?loc:Location.t ->
14364
+ ?attrs:attrs ->
14365
+ expression ->
14366
+ expression ->
14367
+ expression ->
14368
+ expression
14369
+
14370
+ val app3:
14371
+ ?loc:Location.t ->
14372
+ ?attrs:attrs ->
14373
+ expression ->
14374
+ expression ->
14375
+ expression ->
14376
+ expression ->
14377
+ expression
14355
14378
14356
14379
val apply_labels:
14357
14380
?loc:Location.t ->
@@ -14438,6 +14461,49 @@ let apply_simple
14438
14461
fn,
14439
14462
(Ext_list.map (fun x -> "",x) args) ) }
14440
14463
14464
+ let app1
14465
+ ?(loc = default_loc)
14466
+ ?(attrs = [])
14467
+ fn arg1 : expression =
14468
+ { pexp_loc = loc;
14469
+ pexp_attributes = attrs;
14470
+ pexp_desc =
14471
+ Pexp_apply(
14472
+ fn,
14473
+ ["", arg1]
14474
+ ) }
14475
+
14476
+ let app2
14477
+ ?(loc = default_loc)
14478
+ ?(attrs = [])
14479
+ fn arg1 arg2 : expression =
14480
+ { pexp_loc = loc;
14481
+ pexp_attributes = attrs;
14482
+ pexp_desc =
14483
+ Pexp_apply(
14484
+ fn,
14485
+ [
14486
+ "", arg1;
14487
+ "", arg2 ]
14488
+ ) }
14489
+
14490
+ let app3
14491
+ ?(loc = default_loc)
14492
+ ?(attrs = [])
14493
+ fn arg1 arg2 arg3 : expression =
14494
+ { pexp_loc = loc;
14495
+ pexp_attributes = attrs;
14496
+ pexp_desc =
14497
+ Pexp_apply(
14498
+ fn,
14499
+ [
14500
+ "", arg1;
14501
+ "", arg2;
14502
+ "", arg3
14503
+ ]
14504
+ ) }
14505
+
14506
+
14441
14507
let apply_labels
14442
14508
?(loc = default_loc)
14443
14509
?(attrs = [])
@@ -14449,6 +14515,7 @@ let apply_labels
14449
14515
fn,
14450
14516
args ) }
14451
14517
14518
+
14452
14519
let fun_
14453
14520
?(loc = default_loc)
14454
14521
?(attrs = [])
Original file line number Diff line number Diff line change @@ -69,6 +69,49 @@ let apply_simple
69
69
fn,
70
70
(Ext_list. map (fun x -> " " ,x) args) ) }
71
71
72
+ let app1
73
+ ?(loc = default_loc)
74
+ ?(attrs = [] )
75
+ fn arg1 : expression =
76
+ { pexp_loc = loc;
77
+ pexp_attributes = attrs;
78
+ pexp_desc =
79
+ Pexp_apply (
80
+ fn,
81
+ [" " , arg1]
82
+ ) }
83
+
84
+ let app2
85
+ ?(loc = default_loc)
86
+ ?(attrs = [] )
87
+ fn arg1 arg2 : expression =
88
+ { pexp_loc = loc;
89
+ pexp_attributes = attrs;
90
+ pexp_desc =
91
+ Pexp_apply (
92
+ fn,
93
+ [
94
+ " " , arg1;
95
+ " " , arg2 ]
96
+ ) }
97
+
98
+ let app3
99
+ ?(loc = default_loc)
100
+ ?(attrs = [] )
101
+ fn arg1 arg2 arg3 : expression =
102
+ { pexp_loc = loc;
103
+ pexp_attributes = attrs;
104
+ pexp_desc =
105
+ Pexp_apply (
106
+ fn,
107
+ [
108
+ " " , arg1;
109
+ " " , arg2;
110
+ " " , arg3
111
+ ]
112
+ ) }
113
+
114
+
72
115
let apply_labels
73
116
?(loc = default_loc)
74
117
?(attrs = [] )
@@ -80,6 +123,7 @@ let apply_labels
80
123
fn,
81
124
args ) }
82
125
126
+
83
127
let fun_
84
128
?(loc = default_loc)
85
129
?(attrs = [] )
Original file line number Diff line number Diff line change @@ -52,6 +52,29 @@ val apply_simple:
52
52
expression list ->
53
53
expression
54
54
55
+ val app1 :
56
+ ?loc : Location .t ->
57
+ ?attrs : attrs ->
58
+ expression ->
59
+ expression ->
60
+ expression
61
+
62
+ val app2 :
63
+ ?loc : Location .t ->
64
+ ?attrs : attrs ->
65
+ expression ->
66
+ expression ->
67
+ expression ->
68
+ expression
69
+
70
+ val app3 :
71
+ ?loc : Location .t ->
72
+ ?attrs : attrs ->
73
+ expression ->
74
+ expression ->
75
+ expression ->
76
+ expression ->
77
+ expression
55
78
56
79
val apply_labels :
57
80
?loc : Location .t ->
Original file line number Diff line number Diff line change @@ -89,7 +89,7 @@ let js_dyn_tuple_to_value i =
89
89
90
90
91
91
let bs_apply1 f v =
92
- Exp. apply f [ " " ,v] ~attrs: bs_attrs
92
+ Ast_compatible. app1 f v ~attrs: bs_attrs
93
93
94
94
95
95
Original file line number Diff line number Diff line change @@ -28808,6 +28808,29 @@ val apply_simple:
28808
28808
expression list ->
28809
28809
expression
28810
28810
28811
+ val app1:
28812
+ ?loc:Location.t ->
28813
+ ?attrs:attrs ->
28814
+ expression ->
28815
+ expression ->
28816
+ expression
28817
+
28818
+ val app2:
28819
+ ?loc:Location.t ->
28820
+ ?attrs:attrs ->
28821
+ expression ->
28822
+ expression ->
28823
+ expression ->
28824
+ expression
28825
+
28826
+ val app3:
28827
+ ?loc:Location.t ->
28828
+ ?attrs:attrs ->
28829
+ expression ->
28830
+ expression ->
28831
+ expression ->
28832
+ expression ->
28833
+ expression
28811
28834
28812
28835
val apply_labels:
28813
28836
?loc:Location.t ->
@@ -28894,6 +28917,49 @@ let apply_simple
28894
28917
fn,
28895
28918
(Ext_list.map (fun x -> "",x) args) ) }
28896
28919
28920
+ let app1
28921
+ ?(loc = default_loc)
28922
+ ?(attrs = [])
28923
+ fn arg1 : expression =
28924
+ { pexp_loc = loc;
28925
+ pexp_attributes = attrs;
28926
+ pexp_desc =
28927
+ Pexp_apply(
28928
+ fn,
28929
+ ["", arg1]
28930
+ ) }
28931
+
28932
+ let app2
28933
+ ?(loc = default_loc)
28934
+ ?(attrs = [])
28935
+ fn arg1 arg2 : expression =
28936
+ { pexp_loc = loc;
28937
+ pexp_attributes = attrs;
28938
+ pexp_desc =
28939
+ Pexp_apply(
28940
+ fn,
28941
+ [
28942
+ "", arg1;
28943
+ "", arg2 ]
28944
+ ) }
28945
+
28946
+ let app3
28947
+ ?(loc = default_loc)
28948
+ ?(attrs = [])
28949
+ fn arg1 arg2 arg3 : expression =
28950
+ { pexp_loc = loc;
28951
+ pexp_attributes = attrs;
28952
+ pexp_desc =
28953
+ Pexp_apply(
28954
+ fn,
28955
+ [
28956
+ "", arg1;
28957
+ "", arg2;
28958
+ "", arg3
28959
+ ]
28960
+ ) }
28961
+
28962
+
28897
28963
let apply_labels
28898
28964
?(loc = default_loc)
28899
28965
?(attrs = [])
@@ -28905,6 +28971,7 @@ let apply_labels
28905
28971
fn,
28906
28972
args ) }
28907
28973
28974
+
28908
28975
let fun_
28909
28976
?(loc = default_loc)
28910
28977
?(attrs = [])
Original file line number Diff line number Diff line change @@ -10750,6 +10750,29 @@ val apply_simple:
10750
10750
expression list ->
10751
10751
expression
10752
10752
10753
+ val app1:
10754
+ ?loc:Location.t ->
10755
+ ?attrs:attrs ->
10756
+ expression ->
10757
+ expression ->
10758
+ expression
10759
+
10760
+ val app2:
10761
+ ?loc:Location.t ->
10762
+ ?attrs:attrs ->
10763
+ expression ->
10764
+ expression ->
10765
+ expression ->
10766
+ expression
10767
+
10768
+ val app3:
10769
+ ?loc:Location.t ->
10770
+ ?attrs:attrs ->
10771
+ expression ->
10772
+ expression ->
10773
+ expression ->
10774
+ expression ->
10775
+ expression
10753
10776
10754
10777
val apply_labels:
10755
10778
?loc:Location.t ->
@@ -10836,6 +10859,49 @@ let apply_simple
10836
10859
fn,
10837
10860
(Ext_list.map (fun x -> "",x) args) ) }
10838
10861
10862
+ let app1
10863
+ ?(loc = default_loc)
10864
+ ?(attrs = [])
10865
+ fn arg1 : expression =
10866
+ { pexp_loc = loc;
10867
+ pexp_attributes = attrs;
10868
+ pexp_desc =
10869
+ Pexp_apply(
10870
+ fn,
10871
+ ["", arg1]
10872
+ ) }
10873
+
10874
+ let app2
10875
+ ?(loc = default_loc)
10876
+ ?(attrs = [])
10877
+ fn arg1 arg2 : expression =
10878
+ { pexp_loc = loc;
10879
+ pexp_attributes = attrs;
10880
+ pexp_desc =
10881
+ Pexp_apply(
10882
+ fn,
10883
+ [
10884
+ "", arg1;
10885
+ "", arg2 ]
10886
+ ) }
10887
+
10888
+ let app3
10889
+ ?(loc = default_loc)
10890
+ ?(attrs = [])
10891
+ fn arg1 arg2 arg3 : expression =
10892
+ { pexp_loc = loc;
10893
+ pexp_attributes = attrs;
10894
+ pexp_desc =
10895
+ Pexp_apply(
10896
+ fn,
10897
+ [
10898
+ "", arg1;
10899
+ "", arg2;
10900
+ "", arg3
10901
+ ]
10902
+ ) }
10903
+
10904
+
10839
10905
let apply_labels
10840
10906
?(loc = default_loc)
10841
10907
?(attrs = [])
@@ -10847,6 +10913,7 @@ let apply_labels
10847
10913
fn,
10848
10914
args ) }
10849
10915
10916
+
10850
10917
let fun_
10851
10918
?(loc = default_loc)
10852
10919
?(attrs = [])
You can’t perform that action at this time.
0 commit comments