?
Current Path : /usr/share/emacs/24.3/lisp/cedet/ |
Linux gator3171.hostgator.com 4.19.286-203.ELK.el7.x86_64 #1 SMP Wed Jun 14 04:33:55 CDT 2023 x86_64 |
Current File : //usr/share/emacs/24.3/lisp/cedet/ede.elc |
;ELC ;;; Compiled by mockbuild@buildfarm06-new.corp.cloudlinux.com on Fri Oct 11 10:11:02 2024 ;;; from file /builddir/build/BUILD/emacs-24.3/lisp/cedet/ede.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\300\305!\210\300\306!\210\307\310\311\312#\207" [require cedet eieio eieio-speedbar ede/source ede/base ede/auto load "ede/loaddefs" nil nomessage] 4) #@35 Current version of the Emacs EDE. (defconst ede-version "1.2" (#$ . 768)) #@45 Display the current running version of EDE. (defalias 'ede-version #[nil "\301\302\"\207" [ede-version message "EDE %s"] 3 (#$ . 848) nil]) (byte-code "\300\301\302\303\304\305\304\306&\210\307\310\311\312\304\301\313\314&\210\307\315\316\317\304\301\313\320&\210\307\321\302\322\304\301\313\323\324\325\326\327&\207" [custom-declare-group ede nil "Emacs Development Environment." :group tools extensions custom-declare-variable ede-auto-add-method 'ask "Whether a new source file should be automatically added to a target.\nWhenever a new file is encountered in a directory controlled by a\nproject file, all targets are queried to see if it should be added.\nIf the value is 'always, then the new file is added to the first\ntarget encountered. If the value is 'multi-ask, then if more than one\ntarget wants the file, the user is asked. If only one target wants\nthe file, then it is automatically added to that target. If the\nvalue is 'ask, then the user is always asked, unless there is no\ntarget willing to take the file. 'never means never perform the check." :type (choice (const always) (const multi-ask) (const ask) (const never)) ede-debug-program-function 'gdb "Default Emacs command used to debug a target." sexp ede-project-directories "Directories in which EDE may search for project files.\nIf the value is t, EDE may search in any directory.\n\nIf the value is a function, EDE calls that function with one\nargument, the directory name; the function should return t iff\nEDE should look for project files in the directory.\n\nOtherwise, the value should be a list of fully-expanded directory\nnames. EDE searches for project files only in those directories.\nIf you invoke the commands \\[ede] or \\[ede-new] on a directory\nthat is not listed, Emacs will offer to add it to the list.\n\nAny other value disables searching for EDE project files." (choice (const :tag "Any directory" t) (repeat :tag "List of directories" (directory)) (function :tag "Predicate")) :version "23.4" :risky t] 12) #@300 Return non-nil if DIR is a safe directory to load projects from. Projects that do not load a project definition as Emacs Lisp code are safe, and can be loaded automatically. Other project types, such as those created with Project.ede files, are safe only if specified by `ede-project-directories'. (defalias 'ede-directory-safe-p #[(dir) "\302\303!! \304=\206 \305 !\203 !\206 <\205 \235\207" [dir ede-project-directories directory-file-name expand-file-name t functionp] 3 (#$ . 2877)]) #@58 A list of all active projects currently loaded in Emacs. (defvar ede-projects nil (#$ . 3383)) #@140 The current buffer's current root project. If a file is under a project, this specifies the project that is at the root of a project tree. (defvar ede-object-root-project nil (#$ . 3485)) (make-variable-buffer-local 'ede-object-root-project) #@144 The current buffer's current project at that level. If a file is under a project, this specifies the project that contains the current target. (defvar ede-object-project nil (#$ . 3734)) (make-variable-buffer-local 'ede-object-project) #@108 The current buffer's target object. This object's class determines how to compile and debug from a buffer. (defvar ede-object nil (#$ . 3977)) (make-variable-buffer-local 'ede-object) #@115 The currently user-selected project or target. If `ede-object' is nil, then commands will operate on this object. (defvar ede-selected-object nil (#$ . 4168)) #@152 Non nil when constructing a project hierarchy. If the project is being constructed from an autoload, then the value is the autoload object being used. (defvar ede-constructing nil (#$ . 4334)) #@132 Non nil means scan down a tree, otherwise rescans are top level only. Do not set this to non-nil globally. It is used internally. (defvar ede-deep-rescan nil (#$ . 4534)) #@63 Using PROMPT, choose a single object from the current buffer. (defalias 'ede-singular-object #[(prompt) "<\203\n \302 \"\207\207" [ede-object prompt ede-choose-object] 3 (#$ . 4712)]) #@130 Using PROMPT, ask the user which OBJECT to use based on the name field. Argument LIST-O-O is the list of objects to choose from. (defalias 'ede-choose-object #[(prompt list-o-o) "\304\305\"\306\n \307\310$\311 \"\211A*\207" [list-o-o al prompt ans object-assoc-list name completing-read nil t assoc] 6 (#$ . 4906)]) #@36 Keymap used in project minor mode. (defvar ede-minor-mode-map (byte-code "\302 \302 \303\304\305#\210\303\306\307#\210\303\310\311#\210\303\312\313#\210\303\314\315#\210\303\316\317#\210\303\320\321#\210\303\322\323#\210\303\324\325#\210\303\326\327#\210\303\330\331#\210\303\332\333#\210\303 \334#\210 *\207" [pmap map make-sparse-keymap define-key "e" ede-edit-file-target "a" ede-add-file "d" ede-remove-file "t" ede-new-target "g" ede-rescan-toplevel "s" ede-speedbar "f" ede-find-file "C" ede-compile-project "c" ede-compile-target "" ede-compile-selected "D" ede-debug-target "R" ede-run-target "."] 4) (#$ . 5233)) #@35 Keymap used in `global-ede-mode'. (defvar global-ede-mode-map (byte-code "\302 \303\304\305 B#\210)\207" [map cedet-menu-map make-sparse-keymap define-key [menu-bar cedet-menu] "Development"] 5) (#$ . 5878)) (byte-code "\301\302\303#\210\301\304\305#\210\301\306\307#\210\301\310\311#\210\301\312\313#\210\301\314\315#\210\301\316\317#\207" [cedet-menu-map define-key [ede-find-file] (menu-item "Find File in Project..." ede-find-file :enable ede-object :visible global-ede-mode) [ede-speedbar] (menu-item "View Project Tree" ede-speedbar :enable ede-object :visible global-ede-mode) [ede] (menu-item "Load Project" ede :visible global-ede-mode) [ede-new] (menu-item "Create Project" ede-new :enable (not ede-object) :visible global-ede-mode) [ede-target-options] (menu-item "Target Options" ede-target-options :filter ede-target-forms-menu :visible global-ede-mode) [ede-project-options] (menu-item "Project Options" ede-project-options :filter ede-project-forms-menu :visible global-ede-mode) [ede-build-forms-menu] (menu-item "Build Project" ede-build-forms-menu :filter ede-build-forms-menu :enable ede-object :visible global-ede-mode)] 4) #@63 Return non-nil if this buffer belongs to at least one target. (defalias 'ede-buffer-belongs-to-target-p #[nil "\211:\203\n @ \205 \303 \n\")\207" [ede-object obj ede-target obj-of-class-p] 4 (#$ . 7038)]) #@64 Return non-nil if this buffer belongs to at least one project. (defalias 'ede-buffer-belongs-to-project-p #[nil "?\206 :?\205 \303 \n\"\207" [ede-object ede-object-project ede-project obj-of-class-p] 3 (#$ . 7254)]) #@68 Return non-nil if some member of `ede-object' is a child of CLASS. (defalias 'ede-menu-obj-of-class-p #[(class) "<\203 \302\303\304\305\"B!\207\306 \"\207" [ede-object class eval or mapcar #[(o) "\302 \"\207" [o class obj-of-class-p] 3] obj-of-class-p] 5 (#$ . 7480)]) #@115 Create a sub menu for building different parts of an EDE system. Argument MENU-DEF is the menu definition to use. (defalias 'ede-build-forms-menu #[(menu-def) "\306\307\310\311 \312\211\211\211\211\211\205\213 \313 \303\"\205 \314 \303\"<\203+ \202. C\315\f\316 \317\"\" \203Y \320!\203Y \203Y \315\f\316 @\317\"\" @ A\211\204F \203\206 @=\204 \316@\312\"\315\f\nG\321U\203w \n\202} \322@!\nB\"A\211\204] \315\f\323C\".\"!\207" [tskip ede-obj targitems targets newmenu obj easy-menu-filter-return easy-menu-create-menu "Build Forms" ede-current-project nil slot-boundp eieio-oref append ede-menu-items-build t ede-menu-obj-of-class-p 1 ede-name ["Make distribution" ede-make-dist t] ede-object ede-target] 10 (#$ . 7761)]) #@72 Create a target MENU-DEF based on the object belonging to this buffer. (defalias 'ede-target-forms-menu #[(menu-def) "\303\304\305\206 \306\307\n\205, \n<\204\"