Function: wisent-cook-tag

wisent-cook-tag is a byte-compiled function defined in wisent.el.gz.

Signature

(wisent-cook-tag RAW-TAG)

Documentation

From raw form of Semantic tag RAW-TAG, return a list of cooked tags.

Should be used in semantic actions, in grammars, to build a Semantic parse tree.

Source Code

;; Defined in /usr/src/emacs/lisp/cedet/semantic/wisent.el.gz
(defsubst wisent-cook-tag (raw-tag)
  "From raw form of Semantic tag RAW-TAG, return a list of cooked tags.
Should be used in semantic actions, in grammars, to build a Semantic
parse tree."
  (let* ((cooked (semantic--tag-expand raw-tag))
         (l cooked))
    (while l
      (semantic--tag-put-property (car l) 'reparse-symbol $nterm)
      (setq l (cdr l)))
    cooked))