?
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/cfengine.elc |
;ELC ;;; Compiled by mockbuild@buildfarm06-new.corp.cloudlinux.com on Fri Oct 11 10:09:21 2024 ;;; from file /builddir/build/BUILD/emacs-24.3/lisp/progmodes/cfengine.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\302\303\304\305%\210\306\307\310\311\304\301\312\313&\207" [custom-declare-group cfengine nil "Editing CFEngine files." :group languages custom-declare-variable cfengine-indent 2 "Size of a CFEngine indentation step in columns." :type integer] 8) #@54 Whether `cfengine-mode' should print debugging info. (defvar cfengine-mode-debug nil (#$ . 830)) (byte-code "\300\301\302\303\304\305\306\307&\210\310\301\311\312#\207" [custom-declare-variable cfengine-mode-abbrevs nil "Abbrevs for CFEngine2 mode." :group cfengine :type (repeat (list (string :tag "Name") (string :tag "Expansion") (choice :tag "Hook" (const nil) function))) make-obsolete-variable edit-abbrevs "24.1"] 8) #@104 List of the action keywords supported by Cfengine. This includes those for cfservd as well as cfagent. (defconst cfengine2-actions '("acl" "alerts" "binservers" "broadcast" "control" "classes" "copy" "defaultroute" "disks" "directories" "disable" "editfiles" "files" "filters" "groups" "homeservers" "ignore" "import" "interfaces" "links" "mailserver" "methods" "miscmounts" "mountables" "processes" "packages" "rename" "required" "resolve" "shellcommands" "tidy" "unmount" "admit" "grant" "deny") (#$ . 1262)) #@42 List of the CFEngine 3.x defun headings. (defconst cfengine3-defuns (mapcar 'symbol-name '(bundle body)) (#$ . 1779)) #@41 Regex to match the CFEngine 3.x defuns. (defconst cfengine3-defuns-regex (regexp-opt cfengine3-defuns t) (#$ . 1903)) (defconst cfengine3-class-selector-regex "\\([[:alnum:]_().&|!]+\\)::") (defconst cfengine3-category-regex "\\([[:alnum:]_]+\\):") #@42 List of the CFEngine 3.x variable types. (defconst cfengine3-vartypes (mapcar 'symbol-name '(string int real slist ilist rlist irange rrange counter)) (#$ . 2158)) (defvar cfengine2-font-lock-keywords (byte-code "\300\301B\302B\207" ["^[ ]*\\(a\\(?:cl\\|dmit\\|lerts\\)\\|b\\(?:inservers\\|roadcast\\)\\|c\\(?:lasses\\|o\\(?:ntrol\\|py\\)\\)\\|d\\(?:e\\(?:faultroute\\|ny\\)\\|i\\(?:rectories\\|s\\(?:able\\|ks\\)\\)\\)\\|editfiles\\|fil\\(?:\\(?:e\\|ter\\)s\\)\\|gr\\(?:ant\\|oups\\)\\|homeservers\\|i\\(?:gnore\\|mport\\|nterfaces\\)\\|links\\|m\\(?:ailserver\\|\\(?:ethod\\|iscmount\\|ountable\\)s\\)\\|p\\(?:\\(?:ackag\\|rocess\\)es\\)\\|re\\(?:name\\|quired\\|solve\\)\\|shellcommands\\|tidy\\|unmount\\):" (1 font-lock-keyword-face) (("^[ ]*\\([[:alnum:]_().|!]+\\)::" 1 font-lock-function-name-face) ("$(\\([[:alnum:]_]+\\))" 1 font-lock-variable-name-face) ("${\\([[:alnum:]_]+\\)}" 1 font-lock-variable-name-face) ("\\<\\([[:alnum:]_]+\\)[ ]*=[ ]*(" 1 font-lock-variable-name-face) ("{[ ]*\\([^ \n]+\\)" 1 font-lock-constant-face))] 2)) (defvar cfengine3-font-lock-keywords (byte-code "\303\304\305\306\307\260\310B\311 P\312B\311\nP\313B\314\315\316\317\320B\257\207" [cfengine3-defuns-regex cfengine3-class-selector-regex cfengine3-category-regex "\\<" "\\>" "[ ]+\\<\\([[:alnum:]_]+\\)\\>" "[ ]+\\<\\([[:alnum:]_]+\\)" "\\(?:(\\([^)]*\\))\\)?" ((1 font-lock-builtin-face) (2 font-lock-constant-face) (3 font-lock-function-name-face) (4 font-lock-variable-name-face nil t)) "^[ ]*" (1 font-lock-keyword-face) (1 font-lock-builtin-face) ("[@$](\\([[:alnum:]_.]+\\))" 1 font-lock-variable-name-face) ("[@$]{\\([[:alnum:]_.]+\\)}" 1 font-lock-variable-name-face) ("\\<\\([[:alnum:]_]+\\)[ ]*=[ ]*(" 1 font-lock-variable-name-face) "\\<\\(counter\\|i\\(?:list\\|nt\\|range\\)\\|r\\(?:eal\\|list\\|range\\)\\|s\\(?:list\\|tring\\)\\)\\>" (1 font-lock-type-face)] 8)) #@47 `imenu-generic-expression' for CFEngine mode. (defvar cfengine2-imenu-expression (byte-code "\300\301\302BB\303B\207" [nil "^[ ]*\\(a\\(?:cl\\|dmit\\|lerts\\)\\|b\\(?:inservers\\|roadcast\\)\\|c\\(?:lasses\\|o\\(?:ntrol\\|py\\)\\)\\|d\\(?:e\\(?:faultroute\\|ny\\)\\|i\\(?:rectories\\|s\\(?:able\\|ks\\)\\)\\)\\|editfiles\\|fil\\(?:\\(?:e\\|ter\\)s\\)\\|gr\\(?:ant\\|oups\\)\\|homeservers\\|i\\(?:gnore\\|mport\\|nterfaces\\)\\|links\\|m\\(?:ailserver\\|\\(?:ethod\\|iscmount\\|ountable\\)s\\)\\|p\\(?:\\(?:ackag\\|rocess\\)es\\)\\|re\\(?:name\\|quired\\|solve\\)\\|shellcommands\\|tidy\\|unmount\\):[^:]" (1) (("Variables/classes" "\\<\\([[:alnum:]_]+\\)[ ]*=[ ]*(" 1) ("Variables/classes" "\\<define=\\([[:alnum:]_]+\\)" 1) ("Variables/classes" "\\<DefineClass\\>[ ]+\\([[:alnum:]_]+\\)" 1))] 3) (#$ . 4051)) #@45 `outline-level' function for CFEngine mode. (defalias 'cfengine2-outline-level #[nil "\300\301!\205\n \302\303!G\207" [looking-at "[^:]+\\(?:[:]+\\)$" match-string 1] 2 (#$ . 4871)]) #@76 `beginning-of-defun' function for CFEngine mode. Treats actions as defuns. (defalias 'cfengine2-beginning-of-defun #[nil "i\300 X\204\n \301\210\302\303\301\304#\203 \305 \210\202 eb\210\304\207" [current-indentation nil re-search-backward "^[[:alpha:]]+: *$" t beginning-of-line] 4 (#$ . 5060)]) #@70 `end-of-defun' function for CFEngine mode. Treats actions as defuns. (defalias 'cfengine2-end-of-defun #[nil "\300\210\301\302\300\303#\203 \304 \210\202 db\210\303\207" [nil re-search-forward "^[[:alpha:]]+: *$" t beginning-of-line] 4 (#$ . 5366)]) #@82 Indent a line in Cfengine mode. Intended as the value of `indent-line-function'. (defalias 'cfengine2-indent-line #[nil "d`Z\214\302 \210\303 \210\304\305!\203% \306\307!\203 \310 !\210\202k \310\311!\210\202k \312f\313=\2043 \312f\314=\203; \312\315\316\217\210\202k \312\317\320\217\204k \212\321\322\312\323#)\203U \310 \324_!\210\202k \212eb\210\304\325!)\203g \310 !\210\202k \310\311!\210)dZ`V\205x dZb)\207" [pos cfengine-indent narrow-to-defun back-to-indentation looking-at "[[:alnum:]_().|!]+:\\(:\\)?" match-string 1 indent-line-to 0 nil 125 41 (byte-code "\300\212\301u\210\302 \210i)!\207" [indent-line-to nil backward-sexp] 2) ((error)) (byte-code "\301\212\302 \210\303u\210\304\303w\210\305\306!\203 i\202 \304\303x\210\307i\310#)!\210\311\207" [cfengine-indent indent-line-to backward-up-list nil " " looking-at "[^\n#]" + -1 t] 5) ((error)) re-search-backward "^[ ]*[[:alnum:]_().|!]+::" t 2 "[[:alpha:]]+:[ ]*$"] 4 (#$ . 5625)]) #@37 Fill `paragraphs' in Cfengine code. (defalias 'cfengine-fill-paragraph #[(&optional justify) "\304\305!\203\f \305!\202 \306\307\212\310 \210`)`\"8\206( \311\312\313\314!+\206( \315\207" [justify fill-paragraph-function paragraph-separate paragraph-start fboundp fill-comment-paragraph 4 parse-partial-sexp beginning-of-defun "\f\\|[ ]*$\\|.*(" "[ \f]*$\\|.*#\\|.*[){}]\\|\\s-*[[:alpha:]_().|!]+:" nil fill-paragraph t] 4 (#$ . 6589) "P"]) #@89 `beginning-of-defun' function for Cfengine 3 mode. Treats body/bundle blocks as defuns. (defalias 'cfengine3-beginning-of-defun #[nil "i\301 X\204\n \302\210\303\304\305Q\302\306#\203 \307 \210\202 eb\210\306\207" [cfengine3-defuns-regex current-indentation nil re-search-backward "^[ ]*" "\\>" t beginning-of-line] 4 (#$ . 7043)]) #@83 `end-of-defun' function for Cfengine 3 mode. Treats body/bundle blocks as defuns. (defalias 'cfengine3-end-of-defun #[nil "\301\210\302\303\304Q\301\305#\203 \306 \210\202 db\210\305\207" [cfengine3-defuns-regex nil re-search-forward "^[ ]*" "\\>" t beginning-of-line] 4 (#$ . 7386)]) #@84 Indent a line in Cfengine 3 mode. Intended as the value of `indent-line-function'. (defalias 'cfengine3-indent-line #[nil "d`Z\306\214\307 \210\310 \210\311e`\"\n\203 \312\313\"\210\314\315P!\203* \316\317!\210\202\231 \314\f\320P!\2039 \316 !\210\202\231 \314\320P!\203K \316 \321_!\210\202\231 \306f\322=\204Y \306f\323=\203a \306\324\325\217\210\202\231 \3268\203{ \3278\212\330 \210`)W\203{ \316\317!\210\202\231 @\331U\203\216 \316\321@\\ _!\210\202\231 \306\332\333\217\204\231 \316\317!\210)d Z`V\205\246 d Zb*\207" [parse pos cfengine-mode-debug cfengine3-defuns-regex cfengine3-category-regex cfengine-indent nil narrow-to-defun back-to-indentation parse-partial-sexp message "%S" looking-at "\\>" indent-line-to 0 "[ ]*$" 2 125 41 (byte-code "\300\212\301u\210\302 \210i)!\207" [indent-line-to nil backward-sexp] 2) ((error)) 3 8 beginning-of-line 1 (byte-code "\301\212\302 \210\303u\210\304\303w\210\305\306!\203 i\202) \305\306!\203 i\202) \304\303x\210\307i\310#)!\210\311\207" [cfengine-indent indent-line-to backward-up-list nil " " looking-at "[^\n#]" + -1 t] 5) ((error)) cfengine3-class-selector-regex] 3 (#$ . 7682)]) (defalias 'cfengine-common-settings #[nil "\305\300!\210\306\305\301!\210\307\305\302!\210\310\305\303!\210\311\305\304!\210\312\211\207" [syntax-propertize-function parens-require-spaces comment-start comment-start-skip parse-sexp-ignore-comments make-local-variable #[(start end) "b\210` W\205\"