MMCT TEAM
Server IP : 111.118.215.189  /  Your IP : 18.117.158.174
Web Server : Apache
System : Linux md-in-83.webhostbox.net 4.19.286-203.ELK.el7.x86_64 #1 SMP Wed Jun 14 04:33:55 CDT 2023 x86_64
User : a1673wkz ( 2475)
PHP Version : 8.2.25
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON
Directory (0755) :  /usr/share/emacs/24.3/lisp/cedet/

[  Home  ][  C0mmand  ][  Upload File  ]

Current File : //usr/share/emacs/24.3/lisp/cedet/cedet-idutils.elc
;ELC
;;; Compiled by mockbuild@buildfarm06-new.corp.cloudlinux.com on Fri Oct 11 10:11:01 2024
;;; from file /builddir/build/BUILD/emacs-24.3/lisp/cedet/cedet-idutils.el
;;; in Emacs version 24.3.1
;;; with all optimizations.

;;; This file uses dynamic docstrings, first added in Emacs 19.29.

;;; This file does not contain utf-8 non-ASCII characters,
;;; and so can be loaded in Emacs versions earlier than 23.

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;


#@39 Minimum version of ID Utils required.
(defvar cedet-idutils-min-version "4.0" (#$ . 562))
(byte-code "\300\301\302\303\304\305\306\307&\210\300\310\311\312\304\305\306\307&\210\300\313\314\315\304\305\306\307&\207" [custom-declare-variable cedet-idutils-file-command "fnid" "Command name for the ID Utils executable for searching file names." :type string :group cedet cedet-idutils-token-command "lid" "Command name for the ID Utils executable for searching for tokens." cedet-idutils-make-command "mkid" "Command name for the ID Utils executable for creating token databases."] 8)
#@464 Perform a search with ID Utils, return the created buffer.
SEARCHTEXT is text to find.
TEXTTYPE is the type of text, such as 'regexp, 'string, 'tagname,
'tagregexp, or 'tagcompletions.
TYPE is the type of search, meaning that SEARCHTEXT is compared to
filename, tagname (tags table), references (uses of a tag) , or
symbol (uses of something not in the tag table.)
SCOPE is the scope of the search, such as 'project or 'subdirs.
Note: Scope is not yet supported.
(defalias 'cedet-idutils-search #[(searchtext texttype type scope) "\306=\203\307	C!\207\n\310=\203\311C\202\312C\313\n\314=\204'\n\315=\203-\316\317D\202K\n\310=\203=\320	P\316\321D\202K\n\322=\203H\316C\202K\323\317D\324\325\f
	C$!+\207" [type searchtext texttype resultflg scopeflgs stflag file cedet-idutils-fnid-call tagcompletions "--key=token" "--result=grep" nil tagname tagregexp "-r" "-w" "^" "-s" regexp "-l" cedet-idutils-lid-call append] 6 (#$ . 1155)])
#@91 Call ID Utils fnid with the list of FLAGS.
Return the created buffer with program output.
(defalias 'cedet-idutils-fnid-call #[(flags) "\305\306!r\nq\210	\307 \210)\310\311\312\n\312\f&\210\n*\207" [default-directory cd b cedet-idutils-file-command flags get-buffer-create "*CEDET fnid*" erase-buffer apply call-process nil] 7 (#$ . 2110)])
#@95 Call ID Utils lid with the list of FLAGS.
Return the created buffer with with program output.
(defalias 'cedet-idutils-lid-call #[(flags) "\305\306!r\nq\210	\307 \210)\310\311\312\n\312\f&\210\n*\207" [default-directory cd b cedet-idutils-token-command flags get-buffer-create "*CEDET lid*" erase-buffer apply call-process nil] 7 (#$ . 2463)])
#@91 Call ID Utils mkid with the list of FLAGS.
Return the created buffer with program output.
(defalias 'cedet-idutils-mkid-call #[(flags) "\305\306!r\nq\210	\307 \210)\310\311\312\n\312\f&\210\n*\207" [default-directory cd b cedet-idutils-make-command flags get-buffer-create "*CEDET mkid*" erase-buffer apply call-process nil] 7 (#$ . 2819)])
#@89 Expand the FILENAME with ID Utils.
Return a filename relative to the default directory.
(defalias 'cedet-idutils-expand-filename #[(filename) "r\302C!q\210eb\210\303\304!\203\305\306!\202\307\310 \311\312#)\313\314	\"\315\316!\203M	\203I	G\317U\203=\320\321	@\"\210\202M\320\322	@	AG#\210\202M\305\323!\210	)\207" [filename ans cedet-idutils-fnid-call looking-at "[^ \n]*fnid: " error "ID Utils not available" split-string buffer-string "\n" t mapcar expand-file-name called-interactively-p interactive 1 message "%s" "%s + %d others" "No file found"] 4 (#$ . 3172) "sFile: "])
#@192 Return non-nil if ID Utils has a support file for DIR.
If DIR is not supplied, use the current default directory.
This works by running lid on a bogus symbol, and looking for
the error code.
(defalias 'cedet-idutils-support-for-directory #[(&optional dir) "\212\206	\302\303\304\217*\207" [dir default-directory nil (byte-code "\300\301!q\210eb\210\302\303!?\205\304\207" [cedet-idutils-fnid-call ("moose") looking-at "[^ \n]*fnid: " t] 2) ((error))] 3 (#$ . 3769)])
#@181 Check the version of the installed ID Utils command.
If optional programmatic argument NOERROR is non-nil,
then instead of throwing an error if Global isn't available,
return nil.
(defalias 'cedet-idutils-version-check #[(&optional noerror) "\304\305!\210\306\307\310\217\306\211\204\311\312!\203\313\314!\210\306\202Wr	q\210eb\210\315\316\306\317#\2033\320\321!\2025\322\323\306\n#\203J?\205V\324\325\n#\202V\311\312!\203U\313\326\"\210\317)*\207" [rev b cedet-idutils-min-version noerror require inversion nil (byte-code "\300\301C!\207" [cedet-idutils-fnid-call "--version"] 2) ((error)) called-interactively-p interactive message "ID Utils not found." re-search-forward "fnid - \\([0-9.]+\\)" t match-string 1 "0" inversion-check-version error "Version of ID Utils is %s.  Need at least %s" "ID Utils %s  - Good enough for CEDET."] 5 (#$ . 4249) nil])
#@94 Create an IDUtils database in DIR.
IDUtils must start from scratch when updating a database.
(defalias 'cedet-idutils-create/update-database #[(&optional dir) "\302\303!)\207" [dir default-directory cedet-idutils-mkid-call nil] 2 (#$ . 5130) "DDirectory: "])
(provide 'cedet-idutils)

MMCT - 2023