Function: make-soap-xs-basic-type--cmacro

make-soap-xs-basic-type--cmacro is a function defined in soap-client.el.gz.

Signature

(make-soap-xs-basic-type--cmacro CL-WHOLE &cl-quote &key NAME NAMESPACE-TAG ID ATTRIBUTES ATTRIBUTE-GROUPS KIND)

Documentation

compiler-macro for inlining make-soap-xs-basic-type.

Source Code

;; Defined in /usr/src/emacs/lisp/net/soap-client.el.gz
;; Closure converted to defun by helpful.
(defun make-soap-xs-basic-type--cmacro
    (cl-whole &rest --cl-rest--)
  "compiler-macro for inlining `make-soap-xs-basic-type'.\n\n\\(fn CL-WHOLE &cl-quote &key NAME NAMESPACE-TAG ID ATTRIBUTES ATTRIBUTE-GROUPS KIND)"
  (let*
      ((name
	(car
	 (cdr
	  (plist-member --cl-rest-- ':name))))
       (namespace-tag
	(car
	 (cdr
	  (plist-member --cl-rest-- ':namespace-tag))))
       (id
	(car
	 (cdr
	  (plist-member --cl-rest-- ':id))))
       (attributes
	(car
	 (cdr
	  (plist-member --cl-rest-- ':attributes))))
       (attribute-groups
	(car
	 (cdr
	  (plist-member --cl-rest-- ':attribute-groups))))
       (kind
	(car
	 (cdr
	  (plist-member --cl-rest-- ':kind)))))
    (progn
      (let
	  ((--cl-keys-- --cl-rest--))
	(while --cl-keys--
	  (cond
	   ((memq
	     (car --cl-keys--)
	     '(:name :namespace-tag :id :attributes :attribute-groups :kind :allow-other-keys))
	    (unless
		(cdr --cl-keys--)
	      (error "Missing argument for %s"
		     (car --cl-keys--)))
	    (setq --cl-keys--
		  (cdr
		   (cdr --cl-keys--))))
	   ((car
	     (cdr
	      (memq ':allow-other-keys --cl-rest--)))
	    (setq --cl-keys-- nil))
	   (t
	    (error "Keyword argument %s not one of (:name :namespace-tag :id :attributes :attribute-groups :kind)"
		   (car --cl-keys--))))))
      (cl-block make-soap-xs-basic-type--cmacro
	(cl--defsubst-expand
	 '(name namespace-tag id attributes attribute-groups kind)
	 '(cl-block make-soap-xs-basic-type
	    (record 'soap-xs-basic-type name namespace-tag id attributes attribute-groups kind))
	 nil cl-whole nil name namespace-tag id attributes attribute-groups kind)))))