package GT

  1. Overview
  2. Docs
Generic programming with extensible transformations

Install

Dune Dependency

Authors

Maintainers

Sources

0.5.2.tar.gz
md5=9d18b96ada4d18fdda0b5f5698273145
sha512=945070bea4322bf8f7932a259af91432a3c109a05294ba2a27c1c2e9d2796ffb4cc32f6b8e28ff465311277696296ddda531a2ce818e590c09c64c5721d65e19

doc/GT.common/GTCommon/Plugin/Make/class-no_inherit_arg0/index.html

Class Make.no_inherit_arg0Source

Base plugin class where transformation functions doesn't use inherited attribute. See Show and Gmap plugin for examples.

inherit generator
method virtual plugin_name : string
method virtual syn_of_main : loc:AstHelpers.loc -> ?in_class:bool -> Ppxlib.type_declaration -> AstHelpers.Typ.t
method virtual inh_of_main : loc:AstHelpers.loc -> Ppxlib.type_declaration -> AstHelpers.Typ.t
method virtual syn_of_param : loc:AstHelpers.loc -> string -> AstHelpers.Typ.t
method virtual inh_of_param : loc:AstHelpers.loc -> Ppxlib.type_declaration -> string -> AstHelpers.Typ.t
method virtual make_trans_function_typ : loc:AstHelpers.loc -> Ppxlib.type_declaration -> AstHelpers.Typ.t
method need_inh_attr : bool
method make_typ_of_self_trf : loc:AstHelpers.loc -> ?in_class:bool -> Ppxlib.type_declaration -> AstHelpers.Typ.t
method make_typ_of_class_argument : 'a. loc:AstHelpers.loc -> Ppxlib.type_declaration -> (AstHelpers.Typ.t -> 'a -> 'a) -> string -> (('a -> 'a) -> 'a -> 'a) -> 'a -> 'a
method make_RHS_typ_of_transformation : loc:AstHelpers.loc -> ?subj_t:AstHelpers.Typ.t -> ?syn_t:AstHelpers.Typ.t -> Ppxlib.type_declaration -> AstHelpers.Typ.t
method app_gcata : loc:AstHelpers.loc -> AstHelpers.Exp.t -> AstHelpers.Exp.t
method on_record_constr : loc:AstHelpers.loc -> is_self_rec:(Ppxlib.core_type -> [ `Nonrecursive | `Nonregular | `Regular ]) -> mutual_decls:Ppxlib.type_declaration list -> inhe:AstHelpers.Exp.t -> Ppxlib.type_declaration -> [ `Normal of string | `Poly of string ] -> (string * string * Ppxlib.core_type) list -> Ppxlib.label_declaration list -> AstHelpers.Exp.t
method wrap_tr_function_str : loc:AstHelpers.loc -> Ppxlib.type_declaration -> AstHelpers.Exp.t -> AstHelpers.Exp.t
OCaml

Innovation. Community. Security.