Get the name field from a vl-hidexpr-end.
(vl-hidexpr-end->name x) → name
This is an ordinary field accessor created by defprod.
Function:
(defun vl-hidexpr-end->name$inline (x) (declare (xargs :guard (vl-hidexpr-p x))) (declare (xargs :guard (equal (vl-hidexpr-kind x) :end))) (let ((__function__ 'vl-hidexpr-end->name)) (declare (ignorable __function__)) (mbe :logic (b* ((x (and (equal (vl-hidexpr-kind x) :end) x))) (str-fix x)) :exec x)))
Theorem:
(defthm stringp-of-vl-hidexpr-end->name (b* ((name (vl-hidexpr-end->name$inline x))) (stringp name)) :rule-classes :type-prescription)
Theorem:
(defthm vl-hidexpr-end->name$inline-of-vl-hidexpr-fix-x (equal (vl-hidexpr-end->name$inline (vl-hidexpr-fix x)) (vl-hidexpr-end->name$inline x)))
Theorem:
(defthm vl-hidexpr-end->name$inline-vl-hidexpr-equiv-congruence-on-x (implies (vl-hidexpr-equiv x x-equiv) (equal (vl-hidexpr-end->name$inline x) (vl-hidexpr-end->name$inline x-equiv))) :rule-classes :congruence)
Theorem:
(defthm vl-hidexpr-end->name-when-wrong-kind (implies (not (equal (vl-hidexpr-kind x) :end)) (equal (vl-hidexpr-end->name x) (str-fix nil))))