Methods |
public
|
__construct(Parser $parser, NodeTraverserInterface $traverser, Filter $filter, null $context = null)
|
#
|
public
|
handle(AnalyzeTask $task): array
|
#
|
protected
|
processNodes(AnalyzeTask $task, Node[] $nodes): Iterator<ClassLikeInfo|FunctionInfo|ClassLikeReferenceInfo>
|
#
|
protected
|
processClassLike(AnalyzeTask $task, ClassLike $node): ClassLikeInfo
|
#
|
protected
|
extractMembers(PhpDocTagValueNode[][] $tags, ClassLike $node): iterable<MemberInfo>
Parameters
$tags |
indexed by [tagName][]
|
|
#
|
protected
|
extractMembersFromBody(ClassLike $node): iterable<MemberInfo>
|
#
|
protected
|
extractMembersFromTags(PhpDocTagValueNode[][] $tags): iterable<MemberInfo>
Parameters
$tags |
indexed by [tagName][]
|
|
#
|
protected
|
processFunction(AnalyzeTask $task, Function_ $node): ?FunctionInfo
|
#
|
protected
|
processParameters(ParamTagValueNode[] $paramTags, Param[] $parameters): ParameterInfo[]
Parameters
$paramTags |
indexed by [parameterName]
|
$parameters |
indexed by []
|
|
#
|
protected
|
processName(Name $name, PhpDocTagValueNode[][] $tagValues = [], string[] $tagNames = []): ClassLikeReferenceInfo
Parameters
$tagValues |
indexed by [tagName][]
|
$tagNames |
indexed by []
|
|
#
|
protected
|
processNameList(
Name[] $names,
PhpDocTagValueNode[][] $tagValues = [],
string[] $tagNames = [],
): ClassLikeReferenceInfo[]
Parameters
$names |
indexed by []
|
$tagValues |
indexed by [tagName][]
|
$tagNames |
indexed by []
|
Returns
indexed by [classLikeName]
|
#
|
protected
|
processMixinTags(PhpDocTagValueNode[] $values): ClassLikeReferenceInfo[]
Parameters
Returns
indexed by [classLikeName]
|
#
|
protected
|
processTypeOrNull(Identifier|Name|ComplexType|null $node): ?TypeNode
|
#
|
protected
|
processType(Identifier|Name|ComplexType $node): TypeNode
|
#
|
protected
|
processExprOrNull(?Expr $expr): ?ExprInfo
|
#
|
protected
|
processExpr(Expr $expr): ExprInfo
|
#
|
protected
|
extractPhpDoc(Node $node): PhpDocNode
|
#
|
protected
|
extractMultiLineDescription(PhpDocNode $node): PhpDocTextNode[]
|
#
|
protected
|
extractSingleLineDescription(?PhpDocTagValueNode $tagValue): PhpDocTextNode[]
|
#
|
protected
|
extractGenericParameters(PhpDocNode $node): GenericParameterInfo[]
|
#
|
protected
|
extractAliases(PhpDocNode $node, ?int $startLine, ?int $endLine): AliasInfo[]
|
#
|
protected
|
extractTags(PhpDocNode $node): PhpDocTagValueNode[][]
|
#
|
protected
|
extractParamTagValues(PhpDocNode $node): ParamTagValueNode[]
Returns
indexed by [parameterName]
|
#
|
protected
|
extractDependencies(ClassLikeInfo|FunctionInfo $referencedBy): ClassLikeReferenceInfo[]
Returns
indexed by [classLikeName]
|
#
|