phpDocumentor/ReflectionDocBlock

Location information for tags

開放

#87 建立於 2016年11月4日

 (7 則留言) (2 個反應) (0 位負責人)PHP (136 個分叉)batch import
help wantedin discussion

倉庫指標

星標
 (9,386 顆星)
PR 合併指標
 (30 天內沒有已合併 PR)

描述

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?

貢獻者指南