?
Current Path : /usr/share/emacs/24.3/lisp/progmodes/ |
Linux gator3171.hostgator.com 4.19.286-203.ELK.el7.x86_64 #1 SMP Wed Jun 14 04:33:55 CDT 2023 x86_64 |
Current File : //usr/share/emacs/24.3/lisp/progmodes/perl-mode.elc |
;ELC ;;; Compiled by mockbuild@buildfarm06-new.corp.cloudlinux.com on Fri Oct 11 10:09:29 2024 ;;; from file /builddir/build/BUILD/emacs-24.3/lisp/progmodes/perl-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. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; (custom-declare-group 'perl nil "Major mode for editing Perl code." :link '(custom-group-link :tag "Font Lock Faces group" font-lock-faces) :prefix "perl-" :group 'languages) #@43 Abbrev table in use in perl-mode buffers. (defvar perl-mode-abbrev-table nil (#$ . 737)) (define-abbrev-table 'perl-mode-abbrev-table nil) #@27 Keymap used in Perl mode. (defvar perl-mode-map (byte-code "\301 \302\303\304#\210\302\305\304#\210\302\306\304#\210\302\307\304#\210\302\310\311#\210\302\312\313#\210\302\314\315#\210\302\316\317#\210\302\320\321#\210\302\322\323#\210)\207" [map make-sparse-keymap define-key "{" perl-electric-terminator "}" ";" ":" "" perl-beginning-of-function "" perl-end-of-function "" perl-mark-function "" perl-indent-exp "" backward-delete-char-untabify " " perl-indent-command] 4) (#$ . 882)) #@45 Syntax table in use in `perl-mode' buffers. (defvar perl-mode-syntax-table (byte-code "\301\302 !\303\304\305#\210\303\306\307#\210\303\310\311#\210\303\312\313#\210\303\314\313#\210\303\315\316#\210\303\317\320#\210\303\321\316#\210\303\322\316#\210\303\323\316#\210\303\324\316#\210\303\325\316#\210\303\326\316#\210\303\327\316#\210\303\330\331#\210\303\332\320#\210\303\333\316#\210)\207" [st make-syntax-table standard-syntax-table modify-syntax-entry 10 ">" 35 "<" 36 "/" 37 ". p" 64 38 "." 39 "\"" 42 43 45 47 60 61 62 92 "\\" 96 124] 4) (#$ . 1395)) #@74 Imenu generic expression for Perl mode. See `imenu-generic-expression'. (defvar perl-imenu-generic-expression '((nil "^sub\\s-+\\([-A-Za-z0-9+_:]+\\)" 1) ("Variables" "^\\(?:my\\|our\\)\\s-+\\([$@%][-A-Za-z0-9+_:]+\\)\\s-*=" 1) ("Packages" "^package\\s-+\\([-A-Za-z0-9+_:]+\\);" 1) ("Doc sections" "^=head[0-9][ ]+\\(.*\\)" 1)) (#$ . 1978)) #@43 Subdued level highlighting for Perl mode. (defconst perl-font-lock-keywords-1 '(("\\<\\(package\\|sub\\)\\>[ ]*\\(\\sw+\\)?" (1 font-lock-keyword-face) (2 font-lock-function-name-face nil t)) ("\\<\\(import\\|no\\|require\\|use\\)\\>[ ]*\\(\\sw+\\)?" (1 font-lock-keyword-face) (2 font-lock-constant-face nil t))) (#$ . 2327)) #@41 Gaudy level highlighting for Perl mode. (defconst perl-font-lock-keywords-2 (byte-code "\301\302\303\304\305\306\307\310\311\257\"\207" [perl-font-lock-keywords-1 append "\\<\\(BEGIN\\|END\\|d\\(?:ie\\|o\\|ump\\)\\|e\\(?:ls\\(?:e\\|if\\)\\|val\\|x\\(?:ec\\|it\\)\\)\\|for\\(?:each\\)?\\|if\\|return\\|un\\(?:less\\|til\\)\\|while\\)\\>" ("\\<\\(local\\|my\\)\\>" . font-lock-type-face) ("&\\(\\sw+\\(::\\sw+\\)*\\)" 1 font-lock-function-name-face) ("[$*]{?\\(\\sw+\\(::\\sw+\\)*\\)" 1 font-lock-variable-name-face) ("\\([@%]\\|\\$#\\)\\(\\sw+\\(::\\sw+\\)*\\)" (2 (cons font-lock-variable-name-face '(underline)))) ("<\\(\\sw+\\)>" 1 font-lock-constant-face) ("\\<\\(continue\\|goto\\|last\\|next\\|redo\\)\\>[ ]*\\(\\sw+\\)?" (1 font-lock-keyword-face) (2 font-lock-constant-face nil t)) ("^[ ]*\\(\\sw+\\)[ ]*:[^:]" 1 font-lock-constant-face)] 10) (#$ . 2662)) #@48 Default expressions to highlight in Perl mode. (defvar perl-font-lock-keywords perl-font-lock-keywords-1 (#$ . 3536)) (defvar perl-quote-like-pairs '((40 . 41) (91 . 93) (123 . 125) (60 . 62))) (defalias 'perl-syntax-propertize-function #[(start end) "\306 b\210\307\n!\210`\n\211b\210`\nW\205`\310\311\n\312#\205`\313\224\203/ \314\313\224\313\225\315\316$\210\202 \317\224\203@ \314\317\224\317\225\315\320$\210\202 \321\224\203Q \314\321\224\321\225\315\322$\210\202 \323\224\203b \314\323\224\323\225\315\324$\210\202 \325\224\203\207 \326\327!\211A\330\233\241\210\331!\210)\314\313\224\313\225\315\332$\210\307\n!\210\202 \333\224\203\230 \314\333\224\333\225\315\334$\210\202 \335\224\203\325 \326\327!\211A\336\233\241\210\331!\210)\313\224\203\273 \314\313\224\313\225\315\337$\210\317\224\203\311 \314\317\224\317\225\315\340$\210\314\341\224\341\225\342\312$\210\202 \343\224\203\326\327!\211A\344\233\241\210\331!\210)\313\225\203\n\212\313\225b\210\345d[!\210\314`\317\225\342\312$\210`Sf\346>)\203 \314\317\224\317\225\315\332$\210\307\n!\210\202 \347\224\203 \326\327!\211A\350\233\241\210\331!\210)\212\341\224b\210\351v\210\352\312\353\f!+\204 \314\321\224\321\225\315\354\321\224f.\"\203V\355\202W\332$\210\307\n!\210\202 +\207" [case-fold-search start end md regexp inhibit-changing-match-data nil perl-syntax-propertize-special-constructs re-search-forward "^=cut\\>.*\\(\n\\)\\|^\\(=\\)\\sw\\|\\(\\$\\)[{']\\|\\$ ?{?^?[_a-zA-Z][_a-zA-Z0-9]*\\('\\)[_a-zA-Z]\\|^[ ]*format.*=[ ]*\\(\n\\)\\|\\<sub\\(?:[[:space:]]+[^{}[:punct:][:space:]]+\\)?[[:space:]]*(\\([^)]+\\))\\|\\(^\\(_\\)_\\(?:DATA\\|END\\)__[ ]*\\(?:\\(\n\\)#.-\\*-.*perl.*-\\*-\\|\n.*\\)\\)\\|\\(?:\\(?:^\\|[^$@&%[:word:]]\\)\\(?:and\\|grep\\|if\\|map\\|not\\|or\\|split\\|un\\(?:less\\|til\\)\\|while\\)\\|[?:.,;=!~({[]\\|\\(^\\)\\)[ \n]*\\(/\\)\\|\\(^\\|[?:.,;=!~({[ ]\\)\\([msy]\\|q[qxrw]?\\|tr\\)\\>\\s-*\\(?:\\([^])}>= \n ]\\)\\|\\(?14:=\\)[^>]\\)" t 1 put-text-property syntax-table (2097164) 2 (2097163) 3 (1048577) 4 (3) 5 match-data ints 10 set-match-data (7) 6 (1) 7 16 (8388619) (8388620) 0 syntax-multiline 11 20 forward-comment (63 58 46 44 59 61 33 126 40 91) 14 24 -1 "sub[ \n]" looking-at assoc (15) perl-quote-like-pairs] 8]) #@67 Syntax table used internally for processing quote-like operators. (defvar perl-empty-syntax-table (byte-code "\303 \304\305 \nW\203 \306I\210 T\211\202 *\307\310\311#\210)\207" [st i --dotimes-limit-- copy-syntax-table 256 0 (1) modify-syntax-entry 92 "\\"] 5) (#$ . 5808)) (defalias 'perl-quote-syntax-table #[(char) " \236A\305\n!\211\204 \306\307#\210\202\"