Function: semantic-analyze-completion-at-point-function
semantic-analyze-completion-at-point-function is a byte-compiled
function defined in analyze.el.gz.
Signature
(semantic-analyze-completion-at-point-function)
Documentation
Return possible analysis completions at point.
The completions provided are via semantic-analyze-possible-completions.
This function can be used by completion-at-point-functions.
Source Code
;; Defined in /usr/src/emacs/lisp/cedet/semantic/analyze.el.gz
;;; Completion At Point functions
(defun semantic-analyze-completion-at-point-function ()
"Return possible analysis completions at point.
The completions provided are via `semantic-analyze-possible-completions'.
This function can be used by `completion-at-point-functions'."
(when (semantic-active-p)
(let* ((ctxt (semantic-analyze-current-context))
(possible (semantic-analyze-possible-completions ctxt)))
;; The return from this is either:
;; nil - not applicable here.
;; A list: (START END COLLECTION . PROPS)
(when possible
(list (car (oref ctxt bounds))
(cdr (oref ctxt bounds))
possible))
)))