Module Jkind.ConstSource
Constant jkinds are used for user-written annotations. They are not actually constant, though: they might contain variables in with-types. The "constant" refers to the fact that there are no sort variables here. The existence of with-types means, though, that we still need the allowance machinery here.
include Allowance.Allow_disallow with type (_, _, 'd) sided = 'd t
Disallows on the right.
Disallows a the left.
Generalizes a right-hand-side allowed to be any allowance.
Generalizes a left-hand-side allowed to be any allowance.
Creates an abstract jkind, with max with-bounds, from the path.
Source
val equal :
Env.t ->
(Allowance.allowed * Allowance.allowed) t ->
(Allowance.allowed * Allowance.allowed) t ->
boolSource
val of_annotation :
?use_abstract_jkinds:bool ->
context:('l * Allowance.allowed) History.annotation_context ->
Env.t ->
Ocaml_parsing.Parsetree.jkind_annotation ->
('l * Allowance.allowed) t