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

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

Signature

(make-soap-xs-complex-type--cmacro CL-WHOLE &cl-quote &key NAME NAMESPACE-TAG ID ATTRIBUTES ATTRIBUTE-GROUPS INDICATOR BASE ELEMENTS OPTIONAL? MULTIPLE? IS-GROUP)

Documentation

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

Source Code

;; Defined in /usr/src/emacs/lisp/net/soap-client.el.gz
;; Closure converted to defun by helpful.
(defun make-soap-xs-complex-type--cmacro
    (cl-whole &rest --cl-rest--)
  "compiler-macro for inlining `make-soap-xs-complex-type'.\n\n\\(fn CL-WHOLE &cl-quote &key NAME NAMESPACE-TAG ID ATTRIBUTES ATTRIBUTE-GROUPS INDICATOR BASE ELEMENTS OPTIONAL? MULTIPLE? IS-GROUP)"
  (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))))
       (indicator
	(car
	 (cdr
	  (plist-member --cl-rest-- ':indicator))))
       (base
	(car
	 (cdr
	  (plist-member --cl-rest-- ':base))))
       (elements
	(car
	 (cdr
	  (plist-member --cl-rest-- ':elements))))
       (optional?
	(car
	 (cdr
	  (plist-member --cl-rest-- ':optional?))))
       (multiple?
	(car
	 (cdr
	  (plist-member --cl-rest-- ':multiple?))))
       (is-group
	(car
	 (cdr
	  (plist-member --cl-rest-- ':is-group)))))
    (progn
      (let
	  ((--cl-keys-- --cl-rest--))
	(while --cl-keys--
	  (cond
	   ((memq
	     (car --cl-keys--)
	     '(:name :namespace-tag :id :attributes :attribute-groups :indicator :base :elements :optional? :multiple? :is-group :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 :indicator :base :elements :optional? :multiple? :is-group)"
		   (car --cl-keys--))))))
      (cl-block make-soap-xs-complex-type--cmacro
	(cl--defsubst-expand
	 '(name namespace-tag id attributes attribute-groups indicator base elements optional? multiple? is-group)
	 '(cl-block make-soap-xs-complex-type
	    (record 'soap-xs-complex-type name namespace-tag id attributes attribute-groups indicator base elements optional? multiple? is-group))
	 nil cl-whole nil name namespace-tag id attributes attribute-groups indicator base elements optional? multiple? is-group)))))