package GT
Generic programming with extensible transformations
Install
Dune Dependency
Authors
Maintainers
Sources
GT-v0.5.3.tbz
sha256=55f8249e780b9a1891d9d4bb5bf2f4f7fdc619a06d9f6f04961afe193cbaaac4
sha512=3a9422aafb7a4d22c484d03950603e7f05c10512ddeb7675fe5dce73f0ef8f3537eabad1d5ebfb99c6b2e952a6203c793a1cd9d62d2863cef31616a4256b99d2
doc/GT.common/GTCommon/Plugin/Make/index.html
Module Plugin.Make
Source
Parameters
module AstHelpers : GTHELPERS_sig.S
Signature
Source
type plugin_constructor =
Plugin_intf.plugin_args ->
(bool * Ppxlib.type_declaration list) ->
(AstHelpers.loc,
AstHelpers.Exp.t,
AstHelpers.Typ.t,
AstHelpers.type_arg,
AstHelpers.Cl.t,
AstHelpers.Ctf.t,
AstHelpers.Cf.t,
AstHelpers.Str.t,
AstHelpers.Sig.t,
AstHelpers.Pat.t)
Plugin_intf.typ_g
Source
val add_dummy_attr :
?loc:AstHelpers.loc ->
?extra:string ->
string ->
AstHelpers.Exp.t ->
AstHelpers.Exp.t
Source
val prepare_patt_match_poly :
loc:AstHelpers.loc ->
AstHelpers.Exp.t ->
Ppxlib.row_field_desc list ->
string list option ->
onrow:
(Ppxlib.label Ppxlib.loc ->
(string * Ppxlib.core_type) list ->
AstHelpers.Exp.t) ->
onlabel:(string -> string -> AstHelpers.Exp.t) ->
oninherit:
(Ppxlib.core_type list -> Ppxlib.longident -> string -> AstHelpers.Exp.t) ->
AstHelpers.Exp.t
Source
class virtual generator : (Ppxlib.longident * Ppxlib.expression) list -> (bool
* Ppxlib.type_declaration
list) -> object ... end
Base class for all plugins. Implements Plugin_intf.typ_g
interface
Source
class virtual no_inherit_arg0 : (Ppxlib.longident * Ppxlib.expression) list -> (bool
* Ppxlib.type_declaration
list) -> object ... end
Source
class virtual with_inherited_attr : (Ppxlib.longident * Ppxlib.expression) list -> (bool
* Ppxlib.type_declaration
list) -> object ... end
Base plugin class where transformation functions receive inherited attribute for type parameter
Source
class virtual no_inherit_arg : (Ppxlib.longident * Ppxlib.expression) list -> (bool
* Ppxlib.type_declaration
list) -> object ... end
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>
On This Page