%PDF- %PDF-
Direktori : /usr/local/share/emacs/27.2/lisp/cedet/semantic/ |
Current File : //usr/local/share/emacs/27.2/lisp/cedet/semantic/format.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!\210\300\302!\210\300\303!\207" [require semantic semantic/tag-ls ezimage] 2) #@369 List of functions which convert a tag to text. Each function must take the parameters TAG &optional PARENT COLOR. TAG is the tag to convert. PARENT is a parent tag or name which refers to the structure or class which contains TAG. PARENT is NOT a class which a TAG would claim as a parent. COLOR indicates that the generated text should be colored using `font-lock'. (defvar semantic-format-tag-functions '(semantic-format-tag-name semantic-format-tag-canonical-name semantic-format-tag-abbreviate semantic-format-tag-summarize semantic-format-tag-summarize-with-file semantic-format-tag-short-doc semantic-format-tag-prototype semantic-format-tag-concise-prototype semantic-format-tag-uml-abbreviate semantic-format-tag-uml-prototype semantic-format-tag-uml-concise-prototype semantic-format-tag-prin1) (#$ . 508)) #@138 A List used by customizable variables to choose a tag to text function. Use this variable in the :type field of a customizable variable. (defvar semantic-format-tag-custom-list (byte-code "\301\302\303\304\"\305#\207" [semantic-format-tag-functions append (radio) mapcar #[(f) "\301D\207" [f function-item] 2] (function)] 5) (#$ . 1332)) #@120 Non-nil means semantic format functions use images. Images can be used as icons instead of some types of text strings. (custom-declare-variable 'semantic-format-use-images-flag 'ezimage-use-images '(#$ . 1679) :group 'semantic :type 'boolean) #@63 Text used to separate arguments when creating text from tags. (defvar semantic-function-argument-separator "," (#$ . 1928)) (make-variable-buffer-local 'semantic-function-argument-separator) #@76 Text used to separate names when between namespaces/classes and functions. (defvar semantic-format-parent-separator "::" (#$ . 2125)) (make-variable-buffer-local 'semantic-format-parent-separator) #@464 Face used to colorize tags of different types. Override the value locally if a language supports other tag types. When adding new elements, try to use symbols also returned by the parser. The form of an entry in this list is of the form: ( SYMBOL . FACE ) where SYMBOL is a tag type symbol used with semantic, and FACE is a symbol representing a face. Faces used are generated in `font-lock' for consistency, and will not be used unless font lock is a feature. (defvar semantic-format-face-alist '((function . font-lock-function-name-face) (variable . font-lock-variable-name-face) (type . font-lock-type-face) (include . font-lock-constant-face) (package . font-lock-constant-face) (label . font-lock-string-face) (comment . font-lock-comment-face) (keyword . font-lock-keyword-face) (abstract . italic) (static . underline) (documentation . font-lock-doc-face)) (#$ . 2329)) #@168 Apply onto TEXT a color associated with FACE-CLASS. FACE-CLASS is a tag type found in `semantic-format-face-alist'. See that variable for details on adding new types. (defalias 'semantic--format-colorize-text #[(text face-class) "\305\306!\203 \307 \"\243\n\260\310\311\nG\304\f%\210*\207\n\207" [face-class semantic-format-face-alist text newtext face featurep font-lock assoc put-text-property 0] 6 (#$ . 3215)]) #@177 Apply onto PRECOLOREDTEXT a color associated with FACE-CLASS. FACE-CLASS is a tag type found in `semantic-formatface-alist'. See that variable for details on adding new types. (defalias 'semantic--format-colorize-merge-text #[(precoloredtext face-class) "\305 \"\243\n\260\306\307G\304\310%\210*\207" [face-class semantic-format-face-alist precoloredtext newtext face assoc alter-text-property 0 #[(current-face) "\304!\203 C\202 <\203 \202 \305\304 !\203 C\202* <\203) \202* \305\306\n\"*\207" [current-face face nf cf facep nil append] 3]] 6 (#$ . 3644)]) #@134 Format the argument list ARGS with FORMATTER. FORMATTER is a function used to format a tag. COLOR specifies if color should be used. (defalias 'semantic--format-tag-arguments #[(args formatter color) "\306 \203c \n\203R @\30718 :\2054 @;\2054 A@9\2054 A@\2054 \3108<\2054 \3118<0\202: \210\306)\203R @\211@)\312\230\204R \n @\306\f#\202Y \313 @\306\f\314$B A\211\204 \315\316\237 #)\207" [out args formatter tag color semantic-function-argument-separator nil (error) 2 3 "" semantic-format-tag-name-from-anything variable mapconcat identity] 6 (#$ . 4231)]) #@122 Convert the data type of TAG to a string usable in tag formatting. It is presumed that TYPE is a string or semantic tag. (defalias 'semantic-format-tag-type #[(tag color) "\306\211\307\310\311!\307\204\"