Variable: semantic-tag-expand-function

semantic-tag-expand-function is a buffer-local variable defined in tag.el.gz.

Documentation

Function used to expand a tag.

It is passed each tag production, and must return a list of tags derived from it, or nil if it does not need to be expanded.

Languages with compound definitions should use this function to expand from one compound symbol into several. For example, in C or Java the following definition is easily parsed into one tag:

  int a, b;

This function should take this compound tag and turn it into two tags, one for A, and the other for B.

Source Code

;; Defined in /usr/src/emacs/lisp/cedet/semantic/tag.el.gz
(defvar-local semantic-tag-expand-function nil
  "Function used to expand a tag.
It is passed each tag production, and must return a list of tags
derived from it, or nil if it does not need to be expanded.

Languages with compound definitions should use this function to expand
from one compound symbol into several.  For example, in C or Java the
following definition is easily parsed into one tag:

  int a, b;

This function should take this compound tag and turn it into two tags,
one for A, and the other for B.")