IR.AnnotThe Smallfoot Intermediate Language: Annotations
Type to represent an @Annotation with potentially complex parameter values such as arrays or other annotations.
Type to represent possible annotation parameter values. Note that support for numeric parameters is missing for now due to an issue with MaximumSharing and int64.
val abstract : tannotation for fields marked with the "abstract" keyword
val volatile : tannotation for fields marked with the "volatile" keyword
val final : tannotation for fields marked with the "final" keyword
val notnull : tannotation for fields/params marked as "never null"
val has_matching_str_value : pred:(string -> bool) -> value -> boolCheck if annotation parameter value contains a string satisfying a predicate. For convenience it works both with raw Str, Str inside Array and Enum values.
val pp : F.formatter -> t -> unitPretty print an annotation.
module Item : sig ... endmodule Class : sig ... end