%PDF- %PDF-
Direktori : /usr/local/share/emacs/27.2/lisp/progmodes/ |
Current File : //usr/local/share/emacs/27.2/lisp/progmodes/bat-mode.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. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; (byte-code "\300\301\302\303\304\305\306\307&\210\310\311\312\313#\207" [custom-declare-group bat-mode nil "Major mode for editing DOS/Windows batch files." :link (custom-group-link :tag "Font Lock Faces group" font-lock-faces) :group languages custom-declare-face bat-label-face ((t :weight bold)) "Font Lock mode face used to highlight labels in batch files."] 8) (defvar bat-font-lock-keywords '(("\\_<\\(call\\|goto\\)\\_>[ ]+%?\\([A-Za-z0-9_\\:.-]+\\)%?" (2 font-lock-constant-face t)) ("^:[^:].*" quote bat-label-face) ("\\_<\\(defined\\|set\\)\\_>[ ]*\\(\\(\\sw\\|\\s_\\)+\\)" (2 font-lock-variable-name-face)) ("%~\\([0-9]\\)" (1 font-lock-variable-name-face)) ("%\\([^%~ \n]+\\)%?" (1 font-lock-variable-name-face)) ("!\\([^!%~ \n]+\\)!?" (1 font-lock-variable-name-face)) ("%%\\(?:~[adfnpstxz]*\\(?:\\$\\(\\(?:\\sw\\|\\s_\\|_\\)+\\):\\)?\\)?\\([]!#$&-:?-[_-{}~]\\)" (1 font-lock-variable-name-face nil t) (2 font-lock-variable-name-face)) ("[ =][-/]+\\(\\w+\\)" (1 font-lock-type-face append)) ("\\_<\\(?:a\\(?:ssoc\\|t\\(?:trib\\)?\\)\\|c\\(?:d\\|ls\\|o\\(?:lor\\|py\\)\\)\\|d\\(?:ate\\|el\\|ir\\|oskey\\)\\|e\\(?:cho\\|ndlocal\\|rase\\)\\|f\\(?:c\\|ind\\(?:str\\)?\\|ormat\\|type\\)\\|label\\|m\\(?:d\\|kdir\\|o\\(?:[rv]e\\)\\)\\|net\\|p\\(?:a\\(?:th\\|use\\)\\|opd\\|rompt\\|ushd\\)\\|r\\(?:d\\|e\\(?:n\\(?:ame\\)?\\|place\\)\\|mdir\\)\\|s\\(?:et\\(?:local\\)?\\|\\(?:hif\\|or\\|ubs\\)t\\)\\|t\\(?:\\(?:i\\(?:m\\|tl\\)\\|re\\|yp\\)e\\)\\|v\\(?:er\\|ol\\)\\|xcopy\\)\\_>" . font-lock-builtin-face) ("\\_<\\(?:c\\(?:all\\|md\\)\\|d\\(?:efined\\|o\\)\\|e\\(?:lse\\|qu\\|xi\\(?:s?t\\)\\)\\|for\\|g\\(?:eq\\|oto\\|tr\\)\\|i[fn]\\|l\\(?:eq\\|ss\\)\\|n\\(?:eq\\|ot\\)\\|start\\)\\_>" . font-lock-keyword-face) ("\\_<\\(?:bash\\|c\\(?:at\\|p\\)\\|fgrep\\|grep\\|ls\\|mv\\|rm\\|s\\(?:ed\\|h\\)\\)\\_>" . font-lock-warning-face))) (defvar bat-menu '("Bat" ["Run" bat-run :help "Run script"] ["Run with Args" bat-run-args :help "Run script with args"] "--" ["Imenu" imenu :help "Navigate with imenu"] "--" ["Template" bat-template :help "Insert template"] "--" ["Help (Command)" bat-cmd-help :help "Show help page for DOS command"])) (defvar bat-mode-map (byte-code "\302 \303\304\304 $\210\305\306\307#\210\305\310\311#\210\305\312\313#\210\305\314\315#\210\305\316\313#\210)\207" [map bat-menu make-sparse-keymap easy-menu-do-define nil define-key [3 67108911] bat-cmd-help [3 1] bat-run-args [3 3] bat-run [3 20] bat-template [3 22]] 5)) (defvar bat-mode-syntax-table (byte-code "\301 \302\303\304#\210\302\305\306#\210\302\307\310#\210\302\311\312#\210\302\313\310#\210\302\314\310#\210\302\315\310#\210\302\316\310#\210\302\317\312#\210\302\320\312#\210)\207" [table make-syntax-table modify-syntax-entry 10 ">" 34 "\"" 126 "_" 37 "." 45 95 123 125 92 61] 4)) (defconst bat--syntax-propertize #[(start end) "b\210` W\205\"