;ELC   
;;; Compiled
;;; in Emacs version 28.2
;;; with all optimizations.



(byte-code "\300\301!\210\300\302!\210\300\303!\210\304\305\306\307!\"\210\304\310\311\307!\"\210\304\312\310\"\210\313\312\314\315#\210\316\307\317\310#\320\307\321\322\323$\207" [require semantic semantic/analyze semantic/db-find defalias semantic-analyze-references-p eieio-make-class-predicate semantic-analyze-references semantic-analyze-references--eieio-childp eieio-make-child-predicate semantic-analyze-references-child-p make-obsolete "use (cl-typep ... \\='semantic-analyze-references) instead" "25.1" define-symbol-prop cl-deftype-satisfies eieio-defclass-internal nil ((tag :initarg :tag :type semantic-tag :documentation "The starting TAG we are providing references analysis for.") (tagdb :initarg :tagdb :documentation "The database that tag can be found in.") (scope :initarg :scope :documentation "A Scope object.") (rawsearchdata :initarg :rawsearchdata :documentation "The raw search data for TAG's name across all databases.")) (:documentation "Class containing data from a semantic analysis.")] 6)
#@84 Create a new object of class type `semantic-analyze-references'.

(fn &rest SLOTS)
(defalias 'semantic-analyze-references #[128 "\300\301\302#\207" [apply make-instance semantic-analyze-references] 5 (#$ . 1104)])
(byte-code "\300\301\302\303#\300\207" [function-put semantic-analyze-references compiler-macro semantic-analyze-references--anon-cmacro] 4)
#@26 

(fn WHOLE &rest SLOTS)
(defalias 'semantic-analyze-references--anon-cmacro #[385 "\211@;\204 \207\300\301\302@@#@\303@DABB\"\207" [macroexp-warn-and-return format "Obsolete name arg %S to constructor %S" identity] 7 (#$ . 1466)])
#@229 Analyze the references for TAG.
Returns a class with information about TAG.

Optional argument DB is a database.  It will be used to help
locate TAG.

Use `semantic-analyze-current-tag' to debug this fcn.

(fn TAG &optional DB)
(defalias 'semantic-analyze-tag-references #[513 "\303\211\304\305\306!\304\204\" \211\262\204\" 	\262\n\205  \307\n\"\262\203M \211\204M \302N\203< \307\302N\"\211\262\204\" \211\310N\206F \211\311N\262\262\202\" \266\203\211\262\205a \211\203_ N\205a J\266\203\206\326 \211\211\312N\262\205\326 \211\211\312N\262\304\305\306!\304\204\225 \211\262\204\225 	\262\n\205\223 \307\n\"\262\203\300 \211\204\300 \302N\203\257 \307\302N\"\211\262\204\225 \211\310N\206\271 \211\311N\262\262\202\225 \266\203\211\262\205\324 \211\203\322 N\205\324 J\266\203\262\211\203\341 \211\"\207\313\"\207" [mode-local-active-mode major-mode mode-local-symbol-table semantic-analyze-tag-references nil override-flag symbol-name intern-soft mode-local-parent derived-mode-parent mode-local--overload-obsolete semantic-analyze-tag-references-default] 14 (#$ . 1712)])
(put 'semantic-analyze-tag-references 'mode-local-overload t)
#@229 Analyze the references for TAG.
Returns a class with information about TAG.

Optional argument DB is a database.  It will be used to help
locate TAG.

Use `semantic-analyze-current-tag' to debug this fcn.

(fn TAG &optional DB)
(defalias 'semantic-analyze-tag-references-default #[513 "\3001. \211:\205( \211@;\205( \211A@9\205( \211A@\205( \3018<\205( \3028<0\262\2022 \210\303\262\204< \304\305\306D\"\210\303\211\212\307\"\210\310 \262\311\312#\262\313\211@\262\314\315\316\317\n&	)\207" [(error) 2 3 nil signal wrong-type-argument semantic-tag-p semantic-go-to-tag semantic-calculate-scope semantic--analyze-refs-full-lookup t semantic-analyze-references :tag :tagdb :scope :rawsearchdata] 14 (#$ . 2906)])
(byte-code "\300\301\302\303\302\304%\210\300\305\302\306\302\307%\207" [cl-generic-define-method semantic-analyze-refs-impl nil ((refs semantic-analyze-references) &optional in-buffer) #[513 "\300\301\"\300\302\"\303C\304\305\306$\"\210\211\242\207" [eieio-oref rawsearchdata tag nil semanticdb-find-result-mapc make-closure #[514 "\303\"\211A@\304!?\205, \305\301\306\307\310\311&\205, \300\203& \212\312\"\210)\302\302\242B\240\207" [V0 V1 V2 semanticdb-normalize-one-tag semantic-tag-prototype-p semantic-tag-similar-p :prototype-flag :parent :typemodifiers :default-value semantic-go-to-tag] 12 "Examine T in the database DB, and sort it.\n\n(fn T DB)"]] 11 "Return the implementations derived in the reference analyzer REFS.\nOptional argument IN-BUFFER indicates that the returned tag\nshould be in an active buffer.\n\n(fn REFS &optional IN-BUFFER)"] semantic-analyze-refs-proto ((refs semantic-analyze-references) &optional in-buffer) #[513 "\300\301\"\300\302\"\303C\304\305\306$\"\210\211\242\207" [eieio-oref rawsearchdata tag nil semanticdb-find-result-mapc make-closure #[514 "\303\"\211A@\304!\205+ \305\301\306\307\310\311&\205+ \300\203% \212\312\"\210)\302\302\242B\240\207" [V0 V1 V2 semanticdb-normalize-one-tag semantic-tag-prototype-p semantic-tag-similar-p :prototype-flag :parent :typemodifiers :default-value semantic-go-to-tag] 12 "Examine T in the database DB, and sort it.\n\n(fn T DB)"]] 11 "Return the prototypes derived in the reference analyzer REFS.\nOptional argument IN-BUFFER indicates that the returned tag\nshould be in an active buffer.\n\n(fn REFS &optional IN-BUFFER)"]] 6)
#@364 Perform a full lookup for all occurrences of TAG in the current project.
TAG should be the tag currently under point.
SCOPE is the scope the cursor is in.  From this a list of parents is
derived.  If SCOPE does not have parents, then only a simple lookup is done.
Optional argument NOERROR means don't error if the lookup fails.

(fn TAG SCOPE &optional NOERROR)
(defalias 'semantic--analyze-refs-full-lookup #[770 "\300\301\"\204\f \302\"\207\303\"\207" [eieio-oref parents semantic--analyze-refs-full-lookup-simple semantic--analyze-refs-full-lookup-with-parents] 6 (#$ . 5292)])
#@162 Find in FIND-RESULT a tag NAME which is a child of a tag in FIND-RESULTS.
CLASS is the class of the tag that ought to be returned.

(fn FIND-RESULTS NAME CLASS)
(defalias 'semantic--analyze-refs-find-child-in-find-results #[771 "\302\211\211\203\213 \211@\302\262\211A\211\203w \211@\211\211\303\304\3058\262\"\266\203\306!\302\203E \n@\211@\262\230\203> @B\262A\262\202( \211\237\266\202)\211\211\203n \211@\211\211A@\262=\266\202\203g \211	B\262	A\266\202\202K \266A\266\202\202 \210\203\204 \211@BB\262A\266\202\202 \210\207" [semantic-case-fold case-fold-search nil :members plist-get 2 semantic-something-to-tag-table] 17 (#$ . 5886)])
#@145 Find in FIND-RESULTS all tags with PARENTS.
NAME is the name of the tag needing finding.
PARENTS is a list of names.

(fn FIND-RESULTS PARENTS)
(defalias 'semantic--analyze-refs-find-tags-with-parent #[514 "\300C\300C\301\302\303$\"\210\242\207" [nil semanticdb-find-result-mapc make-closure #[514 "\211\303\304\3058\262\"\266\203\211;\205 \306!\211;\203 \211C\262\211\205q \211\300\232\2032 \301D\301\242B\240\210\212\307\"\210\302\310\240\210\311 \312\313\314\302\"\"\266\302\242\211\205n \211@\211B\300\232\203g \301D\301\242B\240\210\302\211\242A\240\210A\266\202\202I \262)\207" [V0 V1 V2 :parent plist-get 2 semantic-analyze-split-name semantic-go-to-tag nil semantic-ctxt-imported-packages mapc make-closure #[257 "\300\301!\300\242B\240\207" [V0 semantic-format-tag-name-from-anything] 4 "\n\n(fn T)"]] 9 "\n\n(fn TAG DB)"]] 10 (#$ . 6569)])
#@128 Perform a lookup for all occurrences of TAG based on TAG's SCOPE.
TAG should be the tag currently under point.

(fn TAG SCOPE)
(defalias 'semantic--analyze-refs-full-lookup-with-parents #[514 "\211A@\262\300\301\302\303\"\"\211@\304\305\"\306\307\310\"\311\211\305$\312\"A\262\203R \203R \313	\211@\262#\312\"\314\"\266\203\313@\315#\262A\262\202$ \313	\211@\262#\314\"\207" [mapcar #[257 "\211\211@\207" [] 3 "\n\n(fn T)"] eieio-oref parents semantic--analyze-refs-full-lookup-simple t semanticdb-find-tags-collector make-closure #[514 "\301\300#\207" [V0 semanticdb-deep-find-tags-by-name-method] 6 "\n\n(fn TABLE TAGS)"] nil semantic--analyze-refs-find-tags-with-parent semantic--analyze-refs-find-child-in-find-results append type] 13 (#$ . 7453)])
#@381 Perform a simple  lookup for occurrences of TAG in the current project.
TAG should be the tag currently under point.
Optional NOERROR means don't throw errors on failure to find something.
This only compares the tag name, and does not infer any matches in namespaces,
or parts of some other data structure.
Only works for tags in the global namespace.

(fn TAG &optional NOERROR)
(defalias 'semantic--analyze-refs-full-lookup-simple #[513 "\211@\262\300\301\302\"\303\211\304$\211\204 \204 \305\306\"\210\211A@\262\300\301\307\"\303#\211\204; \204; \305\310\211@\262\"\210\207" [semanticdb-find-tags-collector make-closure #[514 "\301\300#\207" [V0 semanticdb-find-tags-by-name-method] 6 "\n\n(fn TABLE TAGS)"] nil t error "Cannot find any references to %s in wide search" #[514 "\301!\302\203! \300@\211A@\262=\203 @B\262A\262\202 \211\237\207" [V0 semantic-something-to-tag-table nil] 7 "\n\n(fn TABLE TAGS)"] "Cannot find any definitions for %s in wide search"] 10 (#$ . 8249)])
#@30 Analyze the tag under point.
(defalias 'semantic-analyze-current-tag #[0 "\300 \301 \302!\303\304\305\306\307\"!\266\202\"\210\211\203& \310\311!\210\312\313!\210\314\315\"\207\303\316!\207" [semantic-current-tag current-time semantic-analyze-tag-references message "Analysis took %.2f seconds." nil float-time time-subtract require eieio-datadebug data-debug-new-buffer "*Analyzer Reference ADEBUG*" data-debug-insert-object-slots "]" "No Context to analyze here."] 11 (#$ . 9265) nil])
#@72 Toggle between the implementation, and a prototype of tag under point.
(defalias 'semantic-analyze-proto-impl-toggle #[0 "\300\301!\210\302 \210\303 \211\203 \304!\202 \305\306!\307!\203$ \310\311\"@\202) \312\311\"@\211\204< \305\313\307!\2039 \314\202: \315\"\210\316 \210\317\320!\203H \320 \210\321!\210\322p!\210\323!\207" [require semantic/decorate semantic-fetch-tags semantic-current-tag semantic-analyze-tag-references error "Point must be in a declaration" semantic-tag-prototype-p semantic-analyze-refs-impl t semantic-analyze-refs-proto "Could not find suitable %s" "implementation" "prototype" push-mark fboundp xref-push-marker-stack semantic-go-to-tag pop-to-buffer-same-window semantic-momentary-highlight-tag] 7 (#$ . 9764) nil])
(provide 'semantic/analyze/refs)
