Pprintast

Section: OCaml library (3o)
Updated: 2023-02-12
Index Return to Main Contents
 

NAME

Pprintast - Pretty-printers for Parsetree  

Module

Module Pprintast  

Documentation

Module Pprintast
 :  sig end

Pretty-printers for Parsetree

Warning: this module is unstable and part of Compiler_libs .

type space_formatter = (unit, Format.formatter, unit) format

val longident : Format.formatter -> Longident.t -> unit

val expression : Format.formatter -> Parsetree.expression -> unit

val string_of_expression : Parsetree.expression -> string

val pattern : Format.formatter -> Parsetree.pattern -> unit

val core_type : Format.formatter -> Parsetree.core_type -> unit

val signature : Format.formatter -> Parsetree.signature -> unit

val structure : Format.formatter -> Parsetree.structure -> unit

val string_of_structure : Parsetree.structure -> string

val module_expr : Format.formatter -> Parsetree.module_expr -> unit

val toplevel_phrase : Format.formatter -> Parsetree.toplevel_phrase -> unit

val top_phrase : Format.formatter -> Parsetree.toplevel_phrase -> unit

val tyvar : Format.formatter -> string -> unit

Print a type variable name, taking care of the special treatment required for the single quote character in second position.


 

Index

NAME
Module
Documentation

This document was created by man2html, using the manual pages.
Time: 03:32:18 GMT, April 24, 2024