logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

Pprintast - Pretty-printers for Parsetree

Documentation

       Module Pprintast
        : sigend

       Pretty-printers for Parsetree

       Warning: this module is unstable and part of Compiler_libs .

       typespace_formatter = (unit,Format.formatter,unit)formatvallongident : Format.formatter->Longident.t->unitvalconstr : Format.formatter->Longident.t->unitvalexpression : Format.formatter->Parsetree.expression->unitvalstring_of_expression : Parsetree.expression->stringvalpattern : Format.formatter->Parsetree.pattern->unitvalcore_type : Format.formatter->Parsetree.core_type->unitvalsignature : Format.formatter->Parsetree.signature->unitvalstructure : Format.formatter->Parsetree.structure->unitvalstring_of_structure : Parsetree.structure->stringvalmodule_expr : Format.formatter->Parsetree.module_expr->unitvaltoplevel_phrase : Format.formatter->Parsetree.toplevel_phrase->unitvaltop_phrase : Format.formatter->Parsetree.toplevel_phrase->unitvalclass_field : Format.formatter->Parsetree.class_field->unitvalclass_type_field : Format.formatter->Parsetree.class_type_field->unitvalclass_expr : Format.formatter->Parsetree.class_expr->unitvalclass_type : Format.formatter->Parsetree.class_type->unitvalmodule_type : Format.formatter->Parsetree.module_type->unitvalstructure_item : Format.formatter->Parsetree.structure_item->unitvalsignature_item : Format.formatter->Parsetree.signature_item->unitvalbinding : Format.formatter->Parsetree.value_binding->unitvalpayload : Format.formatter->Parsetree.payload->unitvaltyvar_of_name : string->string

       Turn  a type variable name into a valid identifier, taking care of the special treatment required for the
       single quote character in second position, or for keywords by escaping them with \#. No-op on "_".

       valtyvar : Format.formatter->string->unit

       Print a type variable name as a valid identifier, taking care of the special treatment required  for  the
       single quote character in second position, or for keywords by escaping them with \#. No-op on "_".

       moduleDoc:sigendFormat_doc functions for error messages

OCamldoc                                           2025-06-12                                      Pprintast(3o)

Module

       Module   Pprintast

Name

       Pprintast - Pretty-printers for Parsetree

See Also