Remove obsolete comment (incremental parsing has been implemented)
ci/woodpecker/push/woodpecker Pipeline was successful Details

WIP-cache
Hugo Thunnissen 10 months ago
parent c35c00ceff
commit 55a24065a6

@ -148,16 +148,8 @@ that there are import (\"use\") statements for them."
(phpinspect-project-autoload project))))
(phpinspect-add-use-interactive
type phpinspect-current-buffer project (phpinspect-meta-token namespace))
;; Buffer has been modified by adding type, update tree +
;; location map. This is not optimal but will have to do until
;; partial parsing is implemented.
;;
;; Note: this basically implements a bug where the locations
;; of classes are no longer congruent with their location in
;; the buffer's code. In files that contain multiple namespace
;; blocks this could cause problems as a namespace may grow by
;; added import statements and start envelopping the classes
;; below it.
;; Buffer has been modified by adding type, update buffer map
;; and index for correct location data.
(setq index
(phpinspect--index-tokens
(phpinspect-buffer-parse phpinspect-current-buffer)

Loading…
Cancel
Save