Function: js--beginning-of-defun-raw
js--beginning-of-defun-raw is a byte-compiled function defined in
js.el.gz.
Signature
(js--beginning-of-defun-raw)
Documentation
Helper function for js-beginning-of-defun.
Go to previous defun-beginning and return the parse state for it, or nil if we went all the way back to bob and don't find anything.
Source Code
;; Defined in /usr/src/emacs/lisp/progmodes/js.el.gz
(defun js--beginning-of-defun-raw ()
"Helper function for `js-beginning-of-defun'.
Go to previous defun-beginning and return the parse state for it,
or nil if we went all the way back to bob and don't find
anything."
(js--ensure-cache)
(let (pstate)
(while (and (setq pstate (js--backward-pstate))
(not (eq 'function (js--pitem-type (car pstate))))))
(and (not (bobp)) pstate)))