Construct an XDOC tree for
an HTML quoted block
See the
Macro:
(defmacro blockquote (&rest args) (mv-let (trees attributes) (partition-macro-args args 'blockquote) (let ((attributes (keyword-macro-args-to-terms attributes))) (list 'blockquote-fn (cons 'list attributes) (cons 'list trees)))))
Function:
(defun blockquote-fn (attributes trees) (declare (xargs :guard (and (keyword-tree-alistp attributes) (tree-listp trees)))) (make-tree-tag :blockquote attributes trees))
Theorem:
(defthm stringp-of-blockquote (equal (treep (blockquote-fn attributes trees)) (and (keyword-tree-alistp attributes) (tree-listp trees))))