phpDocumentor/ReflectionDocBlock

Location information for tags

Open

#87 ouverte le 4 nov. 2016

Voir sur GitHub
 (7 commentaires) (2 réactions) (0 assignés)PHP (136 forks)batch import
help wantedin discussion

Métriques du dépôt

Stars
 (9 386 stars)
Métriques de merge PR
 (Aucune PR mergée en 30 j)

Description

I am using this package in the open PHP language server, which provides static analysis for any IDE through the open language server protocol. One of these features is "Go to Definition". This is currently implemented for the actual PHP code through nikic's great PHPParser, where every node has a file start/end offset so I can calculate which node the user clicked. It would be nice to have this feature for types in docblock tags like @var too, but the tags don't have any start/end offset data. Would it be possible to add this?

Guide contributeur