Function: semantic-sb-buttons-plain
semantic-sb-buttons-plain is a byte-compiled function defined in
sb.el.gz.
Signature
(semantic-sb-buttons-plain LEVEL TOKENS)
Documentation
Create buttons at LEVEL using TOKENS.
Source Code
;; Defined in /usr/src/emacs/lisp/cedet/semantic/sb.el.gz
(defun semantic-sb-buttons-plain (level tokens)
"Create buttons at LEVEL using TOKENS."
(let ((sordid (speedbar-create-tag-hierarchy tokens)))
(while sordid
(cond ((null (car-safe sordid)) nil)
((consp (car-safe (cdr-safe (car-safe sordid))))
;; A group!
(speedbar-make-tag-line 'curly ?+ 'semantic-sb-expand-group
(cdr (car sordid))
(car (car sordid))
nil nil 'speedbar-tag-face
level))
(t ;; Assume that this is a token.
(semantic-sb-one-button (car sordid) level)))
(setq sordid (cdr sordid)))))