Module Attributes.Floating

type poly := [
  1. | `structure_item
  2. | `signature_item
]
module Context : sig ... end
module Define : sig ... end
module Poly : sig ... end
type t =
  1. | Define of Define.t
  2. | Poly of Poly.t Maybe_explicit.t
val convert : ('a, poly) Context.t -> 'a -> (t option, Ppx_template_expander__.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.