Current File : //proc/self/root/kunden/usr/share/emacs/27.2/lisp/cedet/semantic/dep.elc |
;ELC
;;; Compiled
;;; in Emacs version 27.2
;;; 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.
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
(require 'semantic/tag)
#@620 Defines the include path used when searching for files.
This should be a list of directories to search which is specific
to the file being included.
If `semantic-dependency-tag-file' is overridden for a given
language, this path is most likely ignored.
The above function, regardless of being overridden, caches the
located dependency file location in the tag property
`dependency-file'. If you override this function, you do not
need to implement your own cache. Each time the buffer is fully
reparsed, the cache will be reset.
TODO: use ffap.el to locate such items?
NOTE: Obsolete this, or use as special user
(defvar semantic-dependency-include-path nil (#$ . 433))
(make-variable-buffer-local 'semantic-dependency-include-path)
#@509 Defines the system include path.
This should be set with either `defvar-mode-local', or with
`semantic-add-system-include'.
For mode authors, use
`defcustom-mode-local-semantic-dependency-system-include-path'
to create a mode-specific variable to control this.
When searching for a file associated with a name found in a tag of
class include, this path will be inspected for includes of type
`system'. Some include tags are agnostic to this setting and will
check both the project and system directories.
(defvar semantic-dependency-system-include-path nil (#$ . 1179))
(make-variable-buffer-local 'semantic-dependency-system-include-path)
#@418 Create a mode-local value of the system-dependency include path.
MODE is the `major-mode' this name/value pairs is for.
NAME is the name of the customizable value users will use.
VALUE is the path (a list of strings) to add.
DOCSTRING is a documentation string applied to the variable NAME
users will customize.
Creates a customizable variable users can customize that will
keep semantic data structures up to date.
(defalias 'defcustom-mode-local-semantic-dependency-system-include-path '(macro . #[(mode name value &optional docstring) "\304\305 \n\306\307\310\311\312!\313\"@!D\306\314\315\316\317\320\321\322\323\324BB\325\326\327\330\307DEE\257\257\f\331\332\333BBBB\334\335\307D\307DFF\207" [name value docstring mode progn defcustom :group quote intern split-string symbol-name "-" 'semantic :type '(repeat (directory :tag "Directory")) :set lambda (sym val) (set-default sym val) setq-mode-local (semantic-dependency-system-include-path val) when (fboundp 'semantic-decoration-unparsed-include-do-reset) mode-local-map-mode-buffers 'semantic-decoration-unparsed-include-do-reset defvar-mode-local semantic-dependency-system-include-path ("System path to search for include files.") put 'semantic-dependency-system-include-path] 22 (#$ . 1829)]))
#@171 Add a system include DIR to path for MODE.
Modifies a mode-local version of `semantic-dependency-system-include-path'.
Changes made by this function are not persistent.
(defalias 'semantic-add-system-include #[(dir &optional mode) "\204 \306\n!\307\204 \310\311!\210\211\312\313!\314\2044 \211\262\2044 \262\f\2052 \315\f\"\262\203_ \211\204_ \304N\203N \315\304N\"\211\262\2044 \211\316N\206X \211\317N\262\262\2024 \266\203\211\262\205s \211\203q N\205s J\266\205\211
\235\204\205 \320
C\"\321\322\323BB!*\207" [mode major-mode dir mode-local-active-mode mode-local-symbol-table value file-name-as-directory semantic-dependency-system-include-path error "Missing major mode symbol" mode-variable-flag symbol-name nil intern-soft mode-local-parent derived-mode-parent append eval setq-mode-local (semantic-dependency-system-include-path value) dirtmp] 15 (#$ . 3100) "DNew Include Directory: "])
#@170 Add a system include DIR to path for MODE.
Modifies a mode-local version of`semantic-dependency-system-include-path'.
Changes made by this function are not persistent.
(defalias 'semantic-remove-system-include #[(dir &optional mode) "\204 \306\n!\307\204 \310\311!\210\211\312\313!\314\2044 \211\262\2044 \262\f\2052 \315\f\"\262\203_ \211\204_ \304N\203N \315\304N\"\211\262\2044 \211\316N\206X \211\317N\262\262\2024 \266\203\211\262\205s \211\203q N\205s J\266\205\320
\"\321\322\323BB!*\207" [mode major-mode dir mode-local-active-mode mode-local-symbol-table value file-name-as-directory semantic-dependency-system-include-path error "Missing major mode symbol" mode-variable-flag symbol-name nil intern-soft mode-local-parent derived-mode-parent delete eval setq-mode-local (semantic-dependency-system-include-path value) dirtmp] 14 (#$ . 4042) (list (completing-read "Include Directory to Remove: " semantic-dependency-system-include-path))])
#@126 Reset the system include list to empty for MODE.
Modifies a mode-local version of
`semantic-dependency-system-include-path'.
(defalias 'semantic-reset-system-include #[(&optional mode) "\204 \302\303\304BB!\207" [mode major-mode eval setq-mode-local (semantic-dependency-system-include-path nil)] 4 (#$ . 5037) nil])
#@185 Customize the include path for this `major-mode'.
To create a customizable include path for a major MODE, use the
macro `defcustom-mode-local-semantic-dependency-system-include-path'.
(defalias 'semantic-customize-system-include-path #[(&optional mode) "\303\206 N\211\204 \304\305\206 \"\210\306\n!)\207" [mode major-mode ips semantic-dependency-system-include-path error "There is no customizable includepath variable for %s" customize-variable] 4 (#$ . 5366) nil])
(defalias 'semantic--dependency-find-file-on-path '(macro . #[(file path) "\302\303!\203 \303 E\207\304\305 D\306B\307\310\304\311\312\313BBDC\314BB\315BBB\316BBB\207" [file path fboundp locate-file let p ((found nil)) while (and p (not found)) f expand-file-name ((car p)) ((if (file-exists-p f) (setq found f))) ((setq p (cdr p))) (found)] 9]))
#@223 Return an expanded file name for FILE on available paths.
If SYSTEMP is true, then only search system paths.
If optional argument MODE is non-nil, then derive paths from the
provided mode, not from the current major mode.
(defalias 'semantic-dependency-find-file-on-path #[(file systemp &optional mode) "\204 \306\204 \307\310!\210\211\311\312!\313\2041 \n\211\262\2041 \262\205/ \314\"\262\203\\ \211\204\\ \303N\203K \314\303N\"\211\262\2041 \211\315N\206U \211\316N\262\262\2021 \266\203\211\262\205p \211\203n N\205p J\266\205\317\320!\205\215 \f\205\215
\205\215 \321
<\203\213
@\202\214
!\322\204\227 \307\310!\210\211\311\312!\313\204\270 \n\211\262\204\270 \262\205\266 \314\"\262\203\343 \211\204\343 \303N\203\322 \314\303N\"\211\262\204\270 \211\315N\206\334 \211\316N\262\262\202\270 \266\203\211\262\205\367 \211\203\365 N\205\367 J\266\205\313\323!\203
\204\204\324\"\2041\2031\324\"\204>\324\"\205G\325!,\207" [mode major-mode mode-local-active-mode mode-local-symbol-table ede-minor-mode ede-object semantic-dependency-system-include-path error "Missing major mode symbol" mode-variable-flag symbol-name nil intern-soft mode-local-parent derived-mode-parent featurep ede ede-system-include-path semantic-dependency-include-path file-exists-p locate-file expand-file-name found locp edesys sysp file systemp] 15 (#$ . 6199)])
(provide 'semantic/dep)