[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

13. Browsing class trees

To browse all the currently loaded classes in emacs, simply run the EIEIO browser. M-x eieio-browse. This browses all the way from the default super-duper class eieio-default-superclass, and lists all children in an indented tree structure.

To browse only from a specific class, pass it in as an alternate parameter.

Here is a sample tree from our current example:

 
eieio-default-superclass
  +--data-object
       +--data-object-symbol

Note that we start with eieio-default-superclass. See section Default Superclass.

Note: new classes are consed into the inheritance lists, so the tree comes out upside-down.

It is also possible to use the function eieio-class-tree in the ‘tree.el’ package. This will create an interactive tree. Clicking on nodes will allow expansion/contraction of branches, or editing of a class. See section Class Values.


[ << ] [ >> ]           [Top] [Contents] [Index] [ ? ]

This document was generated by Aidan Kehoe on December 27, 2016 using texi2html 1.82.