8
8
class iter =
9
9
object ((_self : 'self_type ))
10
10
method list :
11
- 'a. ('self_type -> ' a -> unit ) -> 'a list -> unit =
11
+ 'a. ('a -> unit ) -> 'a list -> unit =
12
12
fun _f_a ->
13
13
function
14
14
| [] -> ()
15
- | _x :: _x_i1 -> _f_a _self _x ; _self#list _f_a _x_i1
15
+ | _x :: _x_i1 -> _f_a _x ; _self#list _f_a _x_i1
16
16
method label : label -> unit = ignore
17
- method required_modules : required_modules -> unit = _self#list ( fun _self -> _self #module_id)
17
+ method required_modules : required_modules -> unit = _self#list _self#module_id
18
18
method ident : ident -> unit = ignore
19
19
method module_id : module_id -> unit = fun { id = _x0 ;kind = _x1 } -> begin _self#ident _x0 end
20
20
method vident : vident -> unit = function
@@ -25,7 +25,7 @@ method vident : vident -> unit = function
25
25
method exception_ident : exception_ident -> unit = _self#ident
26
26
method for_ident : for_ident -> unit = _self#ident
27
27
method for_direction : for_direction -> unit = ignore
28
- method property_map : property_map -> unit = _self#list (fun _self -> fun ( _x0 ,_x1 ) -> begin _self#expression _x1 end )
28
+ method property_map : property_map -> unit = _self#list (fun ( _x0 ,_x1 ) -> begin _self#expression _x1 end )
29
29
method length_object : length_object -> unit = ignore
30
30
method expression_desc : expression_desc -> unit = function
31
31
| Length ( _x0 ,_x1 ) ->
@@ -52,28 +52,28 @@ method expression_desc : expression_desc -> unit = function
52
52
| FlatCall ( _x0 ,_x1 ) ->
53
53
begin _self#expression _x0;_self#expression _x1 end
54
54
| Call ( _x0 ,_x1 ,_x2 ) ->
55
- begin _self#expression _x0;_self#list ( fun _self -> _self #expression) _x1 end
55
+ begin _self#expression _x0;_self#list _self#expression _x1 end
56
56
| String_index ( _x0 ,_x1 ) ->
57
57
begin _self#expression _x0;_self#expression _x1 end
58
58
| Array_index ( _x0 ,_x1 ) ->
59
59
begin _self#expression _x0;_self#expression _x1 end
60
60
| Static_index ( _x0 ,_x1 ,_x2 ) ->
61
61
begin _self#expression _x0 end
62
62
| New ( _x0 ,_x1 ) ->
63
- begin _self#expression _x0;option (_self#list ( fun _self -> _self #expression) ) _x1 end
63
+ begin _self#expression _x0;option (_self#list _self#expression) _x1 end
64
64
| Var ( _x0 ) ->
65
65
begin _self#vident _x0 end
66
66
| Fun ( _x0 ,_x1 ,_x2 ,_x3 ) ->
67
- begin _self#list ( fun _self -> _self #ident) _x1;_self#block _x2 end
67
+ begin _self#list _self#ident _x1;_self#block _x2 end
68
68
| Str _ -> ()
69
69
| Unicode _ -> ()
70
70
| Raw_js_code _ -> ()
71
71
| Array ( _x0 ,_x1 ) ->
72
- begin _self#list ( fun _self -> _self #expression) _x0 end
72
+ begin _self#list _self#expression _x0 end
73
73
| Optional_block ( _x0 ,_x1 ) ->
74
74
begin _self#expression _x0 end
75
75
| Caml_block ( _x0 ,_x1 ,_x2 ,_x3 ) ->
76
- begin _self#list ( fun _self -> _self #expression) _x0;_self#expression _x2 end
76
+ begin _self#list _self#expression _x0;_self#expression _x2 end
77
77
| Caml_block_tag ( _x0 ) ->
78
78
begin _self#expression _x0 end
79
79
| Number _ -> ()
@@ -102,21 +102,21 @@ method statement_desc : statement_desc -> unit = function
102
102
| Return ( _x0 ) ->
103
103
begin _self#expression _x0 end
104
104
| Int_switch ( _x0 ,_x1 ,_x2 ) ->
105
- begin _self#expression _x0;_self#list ( fun _self -> _self #int_clause) _x1;option (_self#block) _x2 end
105
+ begin _self#expression _x0;_self#list _self#int_clause _x1;option (_self#block) _x2 end
106
106
| String_switch ( _x0 ,_x1 ,_x2 ) ->
107
- begin _self#expression _x0;_self#list ( fun _self -> _self #string_clause) _x1;option (_self#block) _x2 end
107
+ begin _self#expression _x0;_self#list _self#string_clause _x1;option (_self#block) _x2 end
108
108
| Throw ( _x0 ) ->
109
109
begin _self#expression _x0 end
110
110
| Try ( _x0 ,_x1 ,_x2 ) ->
111
- begin _self#block _x0;option (fun ( _x0 ,_x1 ) -> begin _self#exception_ident _x0;_self#block _x1 end ) _x1;option (_self#block) _x2 end
111
+ begin _self#block _x0;option (( fun ( _x0 ,_x1 ) -> begin _self#exception_ident _x0;_self#block _x1 end ) ) _x1;option (_self#block) _x2 end
112
112
| Debugger -> ()
113
113
method expression : expression -> unit = fun { expression_desc = _x0 ;comment = _x1 } -> begin _self#expression_desc _x0 end
114
114
method statement : statement -> unit = fun { statement_desc = _x0 ;comment = _x1 } -> begin _self#statement_desc _x0 end
115
115
method variable_declaration : variable_declaration -> unit = fun { ident = _x0 ;value = _x1 ;property = _x2 ;ident_info = _x3 } -> begin _self#ident _x0;option (_self#expression) _x1 end
116
- method string_clause : string_clause -> unit = fun ( _x0 ,_x1 ) -> begin _self#case_clause _x1 end
117
- method int_clause : int_clause -> unit = fun ( _x0 ,_x1 ) -> begin _self#case_clause _x1 end
116
+ method string_clause : string_clause -> unit = ( fun ( _x0 ,_x1 ) -> begin _self#case_clause _x1 end )
117
+ method int_clause : int_clause -> unit = ( fun ( _x0 ,_x1 ) -> begin _self#case_clause _x1 end )
118
118
method case_clause : case_clause -> unit = fun { switch_body = _x0 ;should_break = _x1 ;comment = _x2 } -> begin _self#block _x0 end
119
- method block : block -> unit = _self#list ( fun _self -> _self #statement)
119
+ method block : block -> unit = _self#list _self#statement
120
120
method program : program -> unit = fun { block = _x0 ;exports = _x1 ;export_set = _x2 } -> begin _self#block _x0 end
121
121
method deps_program : deps_program -> unit = fun { program = _x0 ;modules = _x1 ;side_effect = _x2 } -> begin _self#program _x0;_self#required_modules _x1 end
122
122
end
0 commit comments