package vue-ppx

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

Module PpxSource

Sourcetype prop = {
  1. key : string;
  2. typ : Ppxlib.core_type option;
  3. cons : Ppxlib.expression option;
  4. dft : Ppxlib.expression option;
  5. validator : Ppxlib.expression option;
  6. req : bool;
  7. convert : bool;
}
Sourcetype acc = {
  1. name : string option;
  2. globals : (string * Ppxlib.core_type option * Ppxlib.expression * bool) list;
  3. datas : (string * Ppxlib.core_type option * Ppxlib.expression * bool) list;
  4. methods : (string * Ppxlib.core_type option * Ppxlib.expression * bool) list;
  5. computeds : (string * Ppxlib.core_type option * Ppxlib.expression * bool) list;
  6. watchs : (string * Ppxlib.core_type option * Ppxlib.expression * bool) list;
  7. directives : string list;
  8. props : prop list;
  9. template : [ `string of string | `expression of Ppxlib.expression ] option;
  10. lifecycle : (string * Ppxlib.expression) list;
  11. emits : string list;
  12. compile : bool;
  13. debug : bool;
  14. types : bool;
  15. convert_all : bool;
  16. modules : (string * string) list option;
}
Sourceval empty_acc : acc
Sourceval get_str_pat : Ppxlib.pattern -> string
Sourceval get_list_expression : Ppxlib.expression -> Ppxlib.expression list
Sourceval remove_poly : Ppxlib.core_type -> Ppxlib.core_type
Sourceval get_exit_type : Ppxlib.expression -> Ppxlib.core_type option
Sourceval js_mod : string Stdlib.ref
Sourceval dom_mod : string Stdlib.ref
Sourceval vue_compiler : string Stdlib.ref
Sourceval vue_compile : bool Stdlib.ref
Sourceval vue_debug : bool Stdlib.ref
Sourceval jstyp : loc:Ppxlib__.Location.t -> string -> Ppxlib__.Import.core_type list -> Ppxlib__.Import.core_type
Sourceval jsid : loc:Ppxlib__.Location.t -> string -> Ppxlib__.Import.expression
Sourceval jsapp : loc:Ppxlib__.Location.t -> string -> Ppxlib__.Import.expression list -> Ppxlib__.Import.expression
Sourceval domtyp : loc:Ppxlib__.Location.t -> string -> Ppxlib__.Import.core_type list -> Ppxlib__.Import.core_type
Sourceval domid : loc:Ppxlib__.Location.t -> string -> Ppxlib__.Import.expression
Sourceval field_name : string -> string
Sourceval kebab : string -> string
Sourceval hooks : string list
Sourceval instances : string list
Sourceval converted_type : acc -> bool -> Ppxlib.core_type -> Ppxlib.core_type
Sourceval converted_expr : ?of_:bool -> acc -> bool -> Ppxlib.core_type option -> Ppxlib.expression -> Ppxlib__.Import.expression
Sourceval data_type_fields : loc:Ppxlib__.Location.t -> acc -> Ppxlib__.Import.object_field list
Sourceval data_class_type_fields : loc:Ppxlib__.Location.t -> acc -> Ppxlib__.Import.class_type_field list
Sourceval global_type_fields : loc:Ppxlib__.Location.t -> acc -> Ppxlib__.Import.object_field list
Sourceval computed_type_fields : loc:Ppxlib__.Location.t -> acc -> Ppxlib__.Import.object_field list
Sourceval computed_class_type_fields : loc:Ppxlib__.Location.t -> acc -> Ppxlib__.Import.class_type_field list
Sourceval prop_type_fields : loc:Ppxlib__.Location.t -> acc -> Ppxlib__.Import.object_field list
Sourceval prop_class_type_fields : loc:Ppxlib__.Location.t -> acc -> Ppxlib__.Import.class_type_field list
Sourceval method_type_fields : loc:Ppxlib__.Location.t -> acc -> Ppxlib__.Import.object_field list
Sourceval method_class_type_fields : loc:Ppxlib__.Location.t -> acc -> Ppxlib__.Import.class_type_field list
Sourceval app_type : loc:Ppxlib__.Location.t -> acc -> Ppxlib__.Import.core_type
Sourceval vue_type : loc:Ppxlib__.Location.t -> acc -> Ppxlib__.Import.core_type option
Sourceval all_types : loc:Ppxlib__.Location.t -> acc -> Ppxlib__.Import.structure_item
Sourceval render : loc:Ppxlib.Location.t -> string -> Ppxlib__.Import.expression
Sourceval check_computed : Ppxlib.expression -> Ppxlib.expression
Sourcetype x =
  1. | X of string * x list
