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