프로퍼티 | 타입 | 설명 | |
---|---|---|---|
$aliases | Map of format [aliasType => [aliasName => originalName]] | ||
$errorHandler | Error handler | ||
$namespace | Current namespace | ||
$preserveOriginalNames | Whether to preserve original names |
메소드 | 설명 | |
---|---|---|
__construct ( PhpParser\ErrorHandler $errorHandler = null, array $options = [] ) | Constructs a name resolution visitor. | |
beforeTraverse ( array $nodes ) | ||
enterNode ( PhpParser\Node $node ) |
메소드 | 설명 | |
---|---|---|
addAlias ( |
||
addNamespacedName ( PhpParser\Node $node ) | ||
resetState ( |
||
resolveClassName ( |
||
resolveOtherName ( |
메소드 | 설명 | |
---|---|---|
resolveSignature ( |
public __construct ( PhpParser\ErrorHandler $errorHandler = null, array $options = [] ) | ||
$errorHandler | PhpParser\ErrorHandler | Error handler |
$options | array | Options |
protected addAlias ( |
||
$use | ||
$prefix |
protected addNamespacedName ( PhpParser\Node $node ) | ||
$node | PhpParser\Node |
protected resolveOtherName ( |
||
$name |