Function: semantic-html-parse-headings
semantic-html-parse-headings is a byte-compiled function defined in
html.el.gz.
Signature
(semantic-html-parse-headings)
Documentation
Parse the current html buffer for all semantic tags.
Source Code
;; Defined in /usr/src/emacs/lisp/cedet/semantic/html.el.gz
(defun semantic-html-parse-headings ()
"Parse the current html buffer for all semantic tags."
(let ((pass1 nil))
;; First search and snarf.
(save-excursion
(goto-char (point-min))
(let ((semantic--progress-reporter
(make-progress-reporter
(format "Parsing %s..."
(file-name-nondirectory buffer-file-name))
(point-min) (point-max))))
(while (re-search-forward semantic-html-super-regex nil t)
(setq pass1 (cons (match-beginning 0) pass1))
(progress-reporter-update semantic--progress-reporter (point)))
(progress-reporter-done semantic--progress-reporter)))
(setq pass1 (nreverse pass1))
;; Now, make some tags while creating a set of children.
(car (semantic-html-recursive-combobulate-list pass1 0))
))