ppx_view

A ppx rewriter that provides pattern matching on abstract types by
IN THIS PACKAGE
Module Viewast . Parseview
val pos_fname'match : ( string, 'i, 'o ) Viewlib.View.t -> ( Lexing.position, 'i, 'o ) Viewlib.View.t
val pos_lnum'match : ( int, 'i, 'o ) Viewlib.View.t -> ( Lexing.position, 'i, 'o ) Viewlib.View.t
val pos_bol'match : ( int, 'i, 'o ) Viewlib.View.t -> ( Lexing.position, 'i, 'o ) Viewlib.View.t
val pos_cnum'match : ( int, 'i, 'o ) Viewlib.View.t -> ( Lexing.position, 'i, 'o ) Viewlib.View.t
val labelled : ( string, 'a, 'b ) Viewlib.View.t -> ( Migrate_parsetree.Ast_404.Asttypes.arg_label, 'a, 'b ) Viewlib.View.t
val optional : ( string, 'a, 'b ) Viewlib.View.t -> ( Migrate_parsetree.Ast_404.Asttypes.arg_label, 'a, 'b ) Viewlib.View.t
val lident : ( string, 'a, 'b ) Viewlib.View.t -> ( Migrate_parsetree.Ast_404.Longident.t, 'a, 'b ) Viewlib.View.t
val loc_ghost'match : ( bool, 'i, 'o ) Viewlib.View.t -> ( Migrate_parsetree.Ast_404.Location.t, 'i, 'o ) Viewlib.View.t
val txt'match : ( 'a, 'i, 'o ) Viewlib.View.t -> ( 'a Migrate_parsetree.Ast_404.Location.loc, 'i, 'o ) Viewlib.View.t
val pconst_integer : ( string * char option, 'a, 'b ) Viewlib.View.t -> ( Migrate_parsetree.Ast_404.Parsetree.constant, 'a, 'b ) Viewlib.View.t
val pconst_char : ( char, 'a, 'b ) Viewlib.View.t -> ( Migrate_parsetree.Ast_404.Parsetree.constant, 'a, 'b ) Viewlib.View.t
val pconst_string : ( string * string option, 'a, 'b ) Viewlib.View.t -> ( Migrate_parsetree.Ast_404.Parsetree.constant, 'a, 'b ) Viewlib.View.t
val pconst_float : ( string * char option, 'a, 'b ) Viewlib.View.t -> ( Migrate_parsetree.Ast_404.Parsetree.constant, 'a, 'b ) Viewlib.View.t
val ptyp_var : ( string, 'a, 'b ) Viewlib.View.t -> ( Migrate_parsetree.Ast_404.Parsetree.core_type, 'a, 'b ) Viewlib.View.t
val pval_prim'match : ( string list, 'i, 'o ) Viewlib.View.t -> ( Migrate_parsetree.Ast_404.Parsetree.value_description, 'i, 'o ) Viewlib.View.t
val pci_expr'match : ( 'a, 'i, 'o ) Viewlib.View.t -> ( 'a Migrate_parsetree.Ast_404.Parsetree.class_infos, 'i, 'o ) Viewlib.View.t
val pincl_mod'match : ( 'a, 'i, 'o ) Viewlib.View.t -> ( 'a Migrate_parsetree.Ast_404.Parsetree.include_infos, 'i, 'o ) Viewlib.View.t
val pdir_int : ( string * char option, 'a, 'b ) Viewlib.View.t -> ( Migrate_parsetree.Ast_404.Parsetree.directive_argument, 'a, 'b ) Viewlib.View.t