Sourceval type_name : Ppxlib.core_type -> x option
Sourceval check_watch : name:string -> acc -> Ppxlib.expression -> Ppxlib.expression
Sourceval check_lifecycle : Ppxlib.expression -> Ppxlib.expression
Sourceval check_kind : acc -> Ppxlib.expression -> [< `computed | `lifecycle | `watch of string ] option -> Ppxlib.expression
Sourceval wrap_method : ?this:string -> ?kind:[< `computed | `lifecycle | `watch of string ] -> ?pats:Ppxlib.pattern list -> ?convert:bool -> ?c:Ppxlib.core_type -> key:string -> acc -> Ppxlib.expression -> Ppxlib__.Import.expression
Sourceval wrap_directive : Ppxlib.expression -> Ppxlib__.Import.expression
Sourceval prop_arg_type : loc:Ppxlib__.Location.t -> acc -> prop -> Ppxlib__.Import.expression * Ppxlib.core_type option * [> `not_optional | `optional | `unknown ]
Sourceval prop_arg_required : prop -> bool
Sourceval prop_arg : loc:Ppxlib__.Location.t -> acc -> prop -> Ppxlib_ast.Ast.expression
Sourceval create_arg : loc:Ppxlib__.Location.t -> ?options:(Ppxlib.Longident.t Ppxlib.loc * Ppxlib.expression) list -> acc -> Ppxlib__.Import.expression
Sourceval create_app : loc:Ppxlib.location -> acc -> (Ppxlib.Longident.t Ppxlib.loc * Ppxlib.expression) list -> Ppxlib_ast.Ast.expression
Sourceval infer_type : Ppxlib.expression -> Ppxlib__.Import.core_type option
Sourceval add_global : ?convert:bool -> acc -> Ppxlib.value_binding list -> acc
Sourceval add_data : ?convert:bool -> acc -> Ppxlib.value_binding list -> acc
Sourceval add_method : ?convert:bool -> acc -> Ppxlib.value_binding list -> acc
Sourceval add_computed : ?convert:bool -> acc -> Ppxlib.value_binding list -> acc
Sourceval add_watch : ?convert:bool -> acc -> Ppxlib.value_binding list -> acc
Sourceval add_directive : ?convert:bool -> acc -> Ppxlib.value_binding list -> acc
Sourceval add_prop : ?convert:bool -> acc -> Ppxlib.value_binding list -> acc
Sourceval add_lifecycle : name:string -> acc -> Ppxlib.expression -> acc
Sourceval add_emit : name:string -> acc -> acc
Sourceval trim_html : string -> string
Sourceval wrap_this : acc -> Ppxlib.expression -> Ppxlib.expression
Sourceval instance_attrs : loc:Ppxlib__.Location.t -> acc -> string -> Ppxlib.expression -> Ppxlib__.Import.expression
Sourceval do_convert : Ppxlib.value_binding list -> bool
Sourceval convert_all_and_modules_aux : (Ppxlib.longident Ppxlib.loc * Ppxlib.expression) list -> bool * (string * string) list option
Sourceval convert_all_and_modules : acc Ppxlib.Ast_traverse.fold
Sourceval ast_fold : acc Ppxlib.Ast_traverse.fold
Sourceval next_expr : loc:Ppxlib__.Location.t -> acc -> Ppxlib_ast.Ast.expression -> Ppxlib.expression -> Ppxlib__.Import.expression * acc
Sourceval ast_map : acc Ppxlib.Ast_traverse.fold_map
OCaml

Innovation. Community. Security.