Function: semantic-tag-similar-p

semantic-tag-similar-p is a byte-compiled function defined in tag-ls.el.gz.

Signature

(semantic-tag-similar-p TAG1 TAG2 &rest IGNORABLE-ATTRIBUTES)

Documentation

Test to see if TAG1 and TAG2 are similar.

Two tags are similar if their name, datatype, and various attributes are the same.

Similar tags that have sub-tags such as arg lists or type members, are similar w/out checking the sub-list of tags.

Optional argument IGNORABLE-ATTRIBUTES are attributes to ignore while comparing similarity.

By default, semantic-tag-similar-ignorable-attributes is referenced for attributes, and IGNORABLE-ATTRIBUTES will augment this list.

Note that even though :name is not an attribute, it can be used to indicate lax comparison of names via semantic--tag-similar-names-p

Source Code

;; Defined in /usr/src/emacs/lisp/cedet/semantic/tag-ls.el.gz
(define-overloadable-function semantic-tag-similar-p (tag1 tag2 &rest ignorable-attributes)
  "Test to see if TAG1 and TAG2 are similar.
Two tags are similar if their name, datatype, and various attributes
are the same.

Similar tags that have sub-tags such as arg lists or type members,
are similar w/out checking the sub-list of tags.

Optional argument IGNORABLE-ATTRIBUTES are attributes to ignore while comparing
similarity.

By default, `semantic-tag-similar-ignorable-attributes' is referenced for
attributes, and IGNORABLE-ATTRIBUTES will augment this list.

Note that even though :name is not an attribute, it can be used to
indicate lax comparison of names via `semantic--tag-similar-names-p'")