Function: semantic-symref-instantiate

semantic-symref-instantiate is a byte-compiled function defined in symref.el.gz.

Signature

(semantic-symref-instantiate &rest ARGS)

Documentation

Instantiate a new symref search object.

ARGS are the initialization arguments to pass to the created class.

Source Code

;; Defined in /usr/src/emacs/lisp/cedet/semantic/symref.el.gz
(defun semantic-symref-instantiate (&rest args)
  "Instantiate a new symref search object.
ARGS are the initialization arguments to pass to the created class."
  (let* ((srt (symbol-name (semantic-symref-detect-symref-tool)))
	 (class (intern-soft (concat "semantic-symref-tool-" srt)))
	 (inst nil)
	 )
    (when (not (class-p class))
      (error "Unknown symref tool %s" semantic-symref-tool))
    (setq inst (apply #'make-instance class args))
    inst))