js--plain-method-re

js--plain-method-re is a variable defined in `js.el'.
Its value is

"^\\s-*?\\([a-zA-Z_$]\\(?:\\s_\\|\\sw\\)*\\(?:\\.[a-zA-Z_$]\\(?:\\s_\\|\\sw\\)*\\)*\\)\\.prototype\\.\\([a-zA-Z_$]\\(?:\\s_\\|\\sw\\)*\\)\\s-*?=\\s-*?\\(function\\)\\_>"

  • This variable may be risky if used as a file-local variable.

Documentation:
Regexp matching an explicit JavaScript prototype "method" declaration.
Group 1 is a (possibly-dotted) class name, group 2 is a method name,
and group 3 is the 'function' keyword.