Function: tag-implicit-name-match-p
tag-implicit-name-match-p is a byte-compiled function defined in
etags.el.gz.
Signature
(tag-implicit-name-match-p TAG)
Documentation
Return non-nil if current tag line has an implicit name.
Point should be just after a string that matches TAG.
Source Code
;; Defined in /usr/src/emacs/lisp/progmodes/etags.el.gz
;; t if point is at a tag line that has an implicit name.
;; point should be just after a string that matches TAG.
(defun tag-implicit-name-match-p (tag)
"Return non-nil if current tag line has an implicit name.
Point should be just after a string that matches TAG."
;; Look at the comment of the make_tag function in lib-src/etags.c for
;; a textual description of the four rules.
(and (string-match "^[^ \t()=,;]+$" tag) ;rule #1
;; Rules #2 and #4, and a check that there's no explicit name.
(looking-at "[ \t()=,;]?\177[0-9]*,[0-9]*$")
(save-excursion
(backward-char (1+ (length tag)))
(looking-at "[\n \t()=,;]")))) ;rule #3