Module Ppxlib__.Name.Pattern

type t
val make : Ppxlib__.Import.string ‑> t

Uses the rules described in Attribute

val name : t ‑> Ppxlib__.Import.string
val matches : t ‑> Ppxlib__.Import.string ‑> Ppxlib__.Import.bool

matches ~pattern name returns true iff name matches pattern.

For instance, the exact set of names such that matches (make "foo.bar.@blah.x") name is: