package gospel

  1. Overview
  2. Docs

Module Gospel.OpprintastSource

Sourcemodule Option : sig ... end
Sourceval varify_type_constructors : string Ppxlib.Location.loc list -> Ppxlib.Parsetree.core_type -> Ppxlib.Parsetree.core_type
Sourceval prefix_symbols : char list
Sourceval infix_symbols : char list
Sourceval special_infix_strings : string list
Sourceval letop : string -> bool
Sourceval andop : string -> bool
Sourceval fixity_of_string : string -> [> `Andop of string | `Infix of string | `Letop of string | `Mixfix of string | `Normal | `Prefix of string ]
Sourceval view_fixity_of_exp : Ppxlib.Parsetree.expression -> [> `Andop of string | `Infix of string | `Letop of string | `Mixfix of string | `Normal | `Prefix of string ]
Sourceval is_infix : [> `Infix of 'a ] -> bool
Sourceval is_mixfix : [> `Mixfix of 'a ] -> bool
Sourceval is_kwdop : [> `Andop of 'a | `Letop of 'b ] -> bool
Sourceval first_is : char -> string -> bool
Sourceval last_is : char -> string -> bool
Sourceval first_is_in : char list -> string -> bool
Sourceval needs_parens : string -> bool
Sourceval needs_spaces : string -> bool
Sourceval string_loc : Format.formatter -> string Ppxlib.Location.loc -> unit
Sourceval protect_ident : Format.formatter -> string -> unit
Sourceval protect_longident : Format.formatter -> (Format.formatter -> 'a -> unit) -> 'a -> string -> unit
Sourcetype space_formatter = (unit, Format.formatter, unit) format
Sourceval override : Ppxlib.Asttypes.override_flag -> string
Sourceval type_variance : Ppxlib.Asttypes.variance -> string
Sourceval type_injectivity : Ppxlib.Asttypes.injectivity -> string
Sourcetype construct = [
  1. | `cons of Ppxlib.Parsetree.expression list
  2. | `list of Ppxlib.Parsetree.expression list
  3. | `nil
  4. | `normal
  5. | `simple of Ppxlib.Longident.t
  6. | `tuple
]
Sourceval view_expr : Ppxlib.Parsetree.expression -> [> `cons of Ppxlib.Parsetree.expression list | `list of Ppxlib.Parsetree.expression list | `nil | `normal | `simple of Astlib__.Longident.t | `tuple ]
Sourceval is_simple_construct : construct -> bool
Sourceval pp : Format.formatter -> ('a, Format.formatter, unit) format -> 'a
Sourcetype ctxt = {
  1. pipe : bool;
  2. semi : bool;
  3. ifthenelse : bool;
}
Sourceval reset_ctxt : ctxt
Sourceval under_pipe : ctxt -> ctxt
Sourceval under_semi : ctxt -> ctxt
Sourceval under_ifthenelse : ctxt -> ctxt
Sourceval list : 'a. ?sep:space_formatter -> ?first:space_formatter -> ?last:space_formatter -> (Format.formatter -> 'a -> unit) -> Format.formatter -> 'a list -> unit
Sourceval option : 'a. ?first:space_formatter -> ?last:space_formatter -> (Format.formatter -> 'a -> unit) -> Format.formatter -> 'a option -> unit
Sourceval paren : 'a. ?first:space_formatter -> ?last:space_formatter -> bool -> (Format.formatter -> 'a -> unit) -> Format.formatter -> 'a -> unit
Sourceval longident : Format.formatter -> Ppxlib.Longident.t -> unit
Sourceval constant : Format.formatter -> Ppxlib.Parsetree.constant -> unit
Sourceval mutable_flag : Format.formatter -> Ppxlib.Asttypes.mutable_flag -> unit
Sourceval virtual_flag : Format.formatter -> Ppxlib.Asttypes.virtual_flag -> unit
Sourceval rec_flag : Format.formatter -> Ppxlib.Asttypes.rec_flag -> unit
Sourceval nonrec_flag : Format.formatter -> Ppxlib.Asttypes.rec_flag -> unit
Sourceval direction_flag : Format.formatter -> Ppxlib.Asttypes.direction_flag -> unit
Sourceval private_flag : Format.formatter -> Ppxlib.Asttypes.private_flag -> unit
Sourceval iter_loc : ('a -> 'b -> 'c) -> 'a -> 'b Ppxlib.Location.loc -> 'c
Sourceval constant_string : Format.formatter -> string -> unit
Sourceval tyvar : Format.formatter -> string -> unit
Sourceval tyvar_loc : Format.formatter -> string Ppxlib.Location.loc -> unit
Sourceval string_quot : Format.formatter -> string -> unit
Sourceval class_params_def : ctxt -> Format.formatter -> (Ppxlib.Parsetree.core_type * (Ppxlib.Asttypes.variance * Ppxlib.Asttypes.injectivity)) list -> unit
Sourceval type_with_label : ctxt -> Format.formatter -> (Ppxlib.Asttypes.arg_label * Ppxlib.Parsetree.core_type) -> unit
Sourceval core_type1 : ctxt -> Format.formatter -> Ppxlib.Parsetree.core_type -> unit
Sourceval pattern_or : ctxt -> Format.formatter -> Ppxlib.Parsetree.pattern -> unit
Sourceval pattern1 : ctxt -> Format.formatter -> Ppxlib.Parsetree.pattern -> unit
Sourceval simple_pattern : ctxt -> Format.formatter -> Ppxlib.Parsetree.pattern -> unit
Sourceval label_exp : ctxt -> Format.formatter -> (Ppxlib.Asttypes.arg_label * Ppxlib.Parsetree.expression option * Ppxlib.Parsetree.pattern) -> unit
Sourceval sugar_expr : ctxt -> Format.formatter -> Ppxlib.Parsetree.expression -> bool
Sourceval expression1 : ctxt -> Format.formatter -> Ppxlib.Parsetree.expression -> unit
Sourceval expression2 : ctxt -> Format.formatter -> Ppxlib.Parsetree.expression -> unit
Sourceval simple_expr : ctxt -> Format.formatter -> Ppxlib.Parsetree.expression -> unit
Sourceval attributes : ctxt -> Format.formatter -> Ppxlib.Parsetree.attributes -> unit
Sourceval item_attributes : ctxt -> Format.formatter -> Ppxlib.Parsetree.attributes -> unit
Sourceval attribute : ctxt -> Format.formatter -> Ppxlib.Parsetree.attribute -> unit
Sourceval item_attribute : ctxt -> Format.formatter -> Ppxlib.Parsetree.attribute -> unit
Sourceval floating_attribute : ctxt -> Format.formatter -> Ppxlib.Parsetree.attribute -> unit
Sourceval value_description : ctxt -> Format.formatter -> Ppxlib.Parsetree.value_description -> unit
Sourceval extension : ctxt -> Format.formatter -> Ppxlib.Parsetree.extension -> unit
Sourceval item_extension : ctxt -> Format.formatter -> Ppxlib.Parsetree.extension -> unit
Sourceval exception_declaration : ctxt -> Format.formatter -> Ppxlib.Parsetree.type_exception -> unit
Sourceval class_type_declaration_list : ctxt -> Format.formatter -> Ppxlib.Parsetree.class_type Ppxlib.Parsetree.class_infos list -> unit
Sourceval class_structure : ctxt -> Format.formatter -> Ppxlib.Parsetree.class_structure -> unit
Sourceval with_constraint : ctxt -> Format.formatter -> Ppxlib.Parsetree.with_constraint -> unit
Sourceval module_type1 : ctxt -> Format.formatter -> Ppxlib.Parsetree.module_type -> unit
Sourceval payload : ctxt -> Format.formatter -> Ppxlib.Parsetree.payload -> unit
Sourceval binding : ctxt -> Format.formatter -> Ppxlib.Parsetree.value_binding -> unit
Sourceval bindings : ctxt -> Format.formatter -> (Ppxlib.Asttypes.rec_flag * Ppxlib.Parsetree.value_binding list) -> unit
Sourceval binding_op : ctxt -> Format.formatter -> Ppxlib.Parsetree.binding_op -> unit
Sourceval type_param : ctxt -> Format.formatter -> (Ppxlib.Parsetree.core_type * (Ppxlib.Asttypes.variance * Ppxlib.Asttypes.injectivity)) -> unit
Sourceval type_params : ctxt -> Format.formatter -> (Ppxlib.Parsetree.core_type * (Ppxlib.Asttypes.variance * Ppxlib.Asttypes.injectivity)) list -> unit
Sourceval type_def_list : ctxt -> Format.formatter -> (Ppxlib.Asttypes.rec_flag * bool * Ppxlib.Parsetree.type_declaration list) -> unit
Sourceval record_declaration : ctxt -> Format.formatter -> Ppxlib.Parsetree.label_declaration list -> unit
Sourceval type_extension : ctxt -> Format.formatter -> Ppxlib.Parsetree.type_extension -> unit
Sourceval constructor_declaration : ctxt -> Format.formatter -> (string * string Ppxlib.Location.loc list * Ppxlib.Parsetree.constructor_arguments * Ppxlib.Parsetree.core_type option * Ppxlib.Parsetree.attributes) -> unit
Sourceval extension_constructor : ctxt -> Format.formatter -> Ppxlib.Parsetree.extension_constructor -> unit
Sourceval case_list : ctxt -> Format.formatter -> Ppxlib.Parsetree.case list -> unit
Sourceval label_x_expression_param : ctxt -> Format.formatter -> (Ppxlib.Asttypes.arg_label * Ppxlib.Parsetree.expression) -> unit
Sourceval directive_argument : Format.formatter -> Ppxlib.Parsetree.directive_argument -> unit
Sourceval toplevel_phrase : Format.formatter -> Ppxlib.Parsetree.toplevel_phrase -> unit
Sourceval expression : Format.formatter -> Ppxlib.Parsetree.expression -> unit
Sourceval string_of_expression : Ppxlib.Parsetree.expression -> string
Sourceval string_of_structure : Ppxlib.Parsetree.structure -> string
Sourceval top_phrase : Format.formatter -> Ppxlib.Parsetree.toplevel_phrase -> unit
Sourceval core_type : Format.formatter -> Ppxlib.Parsetree.core_type -> unit
Sourceval pattern : Format.formatter -> Ppxlib.Parsetree.pattern -> unit
Sourceval signature : Format.formatter -> Ppxlib.Parsetree.signature -> unit
Sourceval structure : Format.formatter -> Ppxlib.Parsetree.structure -> unit
Sourceval class_expr : Format.formatter -> Ppxlib.Parsetree.class_expr -> unit
Sourceval class_field : Format.formatter -> Ppxlib.Parsetree.class_field -> unit
Sourceval class_type : Format.formatter -> Ppxlib.Parsetree.class_type -> unit
Sourceval class_signature : Format.formatter -> Ppxlib.Parsetree.class_signature -> unit
Sourceval class_type_field : Format.formatter -> Ppxlib.Parsetree.class_type_field -> unit
Sourceval module_expr : Format.formatter -> Ppxlib.Parsetree.module_expr -> unit
Sourceval module_type : Format.formatter -> Ppxlib.Parsetree.module_type -> unit
Sourceval signature_item : Format.formatter -> Ppxlib.Parsetree.signature_item -> unit
Sourceval structure_item : Format.formatter -> Ppxlib.Parsetree.structure_item -> unit
Sourceval type_declaration : Format.formatter -> Ppxlib.Parsetree.type_declaration -> unit
OCaml

Innovation. Community. Security.