Module Ppxlib__Name.Pattern
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
returnstrue
iffname
matchespattern
.For instance, the exact set of names such that
matches (make "foo.bar.@blah.x") name
is:- "foo.bar.blah.x"
- "bar.blah.x"
- "blah.x"