| 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)
#@396 Normal hook run after the buffer cache has been updated.
This hook will run when the cache has been partially reparsed.
Partial reparses are incurred when a user edits a buffer, and only the
modified sections are rescanned.
Hook functions must take one argument, which is the list of tags
updated in the current buffer.
For language specific hooks, make sure you define this as a local hook.
(defvar semantic-after-partial-cache-change-hook nil (#$ . 105))
(byte-code "\300\301\302\303#\210\304\211\203( \211@\301N\203! \302N\204! \305\302\301N#\210A\266\202\202 \210\306\301\302\307#\207" [defvaralias semantic-change-hooks semantic-change-functions nil (saved-value saved-variable-comment) put make-obsolete-variable "24.3"] 7)
#@164 Abnormal hook run when semantic detects a change in a buffer.
Each hook function must take three arguments, identical to the
common hook `after-change-functions'.
(defvar semantic-change-functions '(semantic-edits-change-function-handle-changes) (#$ . 851))
#@195 Hooks run when a user edit is detected as needing a reparse.
For language specific hooks, make sure you define this as a local hook.
Not used yet; part of the next generation reparse mechanism.
(defvar semantic-reparse-needed-change-hook nil (#$ . 1116))
#@267 Hooks run when a user edit is detected as not needing a reparse.
If the hook returns non-nil, then declare that a reparse is needed.
For language specific hooks, make sure you define this as a local hook.
Not used yet; part of the next generation reparse mechanism.
(defvar semantic-no-reparse-needed-change-hook nil (#$ . 1378))
(byte-code "\300\301\302\303#\210\304\211\203( \211@\301N\203! \302N\204! \305\302\301N#\210A\266\202\202 \210\306\301\302\307#\207" [defvaralias semantic-edits-new-change-hooks semantic-edits-new-change-functions nil (saved-value saved-variable-comment) put make-obsolete-variable "24.3"] 7)
#@120 Abnormal hook run when a new change is found.
Functions must take one argument representing an overlay on that change.
(defvar semantic-edits-new-change-functions nil (#$ . 2014))
(byte-code "\300\301\302\303#\210\304\211\203( \211@\301N\203! \302N\204! \305\302\301N#\210A\266\202\202 \210\306\301\302\307#\207" [defvaralias semantic-edits-delete-change-hooks semantic-edits-delete-change-functions nil (saved-value saved-variable-comment) put make-obsolete-variable "24.3"] 7)
#@183 Abnormal hook run before a change overlay is deleted.
Deleted changes occur when multiple changes are merged.
Functions must take one argument representing an overlay being deleted.
(defvar semantic-edits-delete-change-functions nil (#$ . 2506))
#@208 Abnormal hook run after a change overlay is moved.
Changes move when a new change overlaps an old change. The old change
will be moved.
Functions must take one argument representing an overlay being moved.
(defvar semantic-edits-move-change-hook nil (#$ . 2759))
(byte-code "\300\301\302\303#\210\304\211\203( \211@\301N\203! \302N\204! \305\302\301N#\210A\266\202\202 \210\306\301\302\307#\207" [defvaralias semantic-edits-reparse-change-hooks semantic-edits-reparse-change-functions nil (saved-value saved-variable-comment) put make-obsolete-variable "24.3"] 7)
#@143 Abnormal hook run after a change results in a reparse.
Functions are called before the overlay is deleted, and after the
incremental reparse.
(defvar semantic-edits-reparse-change-functions nil (#$ . 3337))
#@113 Hook run after the incremental parser fails.
When this happens, the buffer is marked as needing a full reparse.
(defvar semantic-edits-incremental-reparse-failed-hook nil (#$ . 3551))
(byte-code "\300\301\302\303\304DD\305\306\307\310\311&\207" [custom-declare-variable semantic-edits-verbose-flag funcall function #[0 "\300\207" [nil] 1 ""] "Non-nil means the incremental parser is verbose.\nIf nil, errors are still displayed, but informative messages are not." :group semantic :type boolean] 8)
#@139 Provide a mechanism for semantic tag management.
Argument START, END, and LENGTH specify the bounds of the change.
(fn START END LENGTH)
(defalias 'semantic-change-function #[771 "\302\211\303 \304\305\"\216\306\307$)\262)\207" [semantic-unmatched-syntax-cache-check inhibit-point-motion-hooks t match-data make-closure #[0 "\301\300\302\"\207" [V0 set-match-data evaporate] 3] run-hook-with-args semantic-change-functions] 10 (#$ . 4057)])
#@175 Find change overlays which exist in whole or in part between START and END.
Optional argument BUFFER is the buffer to search for changes in.
(fn START END &optional BUFFER)
(defalias 'semantic-changes-in-region #[770 "\212\211\203 \211q\210\300e]d^\"\301\203* \302@\303\"\203# @B\262A\262\202 \304\305\"\266\202)\207" [overlays-in nil overlay-get semantic-change sort #[514 "\300!\300!W\207" [overlay-start] 5 "\n\n(fn A B)"]] 8 (#$ . 4513)])
#@195 Run whenever a buffer controlled by `semantic-mode' change.
Tracks when and how the buffer is re-parsed.
Argument START, END, and LENGTH specify the bounds of the change.
(fn START END LENGTH)
(defalias 'semantic-edits-change-function-handle-changes #[771 "\301ST\"\302\211\204# \303\"\304\305\306#\210\3071 \310\311\"0\207\210\312\207\211\211\203M \313@!W\2037 \313@!\262\314@!V\203F \314@!\262\211A\262\202$ \315@#\210\3161d \310\317@\"0\210\202e \210A\262\205\210 \3201{ \310\321@\"0\210\202| \210\322@!\210A\262\202i \207" [semantic-parse-tree-state semantic-changes-in-region needs-update make-overlay overlay-put semantic-change t (error) run-hook-with-args semantic-edits-new-change-functions nil overlay-start overlay-end move-overlay (error) semantic-edits-move-change-hooks (error) semantic-edits-delete-change-functions delete-overlay] 9 (#$ . 4978)])
#@40 Flush the CHANGE overlay.
(fn CHANGE)
(defalias 'semantic-edits-flush-change #[257 "\3001
\301\302\"0\210\202 \210\303!\207" [(error) run-hook-with-args semantic-edits-delete-change-functions delete-overlay] 4 (#$ . 5878)])
(byte-code "\300\301\302\303#\304\301\305\306#\207" [function-put semantic-edits-flush-change speed -1 put byte-optimizer byte-compile-inline-expand] 5)
#@42 Flush the changes in the current buffer.
(defalias 'semantic-edits-flush-changes #[0 "\300ed\"\211\205$ \211@\3011 \302\303\"0\210\202 \210\304!\266\211A\262\202 \207" [semantic-changes-in-region (error) run-hook-with-args semantic-edits-delete-change-functions delete-overlay] 5 (#$ . 6266)])
#@208 Return non-nil if the overlay CHANGE exists solely in one leaf tag.
HITS is the list of tags that CHANGE is in. It can have more than
one tag in it if the leaf tag is within a parent tag.
(fn CHANGE HITS)
(defalias 'semantic-edits-change-in-one-tag-p #[514 "\211@\211\3008\262\301!\203 \302!\266\202\202 \211\303H\266\202\302!W\205O \211@\211\3008\262\301!\2038 \304!\266\202\202= \211\305H\266\202\304!V\205O \211A?\206O \306A\"\207" [4 overlayp overlay-start 0 overlay-end 1 semantic-edits-change-in-one-tag-p] 6 (#$ . 6574)])
#@78 For testing: Start of CHANGE, or smaller of (point) and (mark).
(fn CHANGE)
(defalias 'semantic-edits-os #[257 "\211\203 \300!\207`\301 W\203 `\207\301 \207" [overlay-start mark] 3 (#$ . 7125)])
(byte-code "\300\301\302\303#\304\301\305\306#\207" [function-put semantic-edits-os speed -1 put byte-optimizer byte-compile-inline-expand] 5)
#@75 For testing: End of CHANGE, or larger of (point) and (mark).
(fn CHANGE)
(defalias 'semantic-edits-oe #[257 "\211\203 \300!\207`\301 V\203 `\207\301 \207" [overlay-end mark] 3 (#$ . 7473)])
(byte-code "\300\301\302\303#\304\301\305\306#\207" [function-put semantic-edits-oe speed -1 put byte-optimizer byte-compile-inline-expand] 5)
#@257 A leaf tag which completely encompasses CHANGE.
If change overlaps a tag, but is not encompassed in it, return nil.
Use `semantic-edits-change-overlap-leaf-tag'.
If CHANGE is completely encompassed in a tag, but overlaps sub-tags,
return nil.
(fn CHANGE)
(defalias 'semantic-edits-change-leaf-tag #[257 "\211\211\203
\300!\262\202 `\301 W\203 `\262\202 \301 \262\211\203+ \302!\262\202<