package zanuda
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>
On This Page
Linter for OCaml+dune projects
Install
dune-project
Dependency
Authors
Maintainers
Sources
zanuda-2.1.0.tbz
sha256=9f6f5684ff7329cf84086e6239f02060e711c369fac1553a55e1cd53d8aa8234
sha512=d90e36fc67ba2f1adc13a964a39c46ec354201ea1ff400c5dfe5ab384e07edcc8d2ec42dc053cdc091e217c4183d97a2d33ac12d3977b65defbac506a0b3418e
doc/zanuda.tast_pattern/Tast_pattern/index.html
Module Tast_patternSource
Matching combinators for Typedtree.
Inspired by Ppxlib.Ast_pattern module.
Generic combinators
Matches a value against a pattern.
Pattern that captures its input with location.
Mapping results of applying pattern-combinator
Typedtree-specific combinators
Source
val tpat_tuple :
(Typedtree.value Typedtree.general_pattern list, 'a, 'b) t ->
(Typedtree.value Typedtree.pattern_desc Typedtree.pattern_data, 'a, 'b) tSource
val tpat_constructor :
(Longident.t, 'a, 'b) t ->
(Typedtree.pattern list, 'b, 'c) t ->
(Typedtree.pattern, 'a, 'c) tTrying to parse identifier with a given path. Beware that standard function are locted implicitly in Stdlib module. For example
texp_ident (path "&&" ) (* WRONG *) texp_ident (path "Stdlib"; "&&" ) (* CORRECT *)
Source
val texp_ident_typ :
(Path.t, 'a, 'b) t ->
(Types.type_expr, 'b, 'c) t ->
(Typedtree.expression, 'a, 'c) tSource
val texp_let :
(Typedtree.value_binding list, 'a, 'b) t ->
(Typedtree.expression, 'b, 'c) t ->
(Typedtree.expression, 'a, 'c) tSource
val texp_apply :
(Typedtree.expression, 'a, 'b) t ->
((Asttypes.arg_label * apply_arg) list, 'b, 'c) t ->
(Typedtree.expression, 'a, 'c) tSource
val texp_apply1 :
(Typedtree.expression, 'a, 'b) t ->
(Typedtree.expression, 'b, 'c) t ->
(Typedtree.expression, 'a, 'c) tSource
val texp_apply2 :
(Typedtree.expression, 'a, 'b) t ->
(Typedtree.expression, 'b, 'c) t ->
(Typedtree.expression, 'c, 'd) t ->
(Typedtree.expression, 'a, 'd) tSource
val texp_apply_nolabelled :
(Typedtree.expression, 'a, 'b) t ->
(Typedtree.expression list, 'b, 'c) t ->
(Typedtree.expression, 'a, 'c) tSource
val texp_function_body :
((Asttypes.arg_label * (Ident.t * Location.t)) list, 'a, 'b) t ->
(Typedtree.expression, 'b, 'c) t ->
(Typedtree.expression, 'a, 'c) tSource
val texp_function_cases :
((Asttypes.arg_label * (Ident.t * Location.t)) list, 'a, 'b) t ->
(Typedtree.value Typedtree.case list, 'b, 'c) t ->
(Typedtree.expression, 'a, 'c) tSource
val case :
(Typedtree.pattern, 'a, 'b) t ->
(Typedtree.expression option, 'b, 'c) t ->
(Typedtree.expression, 'c, 'd) t ->
(case_val, 'a, 'd) tSource
val ccase :
(comp_pat, 'a, 'b) t ->
(Typedtree.expression option, 'b, 'c) t ->
(Typedtree.expression, 'c, 'd) t ->
(case_comp, 'a, 'd) tSource
val texp_construct :
(Longident.t, 'a, 'b) t ->
(constructor_description, 'b, 'c) t ->
(Typedtree.expression list, 'c, 'd) t ->
(Typedtree.expression, 'a, 'd) tSource
val texp_match :
(Typedtree.expression, 'a, 'b) t ->
(case_comp list, 'b, 'c) t ->
(case_val list, 'c, 'd) t ->
(Typedtree.expression, 'a, 'd) tSource
val texp_ite :
(Typedtree.expression, 'a, 'b) t ->
(Typedtree.expression, 'b, 'c) t ->
(Typedtree.expression option, 'c, 'd) t ->
(Typedtree.expression, 'a, 'd) tSource
val texp_try :
(Typedtree.expression, 'a, 'b) t ->
(case_val list, 'b, 'c) t ->
(Typedtree.expression, 'a, 'c) tSource
val texp_record :
(Typedtree.expression option, 'a, 'b) t ->
((label_description * Typedtree.record_label_definition) array, 'b, 'c) t ->
(Typedtree.expression, 'a, 'c) tSource
val texp_field :
(Typedtree.expression, 'a, 'b) t ->
(label_description, 'b, 'c) t ->
(Typedtree.expression, 'a, 'c) tSource
val rld_overriden :
(Longident.t, 'a, 'b) t ->
(Typedtree.expression, 'b, 'c) t ->
(Typedtree.record_label_definition, 'a, 'c) tSource
val value_binding :
(Typedtree.pattern, 'a, 'b) t ->
(Typedtree.expression, 'b, 'c) t ->
(Typedtree.value_binding, 'a, 'c) tSource
val typ_constr :
(Path.t, 'a, 'b) t ->
(Types.type_expr list, 'b, 'c) t ->
(Types.type_expr, 'a, 'c) tSource
val typ_arrow :
(Types.type_expr, 'a, 'b) t ->
(Types.type_expr, 'b, 'c) t ->
(Types.type_expr, 'a, 'c) tSource
val typ_kind_record :
(Typedtree.label_declaration list, 'b, 'c) t ->
(Typedtree.type_kind, 'b, 'c) tSource
val attribute :
(string, 'a, 'b) t ->
(Parsetree.payload, 'b, 'c) t ->
(Typedtree.attribute, 'a, 'c) tSource
val pexp_function_body :
(Parsetree.pattern list, 'a, 'b) t ->
(Parsetree.expression, 'b, 'c) t ->
(Parsetree.expression, 'a, 'c) tSource
val pexp_function_cases :
(Parsetree.pattern list, 'a, 'b) t ->
(Parsetree.case list, 'b, 'c) t ->
(Parsetree.expression, 'a, 'c) tSource
val pexp_apply :
(Parsetree.expression, 'a, 'b) t ->
((Asttypes.arg_label * Parsetree.expression) list, 'b, 'c) t ->
(Parsetree.expression, 'a, 'c) t sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>
On This Page