Variable: js--function-heading-2-re

js--function-heading-2-re is a variable defined in js.el.gz.

Value

"^\\s-*\\([[:alpha:]_$]\\(?:\\s_\\|\\sw\\)*\\)\\s-*:\\s-*function\\_>"

Documentation

Regexp matching the start of a function entry in an associative array.

Match group 1 is the name of the function.

Source Code

;; Defined in /usr/src/emacs/lisp/progmodes/js.el.gz
(defconst js--function-heading-2-re
  (concat
   "^\\s-*\\(" js--name-re "\\)\\s-*:\\s-*function\\_>")
  "Regexp matching the start of a function entry in an associative array.
Match group 1 is the name of the function.")