Function: idlwave-all-method-classes
idlwave-all-method-classes is a byte-compiled function defined in
idlwave.el.gz.
Signature
(idlwave-all-method-classes METHOD &optional TYPE)
Documentation
Return all classes which have a method METHOD.
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/progmodes/idlwave.el.gz
(defun idlwave-all-method-classes (method &optional type)
"Return all classes which have a method METHOD.
TYPE is `fun' or `pro'.
When TYPE is not specified, both procedures and functions will be considered."
(if (null method)
(mapcar #'car (idlwave-class-alist))
(let (rtn)
(mapc (lambda (x)
(and (nth 2 x)
(or (not type)
(eq type (nth 1 x)))
(push (nth 2 x) rtn)))
(idlwave-all-assq method (idlwave-routines)))
(idlwave-uniquify rtn))))