package jsoo-react

  1. Overview
  2. Docs

Module Jsoo_react_ppx.PpxSource

Sourceval dev_mode : bool
Sourcemodule Str_label : sig ... end
Sourceval find_opt : ('a -> bool) -> 'a list -> 'a option
Sourceval nolabel : Ppxlib.arg_label
Sourceval labelled : string -> Ppxlib.arg_label
Sourceval getLabel : Ppxlib.arg_label -> string
Sourceval isOptional : Ppxlib.arg_label -> bool
Sourceval optionIdent : Ppxlib.longident
Sourceval isUnit : Ppxlib.expression -> bool
Sourceval constantString : loc:Ppxlib_ast__Ast_helper_lite.loc -> string -> Astlib.Ast_500.Parsetree.expression
Sourceval safeTypeFromValue : Str_label.t -> string
Sourceval keyType : Ppxlib_ast__Ast_helper_lite.loc -> Astlib.Ast_500.Parsetree.core_type
Sourceval refType : Ppxlib.location -> Ppxlib_ast.Ast.core_type
Sourcetype componentConfig = {
  1. propsName : string;
}
Sourceval extractChildren : ?removeLastPositionUnit:bool -> loc:Ppxlib_ast__Ast_helper_lite.loc -> (Ppxlib.arg_label * Ppxlib.expression) list -> Astlib.Ast_500.Parsetree.expression * (Ppxlib.arg_label * Ppxlib.expression) list
Sourceval unerasableIgnore : Ppxlib.location -> Ppxlib.attribute
Sourceval merlin_hide : Ppxlib.attribute
Sourceval hasAttr : Ppxlib.attribute -> bool
Sourceval otherAttrsPure : Ppxlib.attribute -> bool
Sourceval has_attr_on_binding : Ppxlib.value_binding -> bool
Sourceval used_attributes_tbl : (Ppxlib.location, unit) Stdlib.Hashtbl.t
Sourceval register_loc : Ppxlib__.Import.attribute -> unit
Sourceval filter_attr_name : string -> Ppxlib.attribute -> bool
Sourceval getFnName : Ppxlib.pattern -> string
Sourceval getPropsNameValue : 'a -> (Ppxlib.longident Ppxlib.loc * Ppxlib.expression) -> componentConfig
Sourceval get_props_attr : Ppxlib.payload option -> componentConfig
Sourceval pluckLabelDefaultLocType : ('a * 'b * 'c * 'd * 'e * 'f) -> 'a * 'b * 'e * 'f
Sourceval makeArgsForMakePropsType : (Str_label.t * 'a option * Ppxlib_ast__Ast_helper_lite.loc * Ppxlib.core_type option) list -> Astlib.Ast_500.Parsetree.core_type -> Astlib.Ast_500.Parsetree.core_type
Sourceval make_props_name : string -> string
Sourceval makePropsName : loc:Ppxlib_ast__Ast_helper_lite.loc -> string -> Astlib.Ast_500.Parsetree.pattern
Sourceval makeObjectField : Ppxlib.location -> (Str_label.t * 'a * Ppxlib_ast.Ast.core_type) -> Ppxlib.object_field
Sourceval makePropsType : loc:Ppxlib_ast__Ast_helper_lite.loc -> (Str_label.t * 'a * Ppxlib_ast.Ast.core_type) list -> Astlib.Ast_500.Parsetree.core_type
Sourceval make_funs_for_make_props_body : (Str_label.t * 'a * Ppxlib_ast__Ast_helper_lite.loc * 'b) list -> Astlib.Ast_500.Parsetree.expression -> Astlib.Ast_500.Parsetree.expression
Sourceval makeAttributeValue : loc:Ppxlib.location -> isOptional:bool -> Html.attributeType -> Ppxlib_ast.Ast.expression -> Ppxlib_ast.Ast.expression
Sourceval makeEventValue : loc:Ppxlib.location -> isOptional:bool -> Html.eventType -> Ppxlib_ast.Ast.expression -> Ppxlib_ast.Ast.expression
Sourceval makeValue : loc:Ppxlib.location -> isOptional:bool -> Html.prop -> Ppxlib_ast.Ast.expression -> Ppxlib_ast.Ast.expression
Sourceval make_js_props_obj : loc:Ppxlib_ast__Ast_helper_lite.loc -> (Str_label.t * 'a * 'b * 'c) list -> Ppxlib_ast.Ast.expression
Sourceval get_wrap_fn_for_type : loc:Ppxlib.location -> Ppxlib_ast.Ast.core_type option -> Ppxlib_ast.Ast.expression option
Sourceval make_external_js_props_obj : loc:Ppxlib_ast__Ast_helper_lite.loc -> (Str_label.t * 'a * 'b * Ppxlib_ast.Ast.core_type option) list -> Ppxlib_ast.Ast.expression
Sourceval make_make_props : Ppxlib_ast.Ast.expression -> string -> Ppxlib_ast__Ast_helper_lite.loc -> (Str_label.t * 'a option * Ppxlib_ast__Ast_helper_lite.loc * Ppxlib.core_type option) list -> (Str_label.t * 'b * Ppxlib_ast.Ast.core_type) list -> Ppxlib.expression -> Astlib.Ast_500.Parsetree.expression
Sourceval recursivelyTransformNamedArgsForMake : < expression : Ppxlib.expression -> Ppxlib.expression.. > -> Ppxlib.expression -> (Str_label.t * Ppxlib.expression option * Ppxlib.pattern * string * Ppxlib.location * Ppxlib.core_type option) list -> (Str_label.t * Ppxlib.expression option * Ppxlib.pattern * string * Ppxlib.location * Ppxlib.core_type option) list * string option
Sourceval arg_to_concrete_type : (Str_label.t * 'a list * Astlib.Ast_500.Parsetree.core_type) list -> (Str_label.t * Ppxlib_ast__Ast_helper_lite.loc * Astlib.Ast_500.Parsetree.core_type) -> (Str_label.t * 'a list * Astlib.Ast_500.Parsetree.core_type) list
Sourceval argToType : (Str_label.t * 'a list * Ppxlib.core_type) list -> (Str_label.t * 'b option * 'c * 'd * Ppxlib.location * Ppxlib.core_type option) -> (Str_label.t * 'a list * Ppxlib.core_type) list
Sourceval make_js_comp : loc:Ppxlib_ast__Ast_helper_lite.loc -> fn_name:string -> forward_ref:string option -> has_unit:bool -> named_arg_list: (Str_label.t * 'a * 'b * 'c * Ppxlib_ast__Ast_helper_lite.loc * 'd) list -> named_type_list:(Str_label.t * 'e * Ppxlib_ast.Ast.core_type) list -> payload:Ppxlib.payload option -> wrap: (Astlib.Ast_500.Parsetree.expression -> Astlib.Ast_500.Parsetree.expression) -> Ppxlib.expression -> Astlib.Ast_500.Parsetree.expression
Sourceval make_ml_comp : loc:Ppxlib_ast__Ast_helper_lite.loc -> fn_name:string -> body:Astlib.Ast_500.Parsetree.expression -> Ppxlib.expression -> Astlib.Ast_500.Parsetree.expression
Sourceval process_value_binding : pstr_loc:Ppxlib.location -> inside_component:bool -> mapper:< expression : Ppxlib.expression -> Ppxlib.expression.. > -> Ppxlib.value_binding -> Astlib.Ast_500.Parsetree.value_binding
Sourceval uppercase_element_args : loc:Ppxlib_ast__Ast_helper_lite.loc -> (Ppxlib.arg_label * Ppxlib.expression) list -> Astlib.Ast_500.Parsetree.expression * (Ppxlib.arg_label * Ppxlib.expression) list
Sourceval jsxMapper : unit -> Ppxlib.Ast_traverse.map
Sourceval rewrite_implementation : Ppxlib.Parsetree.structure -> Ppxlib.Parsetree.structure
Sourceval rewrite_signature : Ppxlib.Parsetree.signature -> Ppxlib.Parsetree.signature
OCaml

Innovation. Community. Security.