| Server IP : 217.160.0.212 / Your IP : 216.73.216.141 Web Server : Apache System : Linux www 6.18.51-i1-ampere #1196 SMP Fri Sep 11 20:43:55 CEST 2026 aarch64 User : sws1073854427 ( 1073854427) PHP Version : 8.4.23 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /usr/share/emacs/28.2/lisp/cedet/semantic/ |
Upload File : |
;ELC
;;; Compiled
;;; in Emacs version 28.2
;;; with all optimizations.
(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 (#$ . 109))
(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 (#$ . 855))
(make-variable-buffer-local 'semantic-dependency-system-include-path)
#@460 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.
(fn MODE NAME VALUE &optional DOCSTRING)
(defalias 'defcustom-mode-local-semantic-dependency-system-include-path '(macro . #[1027 "\300\301\302\303\304\305\306
!\307\"@!D\302\310\311\312\313\314\315\316\317\320BB\321\322\323\324\303DEE\257\257\f\325\326\327BBBB\330\331\303 D\303 DFF\207" [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] 26 (#$ . 1504)]))
#@196 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.
(fn DIR &optional MODE)
(defalias 'semantic-add-system-include #[513 "\211\204 \262\303!\304\204 \305\306!\210\211\307\310!\311\2045 \211\262\2045 \262\n\2053 \312\n\"\262\203` \211\204` \302N\203O \312\302N\"\211\262\2045 \211\313N\206Y \211\314N\262\262\2025 \266\203\211\262\205t \211\203r N\205t J\266\205\315\316\304\317\235\203\207 \202\216 \320C\"DF\321\"\207" [major-mode mode-local-active-mode mode-local-symbol-table 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 eval setq-mode-local quote append t] 16 (#$ . 2764) "DNew Include Directory: "])
#@196 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.
(fn DIR &optional MODE)
(defalias 'semantic-remove-system-include #[513 "\211\204 \262\303!\304\204 \305\306!\210\211\307\310!\311\2045 \211\262\2045 \262\n\2053 \312\n\"\262\203` \211\204` \302N\203O \312\302N\"\211\262\2045 \211\313N\206Y \211\314N\262\262\2025 \266\203\211\262\205t \211\203r N\205t J\266\205\315\"\262\316\317\304\320DF\321\"\207" [major-mode mode-local-active-mode mode-local-symbol-table 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 remove eval setq-mode-local quote t] 16 (#$ . 3672) (byte-code "\301\302\"C\207" [semantic-dependency-system-include-path completing-read "Include Directory to Remove: "] 3)])
#@147 Reset the system include list to empty for MODE.
Modifies a mode-local version of
`semantic-dependency-system-include-path'.
(fn &optional MODE)
(defalias 'semantic-reset-system-include #[256 "\301\302\206 \303BB\304\"\207" [major-mode eval setq-mode-local (semantic-dependency-system-include-path nil) t] 5 (#$ . 4655) nil])
#@206 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'.
(fn &optional MODE)
(defalias 'semantic-customize-system-include-path #[256 "\301\206 N\211\204 \302\303\206 \"\210\304!\207" [major-mode semantic-dependency-system-include-path error "There is no customizable includepath variable for %s" customize-variable] 5 (#$ . 4992) nil])
#@18
(fn FILE PATH)
(defalias 'semantic--dependency-find-file-on-path '(macro . #[514 "\300E\207" [locate-file] 5 (#$ . 5470)]))
(make-obsolete 'semantic--dependency-find-file-on-path 'locate-file "28.1")
#@257 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.
(fn FILE SYSTEMP &optional MODE)
(defalias 'semantic-dependency-find-file-on-path #[770 "\211\204 \262\211\305\204 \306\307!\210\211\310\311!\312\2042 \211\262\2042 \262\n\2050 \313\n\"\262\203] \211\204] \302N\203L \313\302N\"\211\262\2042 \211\314N\206V \211\315N\262\262\2022 \266\203\211\262\205q \211\203o N\205q J\266\205\316\317!\205\216 \205\216 \f\205\216 \320\f<\203\214 \f@\202\215 \f!\321\204\230 \306\307!\210\211\310\311!\312\204\271 \211\262\204\271 \262\n\205\267 \313\n\"\262\203\344 \211\204\344 \302N\203\323 \313\302N\"\211\262\204\271 \211\314N\206\335 \211\315N\262\262\202\271 \266\203\211\262\205\370 \211\203\366 N\205\370 J\266\205\312\322!\203\262\211\204\204\323\"\262\211\204$\203$\323\"\262\211\204/\323\"\262\211\2056\324!\207" [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] 18 (#$ . 5681)])
(provide 'semantic/dep)