Function: eieio-instance-inheritor--eieio-childp
eieio-instance-inheritor--eieio-childp is a byte-compiled function
defined in eieio-base.el.gz.
Signature
(eieio-instance-inheritor--eieio-childp OBJ)
Documentation
Return non-nil if OBJ is an object of type eieio-instance-inheritor(var)/eieio-instance-inheritor(fun)
or a subclass.
Aliases
eieio-instance-inheritor-child-p (obsolete since 25.1)
Source Code
;; Defined in /usr/src/emacs/lisp/emacs-lisp/eieio-base.el.gz
;;; eieio-instance-inheritor
;;
;; Enable instance inheritance via the `clone' method.
;; Works by using the `slot-unbound' method which usually throws an
;; error if a slot is unbound.
(defclass eieio-instance-inheritor ()
((parent-instance :initarg :parent-instance
:type eieio-instance-inheritor
:documentation
"The parent of this instance.
If a slot of this class is referenced, and is unbound, then the parent
is checked for a value.")
)
"This special class can enable instance inheritance.
Use `clone' to make a new object that does instance inheritance from
a parent instance. When a slot in the child is referenced, and has
not been set, use values from the parent."
:abstract t)