Function: semanticdb-find-result-with-nil-p
semanticdb-find-result-with-nil-p is a byte-compiled function defined
in db-find.el.gz.
Signature
(semanticdb-find-result-with-nil-p RESULTP)
Documentation
Non-nil if RESULTP is in the form of a semanticdb search result.
The value nil is valid where a TABLE usually is, but only if the TAG results include overlays. This query only really tests the first entry in the list that is RESULTP, but should be good enough for debugging assertions.
Source Code
;; Defined in /usr/src/emacs/lisp/cedet/semantic/db-find.el.gz
(defun semanticdb-find-result-with-nil-p (resultp)
"Non-nil if RESULTP is in the form of a semanticdb search result.
The value nil is valid where a TABLE usually is, but only if the TAG
results include overlays.
This query only really tests the first entry in the list that is RESULTP,
but should be good enough for debugging assertions."
(and (listp resultp)
(listp (car resultp))
(let ((tag-to-test (car-safe (cdr (car resultp)))))
(or (and (cl-typep (car (car resultp)) 'semanticdb-abstract-table)
(or (semantic-tag-p tag-to-test)
(null tag-to-test)))
(and (null (car (car resultp)))
(or (semantic-tag-with-position-p tag-to-test)
(null tag-to-test))))
)))