Function: semantic-collector-calculate-completions-raw
semantic-collector-calculate-completions-raw is a byte-compiled
function defined in complete.el.gz.
Signature
(semantic-collector-calculate-completions-raw ARG &rest ARGS)
Implementations
((obj semantic-collector-local-members) prefix completionlist) in `semantic/complete.el'.
Calculate the completions for prefix from COMPLETIONLIST.
((obj semantic-collector-project-brutish) prefix completionlist) in `semantic/complete.el'.
Calculate the completions for prefix from COMPLETIONLIST.
((obj semantic-collector-project) prefix completionlist) in `semantic/complete.el'.
Calculate the completions for prefix from COMPLETIONLIST.
((obj semantic-collector-abstract) prefix completionlist) in `semantic/complete.el'.
Calculate the completions for prefix from completionlist. Output must be in semanticdb Find result format.
((obj semantic-collector-analyze-completions) prefix completionlist) in `semantic/complete.el'.
Calculate the completions for prefix from COMPLETIONLIST.
Source Code
;; Defined in /usr/src/emacs/lisp/cedet/semantic/complete.el.gz
(cl-defmethod semantic-collector-calculate-completions-raw
((obj semantic-collector-analyze-completions) prefix _completionlist)
"Calculate the completions for prefix from COMPLETIONLIST."
;; if there are no completions yet, calculate them.
(if (not (slot-boundp obj 'first-pass-completions))
(oset obj first-pass-completions
(semantic-analyze-possible-completions (oref obj context))))
;; search our cached completion list. make it look like a semanticdb
;; results type.
(list (cons (with-current-buffer (oref (oref obj context) buffer)
semanticdb-current-table)
(semantic-find-tags-for-completion
prefix
(oref obj first-pass-completions)))))