package ppxlib
Standard library for ppx rewriters
Install
Dune Dependency
Authors
Maintainers
Sources
ppxlib-0.24.0.tbz
sha256=7766027c2ecd0f5b3b460e9212a70709c6744278113eb91f317c56c41e7a90c8
sha512=726e48899c43f8bee1935618827e68b2953753a62868e424a2dadf2e156cc60794abacea658686a8a160eccde0f75b95b98daacf2b9242b4f86a92798d47b597
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)"
>