Function: idlwave-all-method-keyword-classes

idlwave-all-method-keyword-classes is a byte-compiled function defined in idlwave.el.gz.

Signature

(idlwave-all-method-keyword-classes METHOD KEYWORD &optional TYPE)

Documentation

Return all classes which have a method METHOD with keyword KEYWORD.

TYPE is fun or pro. When TYPE is not specified, both procedures and functions will be considered.

Source Code

;; Defined in /usr/src/emacs/lisp/obsolete/idlwave.el.gz
(defun idlwave-all-method-keyword-classes (method keyword &optional type)
  "Return all classes which have a method METHOD with keyword KEYWORD.
TYPE is `fun' or `pro'.
When TYPE is not specified, both procedures and functions will be considered."
  (if (or (null method)
	  (null keyword))
      nil
    (let (rtn)
      (mapc (lambda (x)
	      (and (nth 2 x)		; non-nil class
		   (or (not type)	; correct or unspecified type
		       (eq type (nth 1 x)))
		   (assoc keyword (idlwave-entry-keywords x))
		   (push (nth 2 x) rtn)))
	    (idlwave-all-assq method (idlwave-routines)))
      (idlwave-uniquify rtn))))