Function: lua-funcname-at-point
lua-funcname-at-point is a byte-compiled function defined in
lua-mode.el.gz.
Signature
(lua-funcname-at-point)
Documentation
Get current Name { '.' Name } sequence.
Source Code
;; Defined in /usr/src/emacs/lisp/progmodes/lua-mode.el.gz
(defun lua-funcname-at-point ()
"Get current Name { '.' Name } sequence."
(when (or (lua--funcname-char-p (char-before))
(lua--funcname-char-p (char-after)))
(save-excursion
(save-match-data
(re-search-backward "\\`\\|[^A-Za-z_.]")
;; NOTE: `point' will be either at the start of the buffer or on
;; a non-symbol character.
(re-search-forward "\\([A-Za-z_]+\\(?:\\.[A-Za-z_]+\\)*\\)")
(match-string-no-properties 1)))))