Module PPrinter.Printer

Node printer

val print : ?p:( node CCFormat.printer -> CCFormat.formatter -> node -> unit option ) -> ?focus:Region_pp_intf.var_name -> unit -> node CCFormat.printer

Print a node

  • parameter p

    custom override printer

  • parameter focus

    var name to consider the "subject" of the node

val to_string : ?p:( node CCFormat.printer -> CCFormat.formatter -> node -> unit option ) -> ?focus:Region_pp_intf.var_name -> node -> string

Returns a string representation of a node

  • parameter p

    custom override printer

  • parameter focus

    var name to consider the "subject" of the node