Noir::PhpClassMembers
Public members of a PHP class body, as PhpBlockParser reads them off
the masked text (strings and comments blanked), so a public $x or {
inside a string or comment cannot fake a member or end the body early.
Members of an anonymous class inside a method are that class's, not the
outer one's.
prelude is the source between the previous member and this one with
//, # and /* */ comments blanked: attributes (#[Locked],
#[ApiRoute(...)]) and the docblock, which is where annotation-style
markers (@PublicPage) live. A commented-out attribute is not one.
Constants
ARG_RE = /\$([A-Za-z_]\w*)/
Class methods
The members of the class whose body opens at the { at open.
each(parser : PhpBlockParser, klass : PhpBlockParser::Node, & : Member -> ) : Nil
Source