Function: srecode-resolve-argument-list
srecode-resolve-argument-list is a byte-compiled function defined in
insert.el.gz.
Signature
(srecode-resolve-argument-list ARGS DICT &optional TEMP)
Documentation
Resolve arguments in the argument list ARGS.
ARGS is a list of symbols, such as :blank, or :file. Apply values to DICT. Optional argument TEMP is the template that is getting its arguments resolved.
Source Code
;; Defined in /usr/src/emacs/lisp/cedet/srecode/insert.el.gz
(defun srecode-resolve-argument-list (args dict &optional temp)
"Resolve arguments in the argument list ARGS.
ARGS is a list of symbols, such as :blank, or :file.
Apply values to DICT.
Optional argument TEMP is the template that is getting its arguments resolved."
(let ((fcn nil))
(while args
(setq fcn (intern-soft (concat "srecode-semantic-handle-"
(symbol-name (car args)))))
(if (not fcn)
(error "Error resolving template argument %S" (car args)))
(if temp
(condition-case nil
;; Allow some to accept a 2nd argument optionally.
;; They throw an error if not available, so try again.
(funcall fcn dict temp)
(wrong-number-of-arguments (funcall fcn dict)))
(funcall fcn dict))
(setq args (cdr args)))
))