Get the kind (tag) of a vl-scopestack structure.
(vl-scopestack-kind x) → kind
Function:
(defun vl-scopestack-kind$inline (x) (declare (xargs :guard (vl-scopestack-p x))) (let ((__function__ 'vl-scopestack-kind)) (declare (ignorable __function__)) (cond ((atom x) :null) ((eq (car x) :global) :global) (t :local))))
Theorem:
(defthm vl-scopestack-kind-possibilities (or (equal (vl-scopestack-kind x) :null) (equal (vl-scopestack-kind x) :global) (equal (vl-scopestack-kind x) :local)) :rule-classes ((:forward-chaining :trigger-terms ((vl-scopestack-kind x)))))