%PDF- %PDF-
Direktori : /usr/local/share/emacs/27.2/lisp/progmodes/ |
Current File : //usr/local/share/emacs/27.2/lisp/progmodes/cpp.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\310\311& \210\312\313\314\315\316\317\306\301&\210\320\321\322\323\316\324%\210\312\325\326\327\316\321\306\301&\210\312\330\331\332\316\321\306\301&\210\312\333\334\335\336\337\316\340\306\301& \210\312\341\342\343\316\344\306\301&\210\312\345\342\346\316\344\306\301&\210\312\347\302\350\316\351\306\301&\210\312\352\353\354\316\355\306\301\356\357& \207" [custom-declare-group cpp nil "Highlight or hide text according to cpp conditionals." :link (custom-group-link :tag "Font Lock Faces group" font-lock-faces) :group c :prefix "cpp-" custom-declare-variable cpp-config-file (convert-standard-filename ".cpp.el") "File name to save cpp configuration." :type file define-widget cpp-face lazy "Either a face or the special symbol `invisible'." (choice (const invisible) (face)) cpp-known-face 'invisible "Face used for known cpp symbols." cpp-unknown-face 'highlight "Face used for unknown cpp symbols." cpp-face-type 'light "Indicate what background face type you prefer.\nCan be either light or dark for color screens, mono for monochrome\nscreens, and none if you don't use a window system and don't have\na color-capable display." :options (light dark mono nil) symbol cpp-known-writable t "Non-nil means you are allowed to modify the known conditionals." boolean cpp-unknown-writable "Non-nil means you are allowed to modify the unknown conditionals." cpp-edit-list "Alist of cpp macros and information about how they should be displayed.\nEach entry is a list with the following elements:\n0. The name of the macro (a string).\n1. Face used for text that is `ifdef' the macro.\n2. Face used for text that is `ifndef' the macro.\n3. t, nil, or `both' depending on what text may be edited." (repeat (list (string :tag "Macro") (cpp-face :tag "True") (cpp-face :tag "False") (choice (const :tag "True branch writable" t) (const :tag "False branch writable" nil) (const :tag "Both branches writable" both)))) cpp-message-min-time-interval 1.0 "Minimum time interval in seconds for `cpp-progress-message' messages.\nIf nil, `cpp-progress-message' prints no progress messages." (choice (const :tag "Disable progress messages" nil) float) :version "26.1"] 10) (defvar cpp-overlay-list nil) (make-variable-buffer-local 'cpp-overlay-list) #@61 Alist of strings and names of the defined face collections. (defconst cpp-face-type-list '(("light color background" . light) ("dark color background" . dark) ("monochrome" . mono) ("tty" . none)) (#$ . 2697)) (defconst cpp-writable-list '(("writable" . t) ("read-only"))) (defvar cpp-button-event nil) (defvar cpp-edit-buffer nil) (make-variable-buffer-local 'cpp-edit-buffer) (defconst cpp-branch-list '(("false") ("true" . t) ("both" . both))) (byte-code "\300\301\302\303\304\305\306\307&\210\300\310\311\312\304\313\306\307&\210\300\314\315\316\304\317\306\307&\210\300\320\302\321\304\322\306\307&\210\300\323\302\324\304\325\306\307&\210\300\326\327\330\304\331\306\307&\210\300\332\333\334\304\335\306\307&\207" [custom-declare-variable cpp-face-default-list nil "Alist of faces you can choose from for cpp conditionals.\nEach element has the form (STRING . FACE), where STRING\nserves as a name (for `cpp-highlight-buffer' only)\nand FACE is either a face (a symbol)\nor a cons cell (background-color . COLOR)." :type (alist :key-type (string :tag "Name") :value-type (choice face (const invisible) (cons (const background-color) (string :tag "Color")))) :group cpp cpp-face-light-name-list '("light gray" "light blue" "light cyan" "light yellow" "light pink" "pale green" "beige" "orange" "magenta" "violet" "medium purple" "turquoise") "Background colors useful with dark foreground colors." (repeat string) cpp-face-dark-name-list '("dim gray" "blue" "cyan" "yellow" "red" "dark green" "brown" "dark orange" "dark khaki" "dark violet" "purple" "dark turquoise") "Background colors useful with light foreground colors." (repeat string) cpp-face-light-list "Alist of names and faces to be used for light backgrounds." (repeat (cons string (choice face (cons (const background-color) string)))) cpp-face-dark-list "Alist of names and faces to be used for dark backgrounds." (repeat (cons string (choice face (cons (const background-color) string)))) cpp-face-mono-list '(("bold" . bold) ("bold-italic" . bold-italic) ("italic" . italic) ("underline" . underline)) "Alist of names and faces to be used for monochrome screens." (repeat (cons string face)) cpp-face-none-list '(("default" . default) ("invisible" . invisible)) "Alist of names and faces available even if you don't use a window system." (repeat (cons string cpp-face))] 8) #@63 All faces used for highlighting text inside cpp conditionals. (defvar cpp-face-all-list (append cpp-face-light-list cpp-face-dark-list cpp-face-mono-list cpp-face-none-list) (#$ . 5055)) #@46 List of cpp macros used in the local buffer. (defvar cpp-parse-symbols nil (#$ . 5248)) (make-variable-buffer-local 'cpp-parse-symbols) (defconst cpp-parse-regexp "'\\|\"\\|/\\*\\|//\\|\\(^[ ]*#[ ]*\\(ifdef\\|ifndef\\|if\\|elif\\|else\\|endif\\)\\b\\)") #@238 Highlight C code according to preprocessor conditionals. This command pops up a buffer which you should edit to specify what kind of highlighting to use, and the criteria for highlighting. A prefix arg suppresses display of that buffer. (defalias 'cpp-highlight-buffer #[(arg) "\306=\204 \307>\204 \310\307!\210\311\312 \210\n\204 \313 \210\311\212eb\210\314\315!\210\316\f\311\306#\203C\314\317\320\321`eZ_\322 \"\"\210\323\224\323\225{\211\324\230\204M \325\230\203c \323\224b\210\3261[ \327 0\202_ \210\330\331!\210\202? \332\230\203x \333\334\311\306#\204?\335\336!\210\202? \337\230\203\205 \340\311w\210\202?\341\210\341\224`T\342\224\342\225{\341\225`{12342\343\230\203\261 \344\306143$\210\202>2\345\230\203\305 \344\311143$\210\202>2\346\230\203\331 \344\306143$\210\202>2\347\230\203\373 \311\21156\35043\"\210*\344\306143$\210\202>2\351\230\203)\204\n\330\352!\210@@?@A@43F7\35043\"\2107B)\202>2\353\230\203:\35043\"\210\202>\330\354!\210,)\202&