Function: semantic-create-tag-proxy

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

Signature

(semantic-create-tag-proxy FUNCTION DATA)

Documentation

Create a tag proxy symbol.

FUNCTION will be used to resolve the proxy. It should take two arguments, DATA and TAG. TAG is a proxy tag that needs to be resolved, and DATA is the data passed into this function. DATA is data to help resolve the proxy. DATA can be an EIEIO object, such that FUNCTION is a method. FUNCTION should return a list of tags, preferably one tag.

Source Code

;; Defined in /usr/src/emacs/lisp/cedet/semantic/tag.el.gz
;;; TAG Proxies
;;
;; A new kind of tag is a TAG PROXY.  These are tags that have some
;; minimal number of features set, such as name and class, but have a
;; marker in them that indicates how to complete them.
;;
;; To make the tags easier to view, the proxy is stored as custom
;; symbol that is not in the global obarray, but has properties set on
;; it.  This prevents saving of massive amounts of proxy data.
(defun semantic-create-tag-proxy (function data)
  "Create a tag proxy symbol.
FUNCTION will be used to resolve the proxy.  It should take
two arguments, DATA and TAG.  TAG is a proxy tag that needs
to be resolved, and DATA is the data passed into this function.
DATA is data to help resolve the proxy.  DATA can be an EIEIO object,
such that FUNCTION is a method.
FUNCTION should return a list of tags, preferably one tag."
  (let ((sym (make-symbol ":tag-proxy")))
    (put sym 'proxy-function function)
    (put sym 'proxy-data data)
    sym))