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