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/progmodes/ |
[ Home ] | [ C0mmand ] | [ Upload File ] |
---|
;ELC ;;; Compiled by mockbuild@buildfarm06-new.corp.cloudlinux.com on Fri Oct 11 10:09:16 2024 ;;; from file /builddir/build/BUILD/emacs-24.3/lisp/progmodes/ada-xref.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. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; (byte-code "\300\301!\210\300\302!\210\300\303!\210\300\304!\210\305\306\307\310\311\312\313\314&\210\305\315\316\317\311\312\313\314&\210\305\320\316\321\311\312\313\314&\210\305\322\323\324\311\325\313\314&\210\305\326\327\330\311\325\313\314&\210\305\331\332\333\311\334\313\314&\210\305\335\336\337\311\325\313\314&\210\305\340\341\342\311\325\313\314&\210\305\343\341\344\311\325\313\314&\210\305\345\346\347\311\325\313\314&\210\305\350\341\351\311\325\313\314&\210\305\352\353\354\311\325\313\314&\210\305\355\356\357\311\325\313\314&\210\305\360\361\362\311\325\313\314&\210\305\363\364\362\311\325\313\314&\210\305\365\366\367\311\325\313\314&\210\305\370\371\372\311\325\313\314&\210\305\373\341\374\311\375\313\314&\210\305\376\377\201@ \311\325\313\314&\210\305\201A \316\201B \311\312\313\314&\207" [require compile comint find-file ada-mode custom-declare-variable ada-xref-other-buffer t "If nil, always display the cross-references in the same buffer.\nOtherwise create either a new buffer or a new frame." :type boolean :group ada ada-xref-create-ali nil "If non-nil, run gcc whenever the cross-references are not up-to-date.\nIf nil, the cross-reference mode never runs gcc." ada-xref-confirm-compile "If non-nil, ask for confirmation before compiling or running the application." ada-krunch-args "0" "Maximum number of characters for filenames created by `gnatkr'.\nSet to 0, if you don't use crunched filenames. This should be a string." string ada-gnat-cmd "gnat" "Default GNAT project file parser.\nWill be run with args \"list -v -Pfile.gpr\".\nDefault is standard GNAT distribution; alternate \"gnatpath\"\nis faster, available from Ada mode web site." ada-gnatls-args '("-v") "Arguments to pass to `gnatls' to find location of the runtime.\nTypical use is to pass `--RTS=soft-floats' on some systems that support it.\n\nYou can also add `-I-' if you do not want the current directory to be included.\nOtherwise, going from specs to bodies and back will first look for files in the\ncurrent directory. This only has an impact if you are not using project files,\nbut only ADA_INCLUDE_PATH." (repeat string) ada-prj-default-comp-opt "-gnatq -gnatQ" "Default compilation options." ada-prj-default-bind-opt "" "Default binder options." ada-prj-default-link-opt "Default linker options." ada-prj-default-gnatmake-opt "-g" "Default options for `gnatmake'." ada-prj-default-gpr-file "Default GNAT project file.\nIf non-empty, this file is parsed to set the source and object directories for\nthe Ada mode project." ada-prj-ada-project-path-sep (cond ((boundp 'path-separator) path-separator) ((memq system-type '(windows-nt ms-dos)) ";") (t ":")) "Default separator for ada_project_path project variable." ada-prj-gnatfind-switches "-rf" "Default switches to use for `gnatfind'.\nYou should modify this variable, for instance to add `-a', if you are working\nin an environment where most ALI files are write-protected.\nThe command `gnatfind' is used every time you choose the menu\n\"Show all references\"." ada-prj-default-check-cmd (concat "${cross_prefix}gnatmake -u -c -gnatc ${gnatmake_opt} ${full_current}" " -cargs ${comp_opt}") "Default command to be used to compile a single file.\nEmacs will substitute the current filename for ${full_current}, or add\nthe filename at the end. This is the same syntax as in the project file." ada-prj-default-comp-cmd (concat "${cross_prefix}gnatmake -u -c ${gnatmake_opt} ${full_current} -cargs" " ${comp_opt}") ada-prj-default-debugger "${cross_prefix}gdb" "Default name of the debugger." ada-prj-default-make-cmd (concat "${cross_prefix}gnatmake -o ${main} ${main} ${gnatmake_opt} " "-cargs ${comp_opt} -bargs ${bind_opt} -largs ${link_opt}") "Default command to be used to compile the application.\nThis is the same syntax as in the project file." ada-prj-default-project-file "Name of the current project file.\nEmacs will not try to use the search algorithm to find the project file if\nthis string is not empty. It is set whenever a project file is found." (file :must-match t) ada-gnatstub-opts "-q -I${src_dir}" "Options to pass to `gnatsub' to generate the body of a package.\nThis has the same syntax as in the project file (with variable substitution)." ada-always-ask-project "If nil, use default values when no project file was found.\nOtherwise, ask the user for the name of the project file to use."] 8) #@36 True if we are running on Windows. (defconst ada-on-ms-windows (memq system-type '(windows-nt)) (#$ . 4968)) (byte-code "\300\301\302\303\304\305\306\307&\210\300\310\311\312\304\305\306\307&\207" [custom-declare-variable ada-tight-gvd-integration nil "If non-nil, a new Emacs frame will be swallowed in GVD when debugging.\nIf GVD is not the debugger used, nothing happens." :type boolean :group ada ada-xref-search-with-egrep t "If non-nil, use egrep to find the possible declarations for an entity.\nThis alternate method is used when the exact location was not found in the\ninformation provided by GNAT. However, it might be expensive if you have a lot\nof sources, since it will search in all the files in your project."] 8) #@534 Hook that is run when loading a project file. Each function in this hook takes one argument FILENAME, that is the name of the project file to load. This hook should be used to support new formats for the project files. If the function can load the file with the given filename, it should create a buffer that contains a conversion of the file to the standard format of the project files, and return that buffer. (The usual "src_dir=" or "obj_dir=" lines.) It should return nil if it doesn't know how to convert that project file. (defvar ada-load-project-hook nil (#$ . 5709)) #@52 Name of the last project file entered by the user. (defvar ada-last-prj-file "" (#$ . 6295)) #@39 The extension used for project files. (defconst ada-prj-file-extension ".adp" (#$ . 6394)) #@99 Directories where the specs for the standard library is found. This is used for cross-references. (defvar ada-xref-runtime-library-specs-path nil (#$ . 6491)) #@97 Directories where the ali for the standard library is found. This is used for cross-references. (defvar ada-xref-runtime-library-ali-path nil (#$ . 6656)) #@99 List of positions selected by the cross-references functions. Used to go back to these positions. (defvar ada-xref-pos-ring nil (#$ . 6817)) #@156 Command to use to change to a specific directory. On Windows systems using `cmdproxy.exe' as the shell, we need to use `/d' or the drive is never changed. (defvar ada-cd-command (byte-code "\301\302\"\203 \303\207\304\207" [shell-file-name string-match "cmdproxy.exe" "cd /d" "cd"] 3) (#$ . 6965)) #@166 Separator to use between multiple commands to `compile' or `start-process'. `cmdproxy.exe' doesn't recognize multiple-line commands, so we have to use "&&" for now. (defvar ada-command-separator (byte-code "\203 \301\207\302\207" [ada-on-ms-windows " && " "\n"] 1) (#$ . 7272)) #@59 Number of positions kept in the list `ada-xref-pos-ring'. (defconst ada-xref-pos-ring-max 16 (#$ . 7558)) #@32 Regexp to match for operators. (defvar ada-operator-re "\\+\\|-\\|/\\|\\*\\*\\|\\*\\|=\\|&\\|abs\\|mod\\|rem\\|and\\|not\\|or\\|xor\\|<=\\|<\\|>=\\|>" (#$ . 7670)) #@543 Associative list of project files with properties. It has the format: (project project ...) A project has the format: (project-file . project-plist) (See 'apropos plist' for operations on property lists). See `ada-default-prj-properties' for the list of valid properties. The current project is retrieved with `ada-xref-current-project'. Properties are retrieved with `ada-xref-get-project-field', set with `ada-xref-set-project-field'. If project properties are accessed with no project file, a (nil . default-properties) entry is created. (defvar ada-xref-project-files nil (#$ . 7841)) (defalias 'ada-make-identlist '(macro . #[nil "\300\301\302\"\207" [make-vector 8 nil] 3])) (defalias 'ada-name-of '(macro . #[(identlist) "\301\302E\207" [identlist aref 0] 3])) (defalias 'ada-line-of '(macro . #[(identlist) "\301\302E\207" [identlist aref 1] 3])) (defalias 'ada-column-of '(macro . #[(identlist) "\301\302E\207" [identlist aref 2] 3])) (defalias 'ada-file-of '(macro . #[(identlist) "\301\302E\207" [identlist aref 3] 3])) (defalias 'ada-ali-index-of '(macro . #[(identlist) "\301\302E\207" [identlist aref 4] 3])) (defalias 'ada-declare-file-of '(macro . #[(identlist) "\301\302E\207" [identlist aref 5] 3])) (defalias 'ada-references-of '(macro . #[(identlist) "\301\302E\207" [identlist aref 6] 3])) (defalias 'ada-on-declaration '(macro . #[(identlist) "\301\302E\207" [identlist aref 7] 3])) (defalias 'ada-set-name '(macro . #[(identlist name) "\302\303 F\207" [identlist name aset 0] 4])) (defalias 'ada-set-line '(macro . #[(identlist line) "\302\303 F\207" [identlist line aset 1] 4])) (defalias 'ada-set-column '(macro . #[(identlist col) "\302\303 F\207" [identlist col aset 2] 4])) (defalias 'ada-set-file '(macro . #[(identlist file) "\302\303 F\207" [identlist file aset 3] 4])) (defalias 'ada-set-ali-index '(macro . #[(identlist index) "\302\303 F\207" [identlist index aset 4] 4])) (defalias 'ada-set-declare-file '(macro . #[(identlist file) "\302\303 F\207" [identlist file aset 5] 4])) (defalias 'ada-set-references '(macro . #[(identlist ref) "\302\303 F\207" [identlist ref aset 6] 4])) (defalias 'ada-set-on-declaration '(macro . #[(ident value) "\302\303 F\207" [ident value aset 7] 4])) #@73 Read the ali file FILE into a new buffer, and return the buffer's name. (defalias 'ada-get-ali-buffer #[(file) "\301\302!!\207" [file find-file-noselect ada-get-ali-file-name] 3 (#$ . 10084)]) (put 'ada-get-ali-buffer 'byte-optimizer 'byte-compile-inline-expand) #@76 Duplicate all `\' characters in CMD so that it can be passed to `compile'. (defalias 'ada-quote-cmd #[(cmd) "\301\302\303\304\"\304#\207" [cmd mapconcat identity split-string "\\\\"] 5 (#$ . 10354)]) #@154 Find the full path to the executable file EXEC-NAME. If not found, throw an error. On Windows systems, this will properly handle .exe extension as well. (defalias 'ada-find-executable #[(exec-name) "\303 \"\206 \303\304P \"\211\203 \n\202 \305\306\")\207" [exec-name exec-path result ada-find-file-in-dir ".exe" error "'%s' not found in path"] 4 (#$ . 10562)]) #@120 Initialize the variables for the runtime library location. CROSS-PREFIX is the prefix to use for the `gnatls' command. (defalias 'ada-initialize-runtime-library #[(cross-prefix) "\305\306\307\217\211\203\216 \212\305\211\310\311!q\210~\210\312 \210\313\216\314\315\316\317\"#eb\210\f\320U\2043 \321`\322 {!\210\323\324!\210\325y\210\326\327!\204` \330 \210\326\331!\203Q \332\301\333\"\210\202Z \332\301\334`\335 \"\"\210\325y\210\202: \323\336!\210\325y\210\326\327!\204\215 \330 \210\326\331!\203~ \332\302\333\"\210\202\207 \332\302\334`\335 \"\"\210\325y\210\202g +\337 !\337\n!\211)\207" [gnatls ada-xref-runtime-library-specs-path ada-xref-runtime-library-ali-path ada-gnatls-args status nil (byte-code "\301\302P!\207" [cross-prefix ada-find-executable "gnatls"] 3) ((error)) get-buffer-create "*gnatls*" erase-buffer ((kill-buffer nil)) apply call-process append (nil t nil) 4 error line-end-position search-forward "Source Search Path:" 1 looking-at "^$" back-to-indentation "<Current_Directory>" add-to-list "." buffer-substring-no-properties point-at-eol "Object Search Path:" reverse] 7 (#$ . 10937)]) #@262 Set gpr_file, src_dir and obj_dir properties in PLIST by parsing GPR-FILE. Return new value of PLIST. GPR_FILE must be full path to file, normalized. src_dir, obj_dir will include compiler runtime. Assumes environment variable ADA_PROJECT_PATH is set properly. (defalias 'ada-gnat-parse-gpr #[(plist gpr-file) "r\306\307!q\210\310 \210\311\312\"\210\313\216\314 \315\"\211P\316P\317\211#\320\f\317\321\317\322\323 &(eb\210(\324U\204@ \325`\326 {!\210\327\330!\210\331y\210\332\333!\204l \334 \210\335\336\332\337!\203] )\202d \340\341`\326 \"!\"\210\331y\210\202G \327\342!\210\331y\210\332\333!\204\230 \334 \210\335\343\332\337!\203\211 )\202\220 \340\341`\326 \"!\"\210\331y\210\202s \344 \345#\344 \346#\344 \347##.\207" [gpr-file plist cross-prefix ada-gnat-cmd gnat gpr-opt get-buffer-create "*gnatls*" erase-buffer message "Parsing %s ..." ((byte-code "\301\302!\210\303\304\"\207" [gpr-file kill-buffer nil message "Parsing %s ... done"] 3)) plist-get cross_prefix "-P" nil call-process t "list" "-v" 0 error line-end-position search-forward "Source Search Path:" 1 looking-at "^$" back-to-indentation add-to-list src-dir "<Current_Directory>" expand-file-name buffer-substring-no-properties "Object Search Path:" obj-dir plist-put gpr_file src_dir obj_dir status default-directory] 9 (#$ . 12067)]) #@334 Replace variable references ${var} in CMD-STRING with the appropriate value. Also replace standard environment variables $var. Assumes project exists. As a special case, ${current} is replaced with the name of the current file, minus extension but with directory, and ${full_current} is replaced by the name including the extension. (defalias 'ada-treat-cmd-string #[(cmd-string) "\305\306\"\203 \307\310\311\" \312\230\203 \313\314 !\2024 \315\230\203( \314 \2024 \316 \317\216\320\321 !!*\n\204H \322 !\211\204H \323\324\325 \326Q\"\210\n\204V \327\330\331\211$\202{ \n;\203e \327\n\331\211$\202{ \n<\203{ \310\332\"\327\333\334\n\335#\331\211$)*\202 \336!\207" [cmd-string name value save-match-data-internal prefix string-match "\\(-[^-$IO]*[IO]\\)?${\\([^}]+\\)}" nil match-string 2 "current" file-name-sans-extension buffer-file-name "full_current" match-data ((byte-code "\301\302\"\207" [save-match-data-internal set-match-data evaporate] 3)) ada-xref-get-project-field intern getenv message "%s" "No project or environment variable " " found" replace-match "" t 1 mapconcat #[(x) " P\207" [prefix x] 2] " " substitute-in-file-name] 5 (#$ . 13404)]) #@262 Extract the value of FIELD from the current project file. Project variables are substituted. Note that for src_dir and obj_dir, you should rather use `ada-xref-get-src-dir-field' or `ada-xref-get-obj-dir-field' which will in addition return the default paths. (defalias 'ada-xref-get-project-field #[(field) "\304 A\305 \" \306=\203! \305\307\"\211\310\230\204 \311\312\nR)\n;\203, \313\n!\202A \n\2044 \314\202A \n<\203@ \315\316\n\"\202A \n*\207" [project-plist field value gpr-file ada-xref-current-project plist-get gnatmake_opt gpr_file "" "-P\"" "\" " ada-treat-cmd-string nil mapcar #[(x) "\203 \301!\207\207" [x ada-treat-cmd-string] 2]] 5 (#$ . 14593)]) #@129 Return the full value for src_dir, including the default directories. All the directories are returned as absolute directories. (defalias 'ada-xref-get-src-dir-field #[nil "\302\303!\304C\305\302\306!\" #)\207" [build-dir ada-xref-runtime-library-specs-path ada-xref-get-project-field build_dir append ada-get-absolute-dir-list src_dir] 5 (#$ . 15276)]) #@129 Return the full value for obj_dir, including the default directories. All the directories are returned as absolute directories. (defalias 'ada-xref-get-obj-dir-field #[nil "\302\303!\304C\305\302\306!\" #)\207" [build-dir ada-xref-runtime-library-ali-path ada-xref-get-project-field build_dir append ada-get-absolute-dir-list obj_dir] 5 (#$ . 15640)]) #@65 Set FIELD to VALUE in current project. Assumes project exists. (defalias 'ada-xref-set-project-field #[(field value) "\305 \306 \"A\307\n\f#\306 \"\n\241*\207" [file-name ada-xref-project-files project-plist field value ada-xref-current-project-file assoc plist-put] 4 (#$ . 16001)]) #@73 Update the menu Ada->Project, with the list of available project files. (defalias 'ada-xref-update-project-menu #[nil "\303\304\305\306\307\310\311\206\f \312\"BBBBB\313\n\314 #)\207" [ada-xref-project-files submenu ada-mode-menu "Project" ["Load..." ada-set-default-project-file t] ["New..." ada-prj-new t] ["Edit..." ada-prj-edit t] "---" mapcar #[(x) "@\206 \304\305\306\307\310\311 D\257\312\313 !\n\314\315@\232B$*\207" [x name command ada-prj-default-project-file "<default>" lambda nil "Select the current project file." (interactive) ada-select-prj-file vector file-name-nondirectory :button :toggle] 7] (nil) easy-menu-add-item nil] 8 (#$ . 16298)]) #@161 Completion function when reading a file from the minibuffer. Completion is attempted in all the directories in the source path, as defined in the project file. (defalias 'ada-do-file-completion #[(string predicate flag) "\305 \210\306\307 \203# \310@!\203 \311 \312\n@\"\"A\211\204\f \313\232\2030 \314\n \"\202@ \2038 \202@ \315\n\316\317 \"\f#*\207" [dirs list string flag predicate ada-require-project-file nil ada-xref-get-src-dir-field file-directory-p append file-name-all-completions lambda assoc try-completion mapcar #[(x) "\301B\207" [x 1] 2]] 6 (#$ . 16973)]) #@75 Open FILENAME, from anywhere in the source path. Completion is available. (defalias 'ada-find-file #[(filename) "\302!\211\203 \303 !\202 \304\305\")\207" [filename file ada-find-src-file-in-dir find-file error "%s not found in src_dir"] 4 (#$ . 17563) (list (completing-read "File: " 'ada-do-file-completion))]) #@120 If the current project does not exist, load or create a default one. Should only be called from interactive functions. (defalias 'ada-require-project-file #[nil "\301\230\205 \302\303\304!!\207" [ada-prj-default-project-file "" ada-reread-prj-file ada-prj-find-prj-file t] 3 (#$ . 17888)]) #@113 Return the current project file name; never nil. Call `ada-require-project-file' first if a project must exist. (defalias 'ada-xref-current-project-file #[nil "\301\230\204 \207\302\303!\207" [ada-prj-default-project-file "" ada-prj-find-prj-file t] 2 (#$ . 18187)]) #@95 Return the current project. Call `ada-require-project-file' first to ensure a project exists. (defalias 'ada-xref-current-project #[nil "\302 \303 \")\207" [file-name ada-xref-project-files ada-xref-current-project-file assoc] 3 (#$ . 18463)]) #@54 Display current project file name in message buffer. (defalias 'ada-show-current-project #[nil "\300\301 !\207" [message ada-xref-current-project-file] 2 (#$ . 18715) nil]) #@51 Display current main file name in message buffer. (defalias 'ada-show-current-main #[nil "\300\301\302\303!\"\207" [message "ada-mode main: %s" ada-xref-get-project-field main] 4 (#$ . 18894) nil]) #@70 Push (FILENAME, POSITION) on the position ring for cross-references. (defalias 'ada-xref-push-pos #[(filename position) " D\nB\211GV\205 S\n\233\304\241\207" [position filename ada-xref-pos-ring ada-xref-pos-ring-max nil] 3 (#$ . 19098)]) #@48 Go to the previous cross-reference we were on. (defalias 'ada-xref-goto-previous-reference #[nil "\205 @A\302 A@!\210 @b)\207" [ada-xref-pos-ring pos find-file] 2 (#$ . 19348) nil]) #@150 Convert from NAME to a name that can be used by the compilation commands. This is overridden on VMS to convert from VMS filenames to Unix filenames. (defalias 'ada-convert-file-name #[(name) "\207" [name] 1 (#$ . 19543)]) #@39 Set FILE as the current project file. (defalias 'ada-set-default-project-file #[(file) "\301!\210\302!\207" [file ada-parse-prj-file ada-select-prj-file] 2 (#$ . 19772) "fProject file:"]) #@484 Find the project file associated with the current buffer. If the buffer is not in Ada mode, or not associated with a file, return `ada-prj-default-project-file'. Otherwise, search for a file with the same base name as the Ada file, but extension given by `ada-prj-file-extension' (default .adp). If not found, search for *.adp in the current directory; if several are found, and NO-USER-QUESTION is non-nil, prompt the user to select one. If none are found, return 'default.adp'. (defalias 'ada-prj-find-prj-file #[(&optional no-user-question) "\306\307\310!\203\f \204 \306\202\301 \311\n!P\312\n!\313 \314\315\316!\317Q#+\306,\320\f!\2038 \f\202+G\321U\203G +@\202+G\321V\203\362 -\204\362 \322 .\323\216/0r\324\325!q\210p\326 \2100/\306\2111\314\2112\31434\327 \210\330\331!\210+\21156\332\333!\210\332\334!\210\332\335!\210\332\336!\210\321\2117+GX\203\270 \332\337\3407\211S+8#!\2107T\2117\202\233 )\3415!\210+\306\211,\203\334 ,\250\203\334 ,\321W\204\334 ,+GV\203\347 \342\343\344!!\211,\202\303 ,S+8*\202+G\345U\203-\2048\203\346\3479\350Q\3069#\2119\351\230\2049-\206\352)\207" [selected buffer-file-name current-file ada-prj-file-extension first-choice dir nil derived-mode-p ada-mode file-name-sans-extension file-name-directory directory-files t ".*" regexp-quote "$" file-exists-p 1 current-window-configuration ((set-window-configuration #1=#:wconfig)) get-buffer-create "*choice list*" kill-all-local-variables erase-buffer run-hooks temp-buffer-setup-hook princ "There are more than one possible project file.\n" "Which one should we use ?\n\n" " no. file name \n" " --- ------------------------\n" format " %2d) %s\n" internal-temp-output-buffer-show string-to-number read-from-minibuffer "Enter No. of your choice: " 0 read-file-name "project file [" "]:" "" "default.adp" prj-files choice no-user-question #1# default-directory #2=#:old-dir buffer-read-only buffer-undo-list inhibit-modification-hooks inhibit-read-only #3=#:buf standard-output counter ada-always-ask-project ada-last-prj-file] 7 (#$ . 19969)]) #@77 Return the default project properties list with the current buffer as main. (defalias 'ada-default-prj-properties #[nil "\306\307!\310\311\312!\206\f \313\314 \315\n\316\317\f<\203 \f\202 \fC\320 C\321(C\322)\323\313\324*\325+\2054 \326Q\327\307C\330,\331PC\332-\333.\334/\3350\336\203W \337\340!!\202X \313\3411C\342\343C\344\313\345\346+\205i \326PC\347\343C\257,)\207" [file ada-prj-ada-project-path-sep ada-prj-default-bind-opt default-directory ada-case-exception-file ada-prj-default-check-cmd buffer-file-name nil ada_project_path getenv "ADA_PROJECT_PATH" "" ada_project_path_sep bind_opt build_dir casing check_cmd comp_cmd comp_opt cross_prefix debug_cmd " ${main}" ".exe" debug_post_cmd debug_pre_cmd " ${build_dir}" gnatmake_opt gnatfind_opt gpr_file link_opt main file-name-nondirectory file-name-sans-extension make_cmd obj_dir "." remote_machine run_cmd "./${main}" src_dir ada-prj-default-comp-cmd ada-prj-default-comp-opt ada-prj-default-debugger ada-on-ms-windows ada-cd-command ada-prj-default-gnatmake-opt ada-prj-gnatfind-switches ada-prj-default-gpr-file ada-prj-default-link-opt ada-prj-default-make-cmd] 44 (#$ . 22092)]) #@68 Read PRJ-FILE, set project properties in `ada-xref-project-files'. (defalias 'ada-parse-prj-file #[(prj-file) "\303 \304 !\305 !\306\230\203 \307 \"\202 \310 \"\311 \n\"\203- \311 \n\"\241\210\2024 \312\302 B\"\210\313 )\207" [project prj-file ada-xref-project-files ada-default-prj-properties expand-file-name file-name-extension "gpr" ada-gnat-parse-gpr ada-parse-prj-file-1 assoc add-to-list ada-xref-update-project-menu] 4 (#$ . 23261)]) #@107 Parse the Ada mode project file PRJ-FILE, set project properties in PROJECT. Return new value of PROJECT. (defalias 'ada-parse-prj-file-1 #[(prj-file project) "p\306\211\211\211\211\211\211\211\211\211\211 4\307\3105\"\2116\2040 \3115\306\"66q\210)~\210eb\210m\204D\312\313!\203>\314\315!\316\230\203Z \317\320\321\322\314\323!!!\"\210\202>\314\315!\324\230\203q \3257\326\327\314\323!!#7\202>\314\315!\330\230\203\207 \317\331\321\322\314\323!!!\"\210\202>\314\315!\332\230\203\231 \317\333\314\323!\"\210\202>\314\315!\334\230\203\253 \317\335\314\323!\"\210\202>\314\315!\336\230\203\275 \317\305\314\323!\"\210\202>\314\315!\337\230\203\317 \317\340\314\323!\"\210\202>\314\315!\341\230\203\340 \321\314\323!!\202>\314\315!\342\230\203\362 \317\303\314\323!\"\210\202>\314\315!\343\230\203\317\302\327\321\314\323!!!\"\210\202>\314\315!\344\230\203\317\300\314\323!\"\210\202>\314\315!\345\230\2030\317\301\327\321\314\323!!!\"\210\202>\3257\346\314\315!!\314\323!#7\315y\210\202: 4q\210\203s\3477\350\"8\351!\352\3538#\3257\320#7\354\355\"\210) \203\201\3257\305\351 !#7 \203\221\3257\340\351 !#7\203\241\3257\331\351!#7\203\261\3257\333\351!#7\203\301\3257\335\351!#7\203\317\3257\303\351!#7\203\335\3257\300\351!#7\f\203 \3567\f\"7\357\3477\301\" \"\357\3477\302\"\n\"\306\2119:\360\361\362!\206\363!\210\n\203\3257\302\351\n!#7 \203&\3257\301\351 !#77.\f\207" [run_cmd src_dir obj_dir make_cmd gpr_file debug_post_cmd nil run-hook-with-args-until-success ada-load-project-hook find-file-noselect looking-at "^\\([^=\n]+\\)=\\(.*\\)" match-string 1 "ada_project_path" add-to-list ada_project_path expand-file-name substitute-in-file-name 2 "build_dir" plist-put build_dir file-name-as-directory "casing" casing "check_cmd" check_cmd "comp_cmd" comp_cmd "debug_post_cmd" "debug_pre_cmd" debug_pre_cmd "gpr_file" "make_cmd" "obj_dir" "run_cmd" "src_dir" intern plist-get ada_project_path_sep reverse mapconcat identity setenv "ADA_PROJECT_PATH" ada-gnat-parse-gpr append ada-initialize-runtime-library ada-xref-get-project-field cross_prefix "" ada-buffer prj-file buffer project sep ada-xref-runtime-library-specs-path ada-xref-runtime-library-ali-path] 13 (#$ . 23720)]) #@42 Select FILE as the current project file. (defalias 'ada-select-prj-file #[(file) "\306!\307\302!\211\203 \n\310 \210)\307\304!\211\203 \311\312\f\"\210)\313 \314\315\316 \"\"\317\207" [file ada-prj-default-project-file casing ada-case-exception-file ada_project_path compilation-search-path expand-file-name ada-xref-get-project-field ada-case-read-exceptions setenv "ADA_PROJECT_PATH" ada-xref-get-src-dir-field append mapcar directory-file-name t ada-search-directories ada-search-directories-internal] 5 (#$ . 26028) nil]) #@238 Find all references to the entity under POS. Calls gnatfind to find the references. If ARG is non-nil, the contents of the old *gnatfind* buffer is preserved. If LOCAL-ONLY is non-nil, only declarations in the current file are returned. (defalias 'ada-find-references #[(&optional pos arg local-only) "\306 \210\307!\310 \311H!\312 \313 \311H!q\210\314p!\204&