Attribute_handler.Floating
type poly := [
| `structure_item
| `signature_item
]
module Context : sig ... end
module Define : sig ... end
module Poly : sig ... end
type t =
| Define of Define.t
| Poly of Poly.t Explicitness.With.t
val convert : ('a, poly) Context.t -> 'a -> (t option, Syntax_error.t) result
Check if the provided ast node is a floating template attribute, and evaluate its contents. Marks the attribute as seen. Returns an Error _ if the payload of the attribute is malformed or inconsistent.
Error _