Skip to content

Commit

Permalink
Add missing functions to pprintast (binding, longindent, payload)
Browse files Browse the repository at this point in the history
Signed-off-by: mattiasdrp <[email protected]>
  • Loading branch information
mattiasdrp committed Dec 9, 2024
1 parent 2414959 commit 4cf525e
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
2 changes: 2 additions & 0 deletions astlib/pprintast.ml
Original file line number Diff line number Diff line change
Expand Up @@ -1756,3 +1756,5 @@ let module_type = module_type reset_ctxt
let signature_item = signature_item reset_ctxt
let structure_item = structure_item reset_ctxt
let type_declaration = type_declaration reset_ctxt
let binding = binding reset_ctxt
let payload = payload reset_ctxt
3 changes: 3 additions & 0 deletions astlib/pprintast.mli
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,9 @@ val pattern : Format.formatter -> Parsetree.pattern -> unit
val signature : Format.formatter -> Parsetree.signature -> unit
val structure : Format.formatter -> Parsetree.structure -> unit
val string_of_structure : Parsetree.structure -> string
val binding : Format.formatter -> Parsetree.value_binding -> unit
val longident : Format.formatter -> Longident.t -> unit
val payload : Format.formatter -> Parsetree.payload -> unit

(* Added in the ppxlib copy *)
val class_expr : Format.formatter -> Parsetree.class_expr -> unit
Expand Down

0 comments on commit 4cf525e

Please sign in to comment.