%PDF- %PDF-
Direktori : /usr/local/share/emacs/27.2/lisp/cedet/semantic/ |
Current File : //usr/local/share/emacs/27.2/lisp/cedet/semantic/edit.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) #@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 (#$ . 429)) (byte-code "\302\303\304\305#\210\306\305\211\203, @\303N\203% \304N\204% \307\304\303N#\210 A\211\204 *\310\303\304\311#\207" [prop --dolist-tail-- defvaralias semantic-change-hooks semantic-change-functions nil (saved-value saved-variable-comment) put make-obsolete-variable "24.3"] 6) #@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) (#$ . 1194)) #@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 (#$ . 1460)) #@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 (#$ . 1722)) (byte-code "\302\303\304\305#\210\306\305\211\203, @\303N\203% \304N\204% \307\304\303N#\210 A\211\204 *\310\303\304\311#\207" [prop --dolist-tail-- defvaralias semantic-edits-new-change-hooks semantic-edits-new-change-functions nil (saved-value saved-variable-comment) put make-obsolete-variable "24.3"] 6) #@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 (#$ . 2377)) (byte-code "\302\303\304\305#\210\306\305\211\203, @\303N\203% \304N\204% \307\304\303N#\210 A\211\204 *\310\303\304\311#\207" [prop --dolist-tail-- defvaralias semantic-edits-delete-change-hooks semantic-edits-delete-change-functions nil (saved-value saved-variable-comment) put make-obsolete-variable "24.3"] 6) #@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 (#$ . 2888)) #@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 (#$ . 3141)) (byte-code "\302\303\304\305#\210\306\305\211\203, @\303N\203% \304N\204% \307\304\303N#\210 A\211\204 *\310\303\304\311#\207" [prop --dolist-tail-- defvaralias semantic-edits-reparse-change-hooks semantic-edits-reparse-change-functions nil (saved-value saved-variable-comment) put make-obsolete-variable "24.3"] 6) #@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 (#$ . 3738)) #@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 (#$ . 3952)) (byte-code "\300\301\302\303#\210\304\305\306\307\310\311\312\313&\207" [semantic-varalias-obsolete semantic-edits-incremental-reparse-failed-hooks semantic-edits-incremental-reparse-failed-hook "23.2" custom-declare-variable semantic-edits-verbose-flag nil "Non-nil means the incremental parser is verbose.\nIf nil, errors are still displayed, but informative messages are not." :group semantic :type boolean] 8) #@116 Provide a mechanism for semantic tag management. Argument START, END, and LENGTH specify the bounds of the change. (defalias 'semantic-change-function #[(start end length) "\306\211\307 \310\216\311\312\f $+\207" [semantic-unmatched-syntax-cache-check inhibit-point-motion-hooks save-match-data-internal start end length t match-data #[nil "\301\302\"\207" [save-match-data-internal set-match-data evaporate] 3] run-hook-with-args semantic-change-functions] 6 (#$ . 4558)]) #@142 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. (defalias 'semantic-changes-in-region #[(start end &optional buffer) "\212\203 q\210\305 e]\nd^\"\306\211\203+ \307\f@\310\"\203$ \f@B\fA\211\204 \311\312\"+\207" [buffer start end ret ol overlays-in nil overlay-get semantic-change sort #[(a b) "\302!\302 !W\207" [a b overlay-start] 3]] 5 (#$ . 5044)]) #@172 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. (defalias 'semantic-edits-change-function-handle-changes #[(start end length) "\306S T\"\307\n\204* \310 \"\311\f\312\313#\210\3141$ \315\316\f\"0\202&