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:15 2024 ;;; from file /builddir/build/BUILD/emacs-24.3/lisp/progmodes/ada-mode.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\302\303#\210\300\304\302\303#\210\300\305\302\303#\210\300\306\302\303#\207" [require find-file nil t align which-func compile] 4) #@26 Return Ada mode version. (defalias 'ada-mode-version #[nil "\301\302\303!\203 \304!\202 )\207" [version-string "4.00" called-interactively-p interactive message] 2 (#$ . 713) nil]) #@190 List of functions to call when Ada mode is invoked. This hook is automatically executed after the `ada-mode' is fully loaded. This is a good place to add Ada environment specific bindings. (defvar ada-mode-hook nil (#$ . 906)) (byte-code "\300\301\302\303\304\305\306\307&\210\310\311\312\313\314\315\306\301&\210\310\316\317\320\314\321\306\301&\210\310\322\323\324\314\321\306\301&\210\310\325\322\326\314\321\306\301&\210\310\327\330\331\314\332\306\301&\210\310\333\334\335\314\336\306\301&\210\310\337\340\341\314\342\306\301&\210\310\343\344\345\314\346\306\301&\210\310\347\312\350\314\315\306\301&\210\351\347\352\353#\210\310\354\355\356\314\321\306\301&\210\310\357\312\360\314\315\306\301&\210\310\361\312\362\314\315\306\301&\210\310\363\312\364\314\315\306\301&\210\310\365\302\366\314\315\306\301&\210\310\367\312\370\314\315\306\301&\210\310\371\355\372\314\321\306\301&\210\310\373\322\374\314\321\306\301&\210\310\375\317\376\314\321\306\301&\210\310\377\312\201@ \314\315\306\301&\210\310\201A \201B \201C \314\201D \306\301&\210\310\201E \201F \201G \314\201D \306\301&\210\310\201H \201I \201J \314\321\306\301&\210\310\201K \201L \201M \314\201N \306\301&\210\310\201O \302\201P \314\315\306\301&\210\310\201Q \201R \201S \314\201T \306\301&\210\310\201U \201V \201W \314\201X \306\301&\207" [custom-declare-group ada nil "Major mode for editing and compiling Ada source in Emacs." :link (custom-group-link :tag "Font Lock Faces group" font-lock-faces) :group languages custom-declare-variable ada-auto-case t "Non-nil means automatically change case of preceding word while typing.\nCasing is done according to `ada-case-keyword', `ada-case-identifier'\nand `ada-case-attribute'." :type boolean ada-broken-decl-indent 0 "Number of columns to indent a broken declaration.\n\nAn example is :\n declare\n A,\n >>>>>B : Integer;" integer ada-broken-indent 2 "Number of columns to indent the continuation of a broken line.\n\nAn example is :\n My_Var : My_Type := (Field1 =>\n >>>>>>>>>Value);" ada-continuation-indent "Number of columns to indent the continuation of broken lines in parenthesis.\n\nAn example is :\n Func (Param1,\n >>>>>Param2);" ada-case-attribute 'ada-capitalize-word "Function to call to adjust the case of Ada attributes.\nIt may be `downcase-word', `upcase-word', `ada-loose-case-word',\n`ada-capitalize-word' or `ada-no-auto-case'." (choice (const downcase-word) (const upcase-word) (const ada-capitalize-word) (const ada-loose-case-word) (const ada-no-auto-case)) ada-case-exception-file (list (convert-standard-filename '"~/.emacs_case_exceptions")) "List of special casing exceptions dictionaries for identifiers.\nThe first file is the one where new exceptions will be saved by Emacs\nwhen you call `ada-create-case-exception'.\n\nThese files should contain one word per line, that gives the casing\nto be used for that word in Ada files. If the line starts with the\ncharacter *, then the exception will be used for substrings that either\nstart at the beginning of a word or after a _ character, and end either\nat the end of the word or at a _ character. Each line can be terminated\nby a comment." (repeat (file)) ada-case-keyword 'downcase-word "Function to call to adjust the case of an Ada keywords.\nIt may be `downcase-word', `upcase-word', `ada-loose-case-word' or\n`ada-capitalize-word'." (choice (const downcase-word) (const upcase-word) (const ada-capitalize-word) (const ada-loose-case-word) (const ada-no-auto-case)) ada-case-identifier 'ada-loose-case-word "Function to call to adjust the case of an Ada identifier.\nIt may be `downcase-word', `upcase-word', `ada-loose-case-word' or\n`ada-capitalize-word'." (choice (const downcase-word) (const upcase-word) (const ada-capitalize-word) (const ada-loose-case-word) (const ada-no-auto-case)) ada-clean-buffer-before-saving "Non-nil means remove trailing spaces and untabify the buffer before saving." make-obsolete-variable "use the `write-file-functions' hook." "23.2" ada-indent 3 "Size of Ada indentation.\n\nAn example is :\nprocedure Foo is\nbegin\n>>>>>>>>>>null;" ada-indent-after-return "Non-nil means automatically indent after RET or LFD." ada-indent-align-comments "Non-nil means align comments on previous line comments, if any.\nIf nil, indentation is calculated as usual.\nNote that indentation is calculated only if `ada-indent-comment-as-code' is t.\n\nFor instance:\n A := 1; -- A multi-line comment\n -- aligned if `ada-indent-align-comments' is t" ada-indent-comment-as-code "Non-nil means indent comment lines as code.\nA nil value means do not auto-indent comments." ada-indent-handle-comment-special "Non-nil if comment lines should be handled specially inside parenthesis.\nBy default, if the line that contains the open parenthesis has some\ntext following it, then the following lines will be indented in the\nsame column as this text. This will not be true if the first line is\na comment and `ada-indent-handle-comment-special' is t.\n\ntype A is\n ( Value_1, -- common behavior, when not a comment\n Value_2);\n\ntype A is\n ( -- `ada-indent-handle-comment-special' is nil\n Value_1,\n Value_2);\n\ntype A is\n ( -- `ada-indent-handle-comment-special' is non-nil\n Value_1,\n Value_2);" ada-indent-is-separate "Non-nil means indent 'is separate' or 'is abstract' if on a single line." ada-indent-record-rel-type "Indentation for 'record' relative to 'type' or 'use'.\n\nAn example is:\n type A is\n >>>>>>>>>>>record" ada-indent-renames "Indentation for renames relative to the matching function statement.\nIf `ada-indent-return' is null or negative, the indentation is done relative to\nthe open parenthesis (if there is no parenthesis, `ada-broken-indent' is used).\n\nAn example is:\n function A (B : Integer)\n return C;\n >>>renames Foo;" ada-indent-return "Indentation for 'return' relative to the matching 'function' statement.\nIf `ada-indent-return' is null or negative, the indentation is done relative to\nthe open parenthesis (if there is no parenthesis, `ada-broken-indent' is used).\n\nAn example is:\n function A (B : Integer)\n >>>>>return C;" ada-indent-to-open-paren "Non-nil means indent according to the innermost open parenthesis." ada-fill-comment-prefix "-- " "Text inserted in the first columns when filling a comment paragraph.\nNote: if you modify this variable, you will have to invoke `ada-mode'\nagain to take account of the new value." string ada-fill-comment-postfix " --" "Text inserted at the end of each line when filling a comment paragraph.\nUsed by `ada-fill-comment-paragraph-postfix'." ada-label-indent -4 "Number of columns to indent a label.\n\nAn example is:\nprocedure Foo is\nbegin\n>>>>Label:\n\nThis is also used for <<..>> labels" ada-language-version 'ada95 "Ada language version; one of `ada83', `ada95', `ada2005'." (choice (const ada83) (const ada95) (const ada2005)) ada-move-to-declaration "Non-nil means `ada-move-to-start' moves to the subprogram declaration, not to 'begin'." ada-popup-key '[down-mouse-3] "Key used for binding the contextual menu.\nIf nil, no contextual menu is available." (restricted-sexp :match-alternatives (stringp vectorp)) ada-search-directories (append '(".") (split-string (or (getenv "ADA_INCLUDE_PATH") "") ":") '("/usr/adainclude" "/usr/local/adainclude" "/opt/gnu/adainclude")) "Default list of directories to search for Ada files.\nSee the description for the `ff-search-directories' variable. This variable\nis the initial value of `ada-search-directories-internal'." (repeat (choice :tag "Directory" (const :tag "default" nil) (directory :format "%v")))] 8) #@220 Internal version of `ada-search-directories'. Its value is the concatenation of the search path as read in the project file and the standard runtime location, and the value of the user-defined `ada-search-directories'. (defvar ada-search-directories-internal ada-search-directories (#$ . 8614)) (byte-code "\300\301\302\303\304\305\306\307&\210\300\310\311\312\304\313\306\307&\210\300\314\315\316\304\305\306\307&\210\300\317\320\321\304\305\306\307&\210\300\322\315\323\304\305\306\307&\210\300\324\325\326\304\327\306\307&\207" [custom-declare-variable ada-stmt-end-indent 0 "Number of columns to indent the end of a statement on a separate line.\n\nAn example is:\n if A = B\n >>>>then" :type integer :group ada ada-tab-policy 'indent-auto "Control the behavior of the TAB key.\nMust be one of :\n`indent-rigidly' : always adds `ada-indent' blanks at the beginning of the line.\n`indent-auto' : use indentation functions in this file.\n`always-tab' : do `indent-relative'." (choice (const indent-auto) (const indent-rigidly) (const always-tab)) ada-use-indent ada-broken-indent "Indentation for the lines in a 'use' statement.\n\nAn example is:\n use Ada.Text_IO,\n >>>>Ada.Numerics;" ada-when-indent 3 "Indentation for 'when' relative to 'exception' or 'case'.\n\nAn example is:\n case A is\n >>>>when B =>" ada-with-indent "Indentation for the lines in a 'with' statement.\n\nAn example is:\n with Ada.Text_IO,\n >>>>Ada.Numerics;" ada-which-compiler 'gnat "Name of the compiler to use.\nThis will determine what features are made available through the Ada mode.\nThe possible choices are:\n`gnat': Use Ada Core Technologies' GNAT compiler. Add some cross-referencing\n features.\n`generic': Use a generic compiler." (choice (const gnat) (const generic))] 8) #@94 List of possible suffixes for Ada body files. The extensions should include a `.' if needed. (defvar ada-body-suffixes '(".adb") (#$ . 10418)) #@94 List of possible suffixes for Ada spec files. The extensions should include a `.' if needed. (defvar ada-spec-suffixes '(".ads") (#$ . 10567)) #@20 Menu for Ada mode. (defvar ada-mode-menu (make-sparse-keymap "Ada") (#$ . 10716)) #@33 Local keymap used for Ada mode. (defvar ada-mode-map (make-sparse-keymap) (#$ . 10804)) #@43 Keymap used for non-standard keybindings. (defvar ada-mode-extra-map (make-sparse-keymap) (#$ . 10898)) #@54 Prefix key to access `ada-mode-extra-map' functions. (defvar ada-mode-extra-prefix "" (#$ . 11008)) #@34 Local abbrev table for Ada mode. (defvar ada-mode-abbrev-table nil (#$ . 11116)) (define-abbrev-table 'ada-mode-abbrev-table nil) #@54 Syntax table to be used for editing Ada source code. (defvar ada-mode-syntax-table nil (#$ . 11252)) #@56 Syntax table for Ada, where `_' is a word constituent. (defvar ada-mode-symbol-syntax-table nil (#$ . 11359)) #@63 Variable to save key binding of RET when casing is activated. (defvar ada-ret-binding nil (#$ . 11475)) #@53 Alist of words (entities) that have special casing. (defvar ada-case-exception nil (#$ . 11585)) #@257 Alist of substrings (entities) that have special casing. The substrings are detected for word constituent when the word is not itself in `ada-case-exception', and only for substrings that either are at the beginning or end of the word, or start after '_'. (defvar ada-case-exception-substring nil (#$ . 11689)) #@63 Variable to save key binding of LFD when casing is activated. (defvar ada-lfd-binding nil (#$ . 12006)) #@96 Variable used by `find-file' to find the name of the other package. See `ff-other-file-alist'. (defvar ada-other-file-alist nil (#$ . 12116)) #@157 Ada support for align.el <= 2.2. This variable provides regular expressions on which to align different lines. See `align-mode-alist' for more information. (defvar ada-align-list '(("[^:]\\(\\s-*\\):[^:]" 1 t) ("[^=]\\(\\s-+\\)=[^=]" 1 t) ("\\(\\s-*\\)use\\s-" 1) ("\\(\\s-*\\)--" 1)) (#$ . 12265)) #@103 Ada support for align.el >= 2.8. This variable defines several rules to use to align different lines. (defvar ada-align-modes '((ada-declaration (regexp . "[^:]\\(\\s-*\\):[^:]") (valid lambda nil (not (ada-in-comment-p))) (modes quote (ada-mode))) (ada-assignment (regexp . "[^=]\\(\\s-+\\)=[^=]") (valid lambda nil (not (ada-in-comment-p))) (modes quote (ada-mode))) (ada-comment (regexp . "\\(\\s-*\\)--") (modes quote (ada-mode))) (ada-use (regexp . "\\(\\s-*\\)use\\s-") (valid lambda nil (not (ada-in-comment-p))) (modes quote (ada-mode)))) (#$ . 12571)) #@64 See the variable `align-region-separate' for more information. (defconst ada-align-region-separate "^\\s-*\\($\\|\\(begin\\|declare\\|else\\|end\\|exception\\|for\\|function\\|generic\\|if\\|is\\|procedure\\|record\\|return\\|type\\|when\\)\\>\\)" (#$ . 13138)) #@45 Regular expression matching Ada83 keywords. (defconst ada-83-keywords "\\<\\(a\\(?:b\\(?:ort\\|s\\)\\|cce\\(?:pt\\|ss\\)\\|ll\\|nd\\|rray\\|t\\)\\|b\\(?:egin\\|ody\\)\\|c\\(?:ase\\|onstant\\)\\|d\\(?:e\\(?:clare\\|l\\(?:ay\\|ta\\)\\)\\|igits\\|o\\)\\|e\\(?:ls\\(?:e\\|if\\)\\|n\\(?:d\\|try\\)\\|x\\(?:ception\\|it\\)\\)\\|f\\(?:or\\|unction\\)\\|g\\(?:eneric\\|oto\\)\\|i[fns]\\|l\\(?:imited\\|oop\\)\\|mod\\|n\\(?:ew\\|ot\\|ull\\)\\|o\\(?:thers\\|ut\\|[fr]\\)\\|p\\(?:ackage\\|r\\(?:agma\\|\\(?:ivat\\|ocedur\\)e\\)\\)\\|r\\(?:a\\(?:\\(?:is\\|ng\\)e\\)\\|e\\(?:cord\\|m\\|names\\|turn\\|verse\\)\\)\\|s\\(?:e\\(?:lect\\|parate\\)\\|ubtype\\)\\|t\\(?:ask\\|erminate\\|hen\\|ype\\)\\|use\\|w\\(?:h\\(?:en\\|ile\\)\\|ith\\)\\|xor\\)\\>" (#$ . 13406)) #@45 Regular expression matching Ada95 keywords. (defconst ada-95-keywords "\\<\\(a\\(?:b\\(?:ort\\|s\\(?:tract\\)?\\)\\|cce\\(?:pt\\|ss\\)\\|l\\(?:iased\\|l\\)\\|nd\\|rray\\|t\\)\\|b\\(?:egin\\|ody\\)\\|c\\(?:ase\\|onstant\\)\\|d\\(?:e\\(?:clare\\|l\\(?:ay\\|ta\\)\\)\\|igits\\|o\\)\\|e\\(?:ls\\(?:e\\|if\\)\\|n\\(?:d\\|try\\)\\|x\\(?:ception\\|it\\)\\)\\|f\\(?:or\\|unction\\)\\|g\\(?:eneric\\|oto\\)\\|i[fns]\\|l\\(?:imited\\|oop\\)\\|mod\\|n\\(?:ew\\|ot\\|ull\\)\\|o\\(?:thers\\|ut\\|[fr]\\)\\|p\\(?:ackage\\|r\\(?:agma\\|ivate\\|o\\(?:cedure\\|tected\\)\\)\\)\\|r\\(?:a\\(?:\\(?:is\\|ng\\)e\\)\\|e\\(?:cord\\|m\\|names\\|queue\\|turn\\|verse\\)\\)\\|s\\(?:e\\(?:lect\\|parate\\)\\|ubtype\\)\\|t\\(?:a\\(?:gged\\|sk\\)\\|erminate\\|hen\\|ype\\)\\|u\\(?:ntil\\|se\\)\\|w\\(?:h\\(?:en\\|ile\\)\\|ith\\)\\|xor\\)\\>" (#$ . 14161)) #@47 Regular expression matching Ada2005 keywords. (defconst ada-2005-keywords "\\<\\(a\\(?:b\\(?:ort\\|s\\(?:tract\\)?\\)\\|cce\\(?:pt\\|ss\\)\\|l\\(?:iased\\|l\\)\\|nd\\|rray\\|t\\)\\|b\\(?:egin\\|ody\\)\\|c\\(?:ase\\|onstant\\)\\|d\\(?:e\\(?:clare\\|l\\(?:ay\\|ta\\)\\)\\|igits\\|o\\)\\|e\\(?:ls\\(?:e\\|if\\)\\|n\\(?:d\\|try\\)\\|x\\(?:ception\\|it\\)\\)\\|f\\(?:or\\|unction\\)\\|g\\(?:eneric\\|oto\\)\\|i\\(?:nterface\\|[fns]\\)\\|l\\(?:imited\\|oop\\)\\|mod\\|n\\(?:ew\\|ot\\|ull\\)\\|o\\(?:thers\\|ut\\|verriding\\|[fr]\\)\\|p\\(?:ackage\\|r\\(?:agma\\|ivate\\|o\\(?:cedure\\|tected\\)\\)\\)\\|r\\(?:a\\(?:\\(?:is\\|ng\\)e\\)\\|e\\(?:cord\\|m\\|names\\|queue\\|turn\\|verse\\)\\)\\|s\\(?:e\\(?:lect\\|parate\\)\\|ubtype\\|ynchronized\\)\\|t\\(?:a\\(?:gged\\|sk\\)\\|erminate\\|hen\\|ype\\)\\|u\\(?:ntil\\|se\\)\\|w\\(?:h\\(?:en\\|ile\\)\\|ith\\)\\|xor\\)\\>" (#$ . 14994)) #@43 Regular expression matching Ada keywords. (defvar ada-keywords ada-2005-keywords (#$ . 15876)) #@36 Regexp matching an Ada identifier. (defconst ada-ident-re "[[:alpha:]]\\(?:[_[:alnum:]]\\)*" (#$ . 15977)) #@31 Regexp matching a goto label. (defconst ada-goto-label-re (concat "<<" ada-ident-re ">>") (#$ . 16090)) #@84 Regexp matching a block label. Note that this also matches a variable declaration. (defconst ada-block-label-re (concat ada-ident-re "[ \n]*:[^=]") (#$ . 16200)) #@40 Regexp matching a goto or block label. (defconst ada-label-re (concat "\\(?:" ada-block-label-re "\\)\\|\\(?:" ada-goto-label-re "\\)") (#$ . 16369)) #@117 Regexp matching Ada subprogram start. The actual start is at (match-beginning 4). The name is in (match-string 5). (defvar ada-procedure-start-regexp "^[ ]*\\(with[ ]+\\)?\\(\\(not[ ]+\\)?overriding[ ]+\\)?\\(procedure\\|function\\|task\\)[ \n]+\\(\\(\"[^\"]+\"\\)\\|\\(\\(\\sw\\|[_.]\\)+\\)\\)" (#$ . 16526)) #@63 Regexp matching a fully qualified name (including attribute). (defconst ada-name-regexp "\\([a-zA-Z][a-zA-Z0-9_.']*[a-zA-Z0-9]\\)" (#$ . 16848)) #@76 Regexp matching start of package. The package name is in (match-string 4). (defconst ada-package-start-regexp (concat "^[ ]*\\(private[ ]+\\)?\\(package\\)[ \n]+\\(body[ ]*\\)?" ada-name-regexp) (#$ . 16999)) #@43 Regexp matching filename:linenr[:column]. (defconst ada-compile-goto-error-file-linenr-re "\\([-_.a-zA-Z0-9]+\\):\\([0-9]+\\)\\(:\\([0-9]+\\)\\)?" (#$ . 17218)) #@42 Regexp for keywords starting Ada blocks. (defvar ada-block-start-re "\\<\\(\\(?:begin\\|declare\\|e\\(?:lse\\|xception\\)\\|generic\\|loop\\|or\\|private\\|select\\)\\|\\(\\(limited\\|abstract\\|tagged\\)[ \n]+\\)*record\\)\\>" (#$ . 17385)) #@89 Regexp of possible ends for a non-broken statement. A new statement starts after these. (defvar ada-end-stmt-re "\\(;\\|=>[ ]*$\\|=>[ ]*--.*$\\|^[ ]*separate[ ]*(\\(\\sw\\|[_.]\\)+)\\|\\<\\(begin\\|d\\(?:eclare\\|o\\)\\|else\\|generic\\|is\\|loop\\|private\\|record\\|select\\|then\\(?: abort\\)?\\)\\>\\|^[ ]*\\(function\\|p\\(?:\\(?:ackag\\|rocedur\\)e\\)\\)\\>\\(\\sw\\|[ _.]\\)+\\<is\\>\\|^[ ]*exception\\>\\)" (#$ . 17634)) #@43 Regexp used in `ada-goto-matching-start'. (defvar ada-matching-start-re "\\<\\(begin\\|case\\|d\\(?:eclare\\|o\\)\\|end\\|function\\|if\\|loop\\|p\\(?:ackage\\|ro\\(?:cedure\\|tected\\)\\)\\|record\\|select\\|task\\)\\>" (#$ . 18076)) #@33 Regexp for the start of a loop. (defvar ada-loop-start-re "\\<\\(for\\|while\\|loop\\)\\>" (#$ . 18317)) #@39 Regexp for the start of a subprogram. (defvar ada-subprog-start-re "\\<\\(accept\\|entry\\|function\\|overriding\\|p\\(?:ackage\\|ro\\(?:cedure\\|tected\\)\\)\\|task\\)\\>" (#$ . 18428)) #@71 Set to true when the right mouse button was clicked on an identifier. (defvar ada-contextual-menu-on-identifier nil (#$ . 18621)) #@464 Position of point just before displaying the menu. This is a list (point buffer). Since `ada-popup-menu' moves the point where the user clicked, the region is modified. Therefore no command from the menu knows what the user selected before displaying the contextual menu. To get the original region, restore the point to this position before calling `region-end' and `region-beginning'. Modify this variable if you want to restore the point to another position. (defvar ada-contextual-menu-last-point nil (#$ . 18758)) #@183 Menu to use when the user presses the right mouse button. The variable `ada-contextual-menu-on-identifier' will be set to t before displaying the menu if point was on an identifier. (defvar ada-contextual-menu nil (#$ . 19285)) (easy-menu-do-define 'ada-contextual-menu nil "Menu to use when the user presses the right mouse button.\nThe variable `ada-contextual-menu-on-identifier' will be set to t before\ndisplaying the menu if point was on an identifier." '("Ada" ["Goto Declaration/Body" ada-point-and-xref :included ada-contextual-menu-on-identifier] ["Goto Body" ada-point-and-xref-body :included ada-contextual-menu-on-identifier] ["Goto Previous Reference" ada-xref-goto-previous-reference] ["List References" ada-find-references :included ada-contextual-menu-on-identifier] ["List Local References" ada-find-local-references :included ada-contextual-menu-on-identifier] ["-" nil nil] ["Other File" ff-find-other-file] ["Goto Parent Unit" ada-goto-parent])) (defconst ada-imenu-comment-re "\\([ ]*--.*\\)?") (defconst ada-imenu-subprogram-menu-re (concat "^[ ]*\\(overriding[ ]*\\)?\\(procedure\\|function\\)[ \n]+" "\\(\\(\\sw\\|_\\)+\\)[ \n]*\\([ \n]\\|([^)]+)" ada-imenu-comment-re "\\)[ \n]*" "\\(return[ \n]+\\(\\sw\\|[_.]\\)+[ \n]*\\)?is[ \n]")) #@174 Imenu generic expression for Ada mode. See `imenu-generic-expression'. This variable will create several submenus for each type of entity that can be found in an Ada file. (defvar ada-imenu-generic-expression (byte-code "\302\303E\304\305\306\211 \307 \310\311\312\260 \313E\314\315\316\317\257\207" [ada-imenu-subprogram-menu-re ada-imenu-comment-re nil 3 "*Specs*" "^[ ]*\\(procedure\\|function\\)[ \n]+\\(\\(\\sw\\|_\\)+\\)" "\\(" "[ \n]+\\|[ \n]*([^)]+)" "\\)" "\\([ \n]*return[ \n]+\\(\\sw\\|[_.]\\)+[ \n]*\\)?" "\\)?;" 2 ("*Tasks*" "^[ ]*task[ ]+\\(type[ ]+\\)?\\(\\(body[ ]+\\)?\\(\\sw\\|_\\)+\\)" 2) ("*Type Defs*" "^[ ]*\\(sub\\)?type[ ]+\\(\\(\\sw\\|_\\)+\\)" 2) ("*Protected*" "^[ ]*protected[ ]+\\(type[ ]+\\)?\\(\\(body[ ]+\\)?\\(\\sw\\|_\\)+\\)" 2) ("*Packages*" "^[ ]*package[ ]+\\(\\(body[ ]+\\)?\\(\\sw\\|[_.]\\)+\\)" 1)] 11) (#$ . 20563)) #@47 Mouse interface for `ada-compile-goto-error'. (defalias 'ada-compile-mouse-goto-error #[nil "\301!\210\302`!\207" [last-input-event mouse-set-point ada-compile-goto-error] 2 (#$ . 21449) nil]) #@393 Replace `compile-goto-error' from compile.el. If POS is on a file and line location, go to this position. It adds to compile.el the capacity to go to a reference in an error message. For instance, on these lines: foo.adb:61:11: [...] in call to size declared at foo.ads:11 foo.adb:61:11: [...] in call to local declared at line 20 the 4 file locations can be clicked on and jumped to. (defalias 'ada-compile-goto-error #[(pos) "b\210\306\307x\210n\204\202 \310 !\204- \212\311 \210\310 !)\203\202 \212\310\312!\203&