Function: semantic-tag-class

semantic-tag-class is a byte-compiled function defined in tag.el.gz.

Signature

(semantic-tag-class TAG)

Documentation

Return the class of TAG.

This is a symbol like variable, function, or type. There is no limit to the symbols that may represent the class of a tag. Each parser generates tags with classes defined by it.

For functional languages, typical tag classes are:

@table @code
@item type
Data types, named map for a memory block.
@item function
A function or method, or named execution location.
@item variable
A variable, or named storage for data.
@item include
Statement that represents a file from which more tags can be found.
@item package
Statement that declares this file's package name.
@item code
Code that has not name or binding to any other symbol, such as in a script.
@end table

Source Code

;; Defined in /usr/src/emacs/lisp/cedet/semantic/tag.el.gz
(defsubst semantic-tag-class (tag)
  "Return the class of TAG.
This is a symbol like `variable', `function', or `type'.
There is no limit to the symbols that may represent the class of a tag.
Each parser generates tags with classes defined by it.

For functional languages, typical tag classes are:

@table @code
@item type
Data types, named map for a memory block.
@item function
A function or method, or named execution location.
@item variable
A variable, or named storage for data.
@item include
Statement that represents a file from which more tags can be found.
@item package
Statement that declares this file's package name.
@item code
Code that has not name or binding to any other symbol, such as in a script.
@end table"
  (nth 1 tag))