MMCT TEAM
Server IP : 111.118.215.189  /  Your IP : 18.217.207.112
Web Server : Apache
System : Linux md-in-83.webhostbox.net 4.19.286-203.ELK.el7.x86_64 #1 SMP Wed Jun 14 04:33:55 CDT 2023 x86_64
User : a1673wkz ( 2475)
PHP Version : 8.2.25
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON
Directory (0755) :  /usr/share/emacs/24.3/lisp/cedet/srecode/

[  Home  ][  C0mmand  ][  Upload File  ]

Current File : //usr/share/emacs/24.3/lisp/cedet/srecode/mode.elc
;ELC
;;; Compiled by mockbuild@buildfarm06-new.corp.cloudlinux.com on Fri Oct 11 10:11:33 2024
;;; from file /builddir/build/BUILD/emacs-24.3/lisp/cedet/srecode/mode.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\300\307!\210\300\310!\210\300\307!\210\311\312\313\314\315\302\316\317&\207" [require mode-local srecode srecode/insert srecode/find srecode/map semantic/decorate semantic/wisent semantic/senator custom-declare-variable srecode-minor-mode-hook nil "Hook run at the end of the function `srecode-minor-mode'." :group :type hook] 8)
#@46 The common prefix key in srecode minor mode.
(defvar srecode-prefix-key [(control 99) 47] (#$ . 983))
#@66 Keymap used behind the srecode prefix key in srecode minor mode.
(defvar srecode-prefix-map (byte-code "\302 \303\304\305#\210\303\306\305#\210\303\307\310#\210\303\311\312#\210\313\211\314X\2033\303\315\316	\"\317#\210	T\211\202))\207" [km k make-sparse-keymap define-key "/" srecode-insert [insert] "." srecode-insert-again "E" srecode-edit 97 122 format "%c" srecode-bind-insert] 6) (#$ . 1091))
#@30 Menu for srecode minor mode.
(defvar srecode-menu-bar (byte-code "\300\301\302!\301\303!\301\304!\305\306\307\305\301\310!\311\301\312!\301\313!\301\314!\301\315!\257\257\n\207" ["SRecoder" semantic-menu-item ["Insert Template" srecode-insert :active t :help "Insert a template by name."] ["Insert Template Again" srecode-insert-again :active t :help "Run the same template as last time again."] ["Edit Template" srecode-edit :active t :help "Edit a template for this language by name."] "---" ("Insert ..." :filter srecode-minor-mode-templates-menu) ("Generate ..." :filter srecode-minor-mode-generate-menu) ["Customize..." (customize-group "srecode") :active t :help "Customize SRecode options"] "Debugging Tools..." ["Dump Template MAP" srecode-get-maps :active t :help "Calculate (if needed) and display the current template file map."] ["Dump Tables" srecode-dump-templates :active t :help "Dump the current template table."] ["Dump Dictionary" srecode-dictionary-dump :active t :help "Calculate and dump a dictionary for point."] ["Show Macro Help" srecode-macro-help :active t :help "Display the different types of macros available."]] 15) (#$ . 1508))
#@44 Menu keymap build from `srecode-menu-bar'.
(defvar srecode-minor-menu nil (#$ . 2675))
#@45 Use the insert key for inserting templates.
(custom-declare-variable 'srecode-takeover-INS-key nil '(#$ . 2768) :group 'srecode :type 'boolean)
#@32 Keymap for srecode minor mode.
(defvar srecode-mode-map (byte-code "\305 \306	\n#\210\307\310!\210\311\312\313$\210\f\203\306\314\n#\210)\207" [km srecode-prefix-key srecode-prefix-map srecode-menu-bar srecode-takeover-INS-key make-sparse-keymap define-key (lambda (#1=#:def-tmp-var) (defvar srecode-minor-menu #1# #2="Srecode Minor Mode Menu")) nil easy-menu-do-define srecode-minor-menu #2# [insert]] 5) (#$ . 2918))
#@105 Non-nil if Srecode minor mode is enabled.
Use the command `srecode-minor-mode' to change this variable.
(defvar srecode-minor-mode nil (#$ . 3352))
(make-variable-buffer-local 'srecode-minor-mode)
#@275 Toggle srecode minor mode.
With prefix argument ARG, turn on if positive, otherwise off.  The
minor mode can be turned on only if semantic feature is available and
the current buffer was set up for parsing.  Return non-nil if the
minor mode is enabled.

\{srecode-mode-map}
(defalias 'srecode-minor-mode #[(&optional arg) "\303 	\304=\203\n?\202\305	!\306V\211\2032\307\310\311\312\313 \"\"\204(\314\2028\315\316\317\314\320$\210\2028\321\316\317\320#\210\n\203@\322\323!\210\n\210\322\323\n\203L\324\202M\325\"\210\326\327!\203n\303 \203a\303 \232\203n\330\331\n\203k\332\202l\333\"\210)\334 \210\n\207" [#1=#:last-message arg srecode-minor-mode current-message toggle prefix-numeric-value 0 apply append mapcar #[(map) "\302	\"\207" [map major-mode srecode-map-entries-for-mode] 3] srecode-get-maps nil add-hook cedet-m3-menu-do-hooks srecode-m3-items t remove-hook run-hooks srecode-minor-mode-hook srecode-minor-mode-on-hook srecode-minor-mode-off-hook called-interactively-p any message "Srecode minor mode %sabled" "en" "dis" force-mode-line-update] 6 (#$ . 3556) (list (or current-prefix-arg 'toggle))])
(byte-code "\301\302\303\303\211%\210\304\305\303\306\307\310\311\312\313\314\315\316&\207" [srecode-mode-map add-minor-mode srecode-minor-mode nil custom-declare-variable global-srecode-minor-mode "Non-nil if Global-Srecode minor mode is enabled.\nSee the command `global-srecode-minor-mode' for a description of this minor mode.\nSetting this variable directly does not take effect;\neither customize it (see the info node `Easy Customization')\nor call the function `global-srecode-minor-mode'." :set custom-set-minor-mode :initialize custom-initialize-default :group srecode :type boolean] 12)
#@105 Toggle global use of srecode minor mode.
If ARG is positive or nil, enable, if it is negative, disable.
(defalias 'global-srecode-minor-mode #[(&optional arg) "\303 	\304=\203\n?\202\305	!\306V\307\310\n\203\311\202\312\"\210\313\314\n\203+\315\202,\316\"\210\317\320!\203Q\321\302!\210\303 \203D\303 \232\203Q\322\323\n\203N\324\202O\325\"\210)\326 \210\n\207" [#1=#:last-message arg global-srecode-minor-mode current-message toggle prefix-numeric-value 0 semantic-toggle-minor-mode-globally srecode-minor-mode 1 -1 run-hooks global-srecode-minor-mode-hook global-srecode-minor-mode-on-hook global-srecode-minor-mode-off-hook called-interactively-p any customize-mark-as-set message "Global-Srecode minor mode %sabled" "en" "dis" force-mode-line-update] 3 (#$ . 5295) (list (or current-prefix-arg 'toggle))])
(byte-code "\301\302\303\304\300!\205\n\303\211%\210\305\306\307\"\207" [global-srecode-minor-mode-map add-minor-mode global-srecode-minor-mode nil boundp semantic-add-minor-mode srecode-minor-mode ""] 6)
#@103 Create a menu item of cascading filters active for this mode.
MENU-DEF is the menu to bind this into.
(defalias 'srecode-minor-mode-templates-menu #[(menu-def) "\306!\211\205\f\307	\310\"\311\211\311\211 \311!\n\204%\312\313\314\"C\202\324\315 \242\n\203\311\316\n@!\203\302\307\n@\317\"\211\203\302
@ \307 \303\"\"\320\"!\"#\321 \322\"\205^\307 \322\"$\323 !%#\204\215\"\230\203\201\f\206z\"\311B\211#\202\215\"\311B\211#!B!\312$\203\235%\324$\325R\202\237%\326\311\327\330\331\"\332%FDF\333#&#&#AB\241\210-
A\211\204>\nA\211\204-\334\335\336\337\fA!\"\"!.\207" [major-mode modetable subtab context active ltab srecode-get-mode-table eieio-oref :tables nil vector "Load Mode Tables..." #[nil "\301!\207" [major-mode srecode-load-tables-for-mode] 2 nil nil] srecode-calculate-context srecode-template-table-in-project-p templates assoc slot-boundp binding object-name-string "   (" ")" lambda (interactive) srecode-insert concat ":" t easy-menu-filter-return easy-menu-create-menu "Semantic Recoder Filters" append temp alltabs ctxt ctxtcons bind name new] 11 (#$ . 6337)])
#@63 List of code generators to be displayed in the srecoder menu.
(defvar srecode-minor-mode-generators nil (#$ . 7478))
#@103 Create a menu item of cascading filters active for this mode.
MENU-DEF is the menu to bind this into.
(defalias 'srecode-minor-mode-generate-menu #[(menu-def) "\304	\304\211\203#@\305\nA\n@\"B\306\307\n@\"\210A\211\204\n*\310\311\312\"!)\207" [allgeneratorapps srecode-minor-mode-generators gen --dolist-tail-- nil vector message "Adding %S to srecode menu" easy-menu-filter-return easy-menu-create-menu "Semantic Recoder Generate Filters"] 5 (#$ . 7602)])
#@120 Bound insert for Srecode macros.
This command will insert whichever srecode template has a binding
to the current key.
(defalias 'srecode-bind-insert #[nil "\305!\210	\306 \307\310 \n#\211\204\311\312\n\"\210\313\f!+\207" [major-mode last-command-event k ctxt template srecode-load-tables-for-mode srecode-calculate-context srecode-template-get-table-for-binding srecode-table error "No template bound to %c" srecode-insert] 5 (#$ . 8078) nil])
#@111 Switch to the template buffer for TEMPLATE-NAME.
Template is chosen based on the mode of the starting buffer.
(defalias 'srecode-edit #[(template-name) "\306 \204\n\307\310\"\210\311\306 	\"\211\204\307\312	\"\210\313\n\314\"\315\316\313\f\317\"!\210
\320p!\315\211\203W\313\n\321\"@\211@)\230\203N@BA\211\2046\237+\211G\322U\203o\323@!\210\324@!\202LG\322V\203H
\320p!\315\211\203\246\313\n\325\"@\211@)\230\203\235@BA\211\204\205\237+ \320 !\315\211\203\330@\211A@)\326=\203\317@BA\211\204\271\237*!\2030@\211\3278)\"\330\"!\203\376\331\"!\202\"\332H*!@\211\3278)\"\330\"!\203 \331\"!\202$\"\332H*W\2030A\211\204\342\203@\323@!\210\324@!\202D\307\333	\"*\202L\307\333	\"+\207" [major-mode template-name temp names tab semantic-case-fold srecode-table error "No template table found for mode %s" srecode-template-get-table "No Template named %s" eieio-oref :table nil find-file :file semantic-something-to-tag-table :object-name 1 semantic-go-to-tag semantic-momentary-highlight-tag :context context 4 semantic-overlay-p semantic-overlay-start 0 "Can't find template %s" case-fold-search result tags tag ctxt cls o] 5 (#$ . 8537) (list (srecode-read-template-name "Template Name: " (car srecode-read-template-name-history)))])
#@376 Add the srecoder code generator FUNCTION with NAME to the menu.
Optional BINDING specifies the keybinding to use in the srecoder map.
BINDING should be a capital letter.  Lower case letters are reserved
for individual templates.
Optional MODE specifies a major mode this function applies to.
Do not specify a mode if this function could be applied to most
programming modes.
(defalias 'srecode-add-code-generator #[(function name &optional binding) "\306\307	\n\"\211\203\310\n\"\202)\311\302	B\"\210\f\203O\312	
C\313\211\211%\211\203NG\314U\203G\fG\314U\203G\315H\f\315HU\204N\316
\306#\210)\317
\f\"\211\203{	=\204{\320=\204n\321=\203{\322\323\324\"!\203{\306\204\210\316
\f	#\202\224	=?\205\224\325\326\f\")\207" [remloop function srecode-minor-mode-generators name binding srecode-prefix-map nil assoc remove add-to-list where-is-internal t 1 0 define-key lookup-key eval-defun checkdoc-eval-defun y-or-n-p format "Override old binding %s? " message "Conflict binding %S binding to srecode map." oldkey oldbinding this-command] 7 (#$ . 9901)])
(byte-code "\300\301\302\303#\210\300\304\305\306#\210\307\310!\207" [srecode-add-code-generator srecode-document-insert-comment "Comments" "C" srecode-insert-getset "Get/Set" "G" provide srecode/mode] 4)

MMCT - 2023