Function: ebrowse-draw-file-member-info
ebrowse-draw-file-member-info is a byte-compiled function defined in
ebrowse.el.gz.
Signature
(ebrowse-draw-file-member-info INFO &optional (KIND ""))
Documentation
Display a line in the members info buffer.
INFO describes the member. It has the form (TREE ACCESSOR MEMBER). TREE is the class of the member to display. ACCESSOR is the accessor symbol of its member list. MEMBER is the member structure. KIND is an additional string printed in the buffer.
Source Code
;; Defined in /usr/src/emacs/lisp/progmodes/ebrowse.el.gz
(cl-defun ebrowse-draw-file-member-info (info &optional (kind ""))
"Display a line in the members info buffer.
INFO describes the member. It has the form (TREE ACCESSOR MEMBER).
TREE is the class of the member to display.
ACCESSOR is the accessor symbol of its member list.
MEMBER is the member structure.
KIND is an additional string printed in the buffer."
(let* ((tree (cl-first info))
(globals-p (ebrowse-globals-tree-p tree)))
(unless globals-p
(insert (ebrowse-cs-name (ebrowse-ts-class tree))))
(insert "::" (ebrowse-ms-name (cl-third info)))
(indent-to 40)
(insert kind)
(indent-to 50)
(insert (pcase (cl-second info)
('ebrowse-ts-member-functions "member function")
('ebrowse-ts-member-variables "member variable")
('ebrowse-ts-static-functions "static function")
('ebrowse-ts-static-variables "static variable")
('ebrowse-ts-friends (if globals-p "define" "friend"))
('ebrowse-ts-types "type")
(_ "unknown"))
"\n")))