Function: semantic-tag-new-variable

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

Signature

(semantic-tag-new-variable NAME TYPE &optional DEFAULT-VALUE &rest ATTRIBUTES)

Documentation

Create a semantic tag of class variable.

NAME is the name of this variable. TYPE is a string or semantic tag representing the type of this variable. Optional DEFAULT-VALUE is a string representing the default value of this variable. ATTRIBUTES is a list of additional attributes belonging to this tag.

Source Code

;; Defined in /usr/src/emacs/lisp/cedet/semantic/tag.el.gz
(defsubst semantic-tag-new-variable (name type &optional default-value &rest attributes)
  "Create a semantic tag of class `variable'.
NAME is the name of this variable.
TYPE is a string or semantic tag representing the type of this variable.
Optional DEFAULT-VALUE is a string representing the default value of this
variable.
ATTRIBUTES is a list of additional attributes belonging to this tag."
  (apply #'semantic-tag name 'variable
         :type type
         :default-value default-value
         attributes))