extends |
NodeVisitorAbstract |
---|
Methods | ||
---|---|---|
public
|
__construct(
ErrorHandler|null $errorHandler = null,
array{preserveOriginalNames?:bool, replaceNodes?:bool} $options = [],
)
|
# |
public
|
getNameContext(): NameContext
|
# |
public
|
beforeTraverse(array $nodes): ?array
|
# |
public
|
enterNode(Node $node)
|
# |
protected
|
resolveName(Name $name, Stmt\Use_::TYPE_* $type): Name
|
# |
protected
|
resolveClassName(Name $name): Name
|
# |
protected
|
addNamespacedName(Node $node): void
|
# |
protected
|
resolveAttrGroups(Node $node): void
|
# |
Methods inherited from PhpParser\NodeVisitorAbstract |
---|
leaveNode(), afterTraverse() |
Constants inherited from PhpParser\NodeVisitor |
---|
|
Properties | |||
---|---|---|---|
protected
|
NameContext
|
$nameContext
|
# |
protected
|
bool
|
$preserveOriginalNames
|
# |
protected
|
bool
|
$replaceNodes
|
# |