Skip to content

Commit

Permalink
Allow to pass mapper objects with more methods.
Browse files Browse the repository at this point in the history
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@13258 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
  • Loading branch information
alainfrisch committed Jan 17, 2013
1 parent 45936b5 commit 7ac2a54
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions parsing/ast_mapper.mli
Expand Up @@ -47,11 +47,11 @@ class mapper:
method with_constraint: with_constraint -> with_constraint
end

val apply: source:string -> target:string -> mapper -> unit
val apply: source:string -> target:string -> #mapper -> unit
(** Apply a mapper to a dumped parsetree found in the [source] file
and put the result in the [target] file. *)

val main: mapper -> unit
val main: #mapper -> unit
(** Entry point to call to implement a -ppx rewriter from a mapper object. *)

(** {2 Helpers to build Parsetree fragments} *)
Expand Down

0 comments on commit 7ac2a54

Please sign in to comment.