package ppxlib
Standard library for ppx rewriters
Install
Dune Dependency
Authors
Maintainers
Sources
ppxlib-0.23.0.tbz
sha256=1b5836c186b9d5a16acf47da94f3968f4f08b519b7729cd86a8fd39971fe12e5
sha512=00352fe61756f5aad5fd89b3cc596b619e5a5cf6808dcb0c197369bfff9f1ba182b4c6e5ea0e67269c9441b7b9b28f2a70d63fb972dfda64fc1a8404f7924753
doc/ppxlib.ast/Ppxlib_ast/Ast_helper/Typ/index.html
Module Ast_helper.Typ
Type expressions
Type expressions
val mk :
?loc:Astlib.Location.t ->
?attrs:Astlib.Ast_412.Parsetree.attribute list ->
Astlib.Ast_412.Parsetree.core_type_desc ->
Astlib.Ast_412.Parsetree.core_type
val any :
?loc:Astlib.Location.t ->
?attrs:Astlib.Ast_412.Parsetree.attribute list ->
unit ->
Astlib.Ast_412.Parsetree.core_type
val var :
?loc:Astlib.Location.t ->
?attrs:Astlib.Ast_412.Parsetree.attribute list ->
string ->
Astlib.Ast_412.Parsetree.core_type
val arrow :
?loc:Astlib.Location.t ->
?attrs:Astlib.Ast_412.Parsetree.attribute list ->
Astlib.Ast_412.Asttypes.arg_label ->
Astlib.Ast_412.Parsetree.core_type ->
Astlib.Ast_412.Parsetree.core_type ->
Astlib.Ast_412.Parsetree.core_type
val tuple :
?loc:Astlib.Location.t ->
?attrs:Astlib.Ast_412.Parsetree.attribute list ->
Astlib.Ast_412.Parsetree.core_type list ->
Astlib.Ast_412.Parsetree.core_type
val constr :
?loc:Astlib.Location.t ->
?attrs:Astlib.Ast_412.Parsetree.attribute list ->
Astlib.Longident.t Astlib.Location.loc ->
Astlib.Ast_412.Parsetree.core_type list ->
Astlib.Ast_412.Parsetree.core_type
val object_ :
?loc:Astlib.Location.t ->
?attrs:Astlib.Ast_412.Parsetree.attribute list ->
Astlib.Ast_412.Parsetree.object_field list ->
Astlib.Ast_412.Asttypes.closed_flag ->
Astlib.Ast_412.Parsetree.core_type
val class_ :
?loc:Astlib.Location.t ->
?attrs:Astlib.Ast_412.Parsetree.attribute list ->
Astlib.Longident.t Astlib.Location.loc ->
Astlib.Ast_412.Parsetree.core_type list ->
Astlib.Ast_412.Parsetree.core_type
val alias :
?loc:Astlib.Location.t ->
?attrs:Astlib.Ast_412.Parsetree.attribute list ->
Astlib.Ast_412.Parsetree.core_type ->
string ->
Astlib.Ast_412.Parsetree.core_type
val variant :
?loc:Astlib.Location.t ->
?attrs:Astlib.Ast_412.Parsetree.attribute list ->
Astlib.Ast_412.Parsetree.row_field list ->
Astlib.Ast_412.Asttypes.closed_flag ->
Astlib.Ast_412.Asttypes.label list option ->
Astlib.Ast_412.Parsetree.core_type
val poly :
?loc:Astlib.Location.t ->
?attrs:Astlib.Ast_412.Parsetree.attribute list ->
string Astlib.Location.loc list ->
Astlib.Ast_412.Parsetree.core_type ->
Astlib.Ast_412.Parsetree.core_type
val package :
?loc:Astlib.Location.t ->
?attrs:Astlib.Ast_412.Parsetree.attribute list ->
Astlib.Longident.t Astlib.Location.loc ->
(Astlib.Longident.t Astlib.Location.loc * Astlib.Ast_412.Parsetree.core_type)
list ->
Astlib.Ast_412.Parsetree.core_type
val extension :
?loc:Astlib.Location.t ->
?attrs:Astlib.Ast_412.Parsetree.attribute list ->
Astlib.Ast_412.Parsetree.extension ->
Astlib.Ast_412.Parsetree.core_type
val force_poly :
Astlib.Ast_412.Parsetree.core_type ->
Astlib.Ast_412.Parsetree.core_type
val varify_constructors :
string Astlib.Location.loc list ->
Astlib.Ast_412.Parsetree.core_type ->
Astlib.Ast_412.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)"
>