package earley
-
earley.str
Legend:
Library
Module
Module type
Parameter
Class
Class type
Library
Module
Module type
Parameter
Class
Class type
Type expressions
val mk :
?loc:Astextra.loc ->
?attrs:Astextra.attrs ->
Parsetree.core_type_desc ->
Parsetree.core_type
val attr : Parsetree.core_type -> Parsetree.attribute -> Parsetree.core_type
val any :
?loc:Astextra.loc ->
?attrs:Astextra.attrs ->
unit ->
Parsetree.core_type
val var :
?loc:Astextra.loc ->
?attrs:Astextra.attrs ->
string ->
Parsetree.core_type
val arrow :
?loc:Astextra.loc ->
?attrs:Astextra.attrs ->
Asttypes.arg_label ->
Parsetree.core_type ->
Parsetree.core_type ->
Parsetree.core_type
val tuple :
?loc:Astextra.loc ->
?attrs:Astextra.attrs ->
Parsetree.core_type list ->
Parsetree.core_type
val constr :
?loc:Astextra.loc ->
?attrs:Astextra.attrs ->
Astextra.lid ->
Parsetree.core_type list ->
Parsetree.core_type
val object_ :
?loc:Astextra.loc ->
?attrs:Astextra.attrs ->
Parsetree.object_field list ->
Asttypes.closed_flag ->
Parsetree.core_type
val class_ :
?loc:Astextra.loc ->
?attrs:Astextra.attrs ->
Astextra.lid ->
Parsetree.core_type list ->
Parsetree.core_type
val alias :
?loc:Astextra.loc ->
?attrs:Astextra.attrs ->
Parsetree.core_type ->
string ->
Parsetree.core_type
val variant :
?loc:Astextra.loc ->
?attrs:Astextra.attrs ->
Parsetree.row_field list ->
Asttypes.closed_flag ->
Asttypes.label list option ->
Parsetree.core_type
val poly :
?loc:Astextra.loc ->
?attrs:Astextra.attrs ->
Astextra.str list ->
Parsetree.core_type ->
Parsetree.core_type
val package :
?loc:Astextra.loc ->
?attrs:Astextra.attrs ->
Astextra.lid ->
(Astextra.lid * Parsetree.core_type) list ->
Parsetree.core_type
val extension :
?loc:Astextra.loc ->
?attrs:Astextra.attrs ->
Parsetree.extension ->
Parsetree.core_type
val force_poly : Parsetree.core_type -> Parsetree.core_type
val varify_constructors :
Astextra.str list ->
Parsetree.core_type ->
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
.