package ppxlib
Standard library for ppx rewriters
Install
Dune Dependency
Authors
Maintainers
Sources
ppxlib-0.18.0.tbz
sha256=9d483c36467ae061c70df7166ed1465eadcc3442aefa760fb5c5439bf8047dc3
sha512=b1a9faff8f190f78600fe33762a32362eae457a09dbcb35b58eb897dc7915d1c228df818a3e698a8cca19d40a2ec422a860620d3468dfa1feeee78eb0b2e8445
doc/ppxlib.ast/Ppxlib_ast/Ast_helper/Typ/index.html
Module Ast_helper.Typ
Type expressions
Type expressions
val mk :
?loc:Ocaml_common.Location.t ->
?attrs:Migrate_parsetree.Ast_411.Parsetree.attribute list ->
Migrate_parsetree.Ast_411.Parsetree.core_type_desc ->
Migrate_parsetree.Ast_411.Parsetree.core_type
val any :
?loc:Ocaml_common.Location.t ->
?attrs:Migrate_parsetree.Ast_411.Parsetree.attribute list ->
unit ->
Migrate_parsetree.Ast_411.Parsetree.core_type
val var :
?loc:Ocaml_common.Location.t ->
?attrs:Migrate_parsetree.Ast_411.Parsetree.attribute list ->
string ->
Migrate_parsetree.Ast_411.Parsetree.core_type
val arrow :
?loc:Ocaml_common.Location.t ->
?attrs:Migrate_parsetree.Ast_411.Parsetree.attribute list ->
Migrate_parsetree.Ast_411.Asttypes.arg_label ->
Migrate_parsetree.Ast_411.Parsetree.core_type ->
Migrate_parsetree.Ast_411.Parsetree.core_type ->
Migrate_parsetree.Ast_411.Parsetree.core_type
val tuple :
?loc:Ocaml_common.Location.t ->
?attrs:Migrate_parsetree.Ast_411.Parsetree.attribute list ->
Migrate_parsetree.Ast_411.Parsetree.core_type list ->
Migrate_parsetree.Ast_411.Parsetree.core_type
val constr :
?loc:Ocaml_common.Location.t ->
?attrs:Migrate_parsetree.Ast_411.Parsetree.attribute list ->
Ocaml_common.Longident.t Ocaml_common.Location.loc ->
Migrate_parsetree.Ast_411.Parsetree.core_type list ->
Migrate_parsetree.Ast_411.Parsetree.core_type
val object_ :
?loc:Ocaml_common.Location.t ->
?attrs:Migrate_parsetree.Ast_411.Parsetree.attribute list ->
Migrate_parsetree.Ast_411.Parsetree.object_field list ->
Migrate_parsetree.Ast_411.Asttypes.closed_flag ->
Migrate_parsetree.Ast_411.Parsetree.core_type
val class_ :
?loc:Ocaml_common.Location.t ->
?attrs:Migrate_parsetree.Ast_411.Parsetree.attribute list ->
Ocaml_common.Longident.t Ocaml_common.Location.loc ->
Migrate_parsetree.Ast_411.Parsetree.core_type list ->
Migrate_parsetree.Ast_411.Parsetree.core_type
val alias :
?loc:Ocaml_common.Location.t ->
?attrs:Migrate_parsetree.Ast_411.Parsetree.attribute list ->
Migrate_parsetree.Ast_411.Parsetree.core_type ->
string ->
Migrate_parsetree.Ast_411.Parsetree.core_type
val variant :
?loc:Ocaml_common.Location.t ->
?attrs:Migrate_parsetree.Ast_411.Parsetree.attribute list ->
Migrate_parsetree.Ast_411.Parsetree.row_field list ->
Migrate_parsetree.Ast_411.Asttypes.closed_flag ->
Migrate_parsetree.Ast_411.Asttypes.label list option ->
Migrate_parsetree.Ast_411.Parsetree.core_type
val poly :
?loc:Ocaml_common.Location.t ->
?attrs:Migrate_parsetree.Ast_411.Parsetree.attribute list ->
string Ocaml_common.Location.loc list ->
Migrate_parsetree.Ast_411.Parsetree.core_type ->
Migrate_parsetree.Ast_411.Parsetree.core_type
val package :
?loc:Ocaml_common.Location.t ->
?attrs:Migrate_parsetree.Ast_411.Parsetree.attribute list ->
Ocaml_common.Longident.t Ocaml_common.Location.loc ->
(Ocaml_common.Longident.t Ocaml_common.Location.loc
* Migrate_parsetree.Ast_411.Parsetree.core_type)
list ->
Migrate_parsetree.Ast_411.Parsetree.core_type
val extension :
?loc:Ocaml_common.Location.t ->
?attrs:Migrate_parsetree.Ast_411.Parsetree.attribute list ->
Migrate_parsetree.Ast_411.Parsetree.extension ->
Migrate_parsetree.Ast_411.Parsetree.core_type
val varify_constructors :
string Ocaml_common.Location.loc list ->
Migrate_parsetree.Ast_411.Parsetree.core_type ->
Migrate_parsetree.Ast_411.Parsetree.core_type
varify_constructors newtypes te
is type expression te
, of which any of nullary type constructor tc
is replaced by type variable of the same name, if tc
's name appears in newtypes
. Raise Syntaxerr.Variable_in_scope
if any type variable inside te
appears in newtypes
.
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>