package ocf_ppx

  1. Overview
  2. Docs
Legend:
Page
Library
Module
Module type
Parameter
Class
Class type
Source

Module Ocf_ppx.Ppx_ocfSource

Ppx processor for Ocf.

Sourceval mkloc : 'a -> Location.t -> 'a Location.loc
Sourceval lid : ?loc:Location.t -> string -> Longident.t Location.loc
Sourceval error : Location.t -> string -> 'a
Sourceval kerror : Location.t -> ('a, unit, string, 'b) format4 -> 'a
module Location : sig ... end
Sourcemodule SMap : sig ... end
Sourceval apply : ?loc:Ppxlib_ast__Ast_helper_lite.loc -> Astlib.Ast_500.Parsetree.expression -> Astlib.Ast_500.Parsetree.expression list -> Astlib.Ast_500.Parsetree.expression
Sourceval mk_string : Ppxlib_ast__Ast_helper_lite.loc -> string -> Astlib.Ast_500.Parsetree.expression
Sourceval cons : Location.t -> Longident.t Location.loc
Sourceval empty_list : Astlib.Ast_500.Parsetree.expression
Sourceval mk_list : Location.t -> Astlib.Ast_500.Parsetree.expression list -> Astlib.Ast_500.Parsetree.expression
Sourceval list_remove_doubles : ?pred:('a -> 'a -> bool) -> 'a list -> 'a list
Sourceval ocf_att_prefix : string
Sourceval len_ocf_att_prefix : int
Sourceval get_ocf_attr : string -> string option
Sourceval has_ocf_attribute : Ppxlib.attribute list -> bool
Sourcetype field = {
  1. name : string Location.loc;
  2. label : string Location.loc;
  3. doc : Ppxlib.expression option;
  4. params : string list;
  5. wrapper : Ppxlib.expression option;
  6. default : Ppxlib.expression option;
}
Sourceval params_of_type_params : Ppxlib.core_type list -> string list
Sourceval attribute_ : string -> Ppxlib.attribute list -> Ppxlib.attribute option
Sourceval attribute : string -> Ppxlib.attribute list list -> Ppxlib.attribute option
Sourceval mk_field : Ppxlib.label_declaration -> field
Sourceval mk_default : Ppxlib.type_declaration -> field list -> Astlib.Ast_500.Parsetree.value_binding
Sourceval mk_wrapper : Ppxlib.type_declaration -> field list -> Astlib.Ast_500.Parsetree.value_binding
Sourceval generate : Ppxlib.type_declaration -> Astlib.Ast_500.Parsetree.value_binding list
Sourceval fold_structure : Ppxlib.structure_item list -> Ppxlib.structure_item -> Ppxlib.structure_item list
Sourceval structure_mapper : (Ppxlib.structure_item list -> 'a) -> 'b -> Ppxlib.structure_item list -> 'a
Sourceclass mapper : object ... end
Sourceval mapper : mapper