Recognizer for vl-namedparamvalue structures.
(vl-namedparamvalue-p x) → *
Function:
(defun vl-namedparamvalue-p (x) (declare (xargs :guard t)) (let ((__function__ 'vl-namedparamvalue-p)) (declare (ignorable __function__)) (and (consp x) (eq (car x) :vl-namedparamvalue) (std::prod-consp (cdr x)) (b* ((name (std::prod-car (cdr x))) (value (std::prod-cdr (cdr x)))) (and (stringp name) (vl-maybe-paramvalue-p value))))))
Theorem:
(defthm consp-when-vl-namedparamvalue-p (implies (vl-namedparamvalue-p x) (consp x)) :rule-classes :compound-recognizer)