Function: semantic-fetch-available-tags

semantic-fetch-available-tags is a byte-compiled function defined in semantic.el.gz.

Signature

(semantic-fetch-available-tags)

Documentation

Fetch available semantic tags from the current buffer.

That is, return tags currently in the cache without parsing the current buffer. Parse operations happen asynchronously when needed on Emacs idle time. Use the semantic-after-toplevel-cache-change-hook and semantic-after-partial-cache-change-hook hooks to synchronize with new tags when they become available.

Source Code

;; Defined in /usr/src/emacs/lisp/cedet/semantic.el.gz
;; Another approach is to let Emacs call the parser on idle time, when
;; needed, use `semantic-fetch-available-tags' to only retrieve
;; available tags, and setup the `semantic-after-*-hook' hooks to
;; synchronize with new tags when they become available.

(defsubst semantic-fetch-available-tags ()
  "Fetch available semantic tags from the current buffer.
That is, return tags currently in the cache without parsing the
current buffer.
Parse operations happen asynchronously when needed on Emacs idle time.
Use the `semantic-after-toplevel-cache-change-hook' and
`semantic-after-partial-cache-change-hook' hooks to synchronize with
new tags when they become available."
  semantic--buffer-cache)