%PDF- %PDF-
Direktori : /usr/local/share/emacs/27.2/lisp/cedet/srecode/ |
Current File : //usr/local/share/emacs/27.2/lisp/cedet/srecode/dictionary.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!\210\300\304!\210\300\305!\210\306\307\310\311!\"\210\306\312\313\311!\"\210\306\314\312\"\210\315\314\316\317#\210\320\311\321\312#\322\311\323\324\325$\207" [require eieio cl-generic srecode srecode/table srecode/fields defalias srecode-dictionary-p eieio-make-class-predicate srecode-dictionary srecode-dictionary--eieio-childp eieio-make-child-predicate srecode-dictionary-child-p make-obsolete "use (cl-typep ... \\='srecode-dictionary) instead" "25.1" define-symbol-prop cl-deftype-satisfies eieio-defclass-internal nil ((namehash :initarg :namehash :documentation "Hash table containing the names of all the templates.") (buffer :initarg :buffer :documentation "The buffer this dictionary was initialized with.") (parent :initarg :parent :type (or null srecode-dictionary) :documentation "The parent dictionary.\nSymbols not appearing in this dictionary will be checked against the\nparent dictionary.") (origin :initarg :origin :type string :documentation "A string representing the origin of this dictionary.\nUseful only while debugging.")) (:documentation "Dictionary of symbols and what they mean.\nDictionaries are used to look up named symbols from\ntemplates to decide what to do with those symbols.")] 6) #@57 Create a new object of class type `srecode-dictionary'. (defalias 'srecode-dictionary #[(&rest slots) "\301\302\303#\207" [slots apply make-instance srecode-dictionary] 4 (#$ . 1676)]) (byte-code "\300\301\302\303#\300\207" [function-put srecode-dictionary compiler-macro srecode-dictionary--anon-cmacro] 4) (defalias 'srecode-dictionary--anon-cmacro #[(whole &rest slots) "@;\204 \207\302\303\304@ @# @\305@DABB\"\207" [slots whole macroexp--warn-and-return format "Obsolete name arg %S to constructor %S" identity] 5]) (byte-code "\300\301\302\303!\"\210\300\304\305\303!\"\210\300\306\304\"\210\307\306\310\311#\210\312\303\313\304#\314\303\315\211\316$\207" [defalias srecode-dictionary-compound-value-p eieio-make-class-predicate srecode-dictionary-compound-value srecode-dictionary-compound-value--eieio-childp eieio-make-child-predicate srecode-dictionary-compound-value-child-p make-obsolete "use (cl-typep ... \\='srecode-dictionary-compound-value) instead" "25.1" define-symbol-prop cl-deftype-satisfies eieio-defclass-internal nil (:documentation "A compound dictionary value.\nValues stored in a dictionary must be a STRING,\na dictionary for showing sections, or an instance of a subclass\nof this class.\n\nCompound dictionary values derive from this class, and must\nprovide a sequence of method implementations to convert into\na string." :abstract t)] 6) #@77 You cannot create a new object of type `srecode-dictionary-compound-value'. (defalias 'srecode-dictionary-compound-value #[(&rest _) "\300\301!\207" [error "Class srecode-dictionary-compound-value is abstract"] 2 (#$ . 3061)]) (byte-code "\300\301\302\303!\"\210\300\304\305\303!\"\210\300\306\304\"\210\307\306\310\311#\210\312\303\313\304#\314\303\315\316\317$\207" [defalias srecode-dictionary-compound-variable-p eieio-make-class-predicate srecode-dictionary-compound-variable srecode-dictionary-compound-variable--eieio-childp eieio-make-child-predicate srecode-dictionary-compound-variable-child-p make-obsolete "use (cl-typep ... \\='srecode-dictionary-compound-variable) instead" "25.1" define-symbol-prop cl-deftype-satisfies eieio-defclass-internal (srecode-dictionary-compound-value) ((value :initarg :value :documentation "The value of this template variable.\nVariables in template files are usually a single string\nwhich can be inserted into a dictionary directly.\n\nSome variables may be more complex and involve dictionary\nlookups, strings, concatenation, or the like.\n\nThe format of VALUE is determined by current template\nformatting rules.") (compiled :initarg :compiled :type list :documentation "The compiled version of VALUE.")) (:documentation "A compound dictionary value for template file variables.\nYou can declare a variable in a template like this:\n\nset NAME \"str\" macro \"OTHERNAME\"\n\nwith appending various parts together in a list.")] 6) #@75 Create a new object of class type `srecode-dictionary-compound-variable'. (defalias 'srecode-dictionary-compound-variable #[(&rest slots) "\301\302\303#\207" [slots apply make-instance srecode-dictionary-compound-variable] 4 (#$ . 4548)]) (byte-code "\300\301\302\303#\300\207" [function-put srecode-dictionary-compound-variable compiler-macro srecode-dictionary-compound-variable--anon-cmacro] 4) (defalias 'srecode-dictionary-compound-variable--anon-cmacro #[(whole &rest slots) "@;\204 \207\302\303\304@ @# @\305@DABB\"\207" [slots whole macroexp--warn-and-return format "Obsolete name arg %S to constructor %S" identity] 5]) (cl-generic-define-method 'initialize-instance nil '((this srecode-dictionary-compound-variable) &optional fields) t #[(#1=#:cl--cnm this &optional fields) "\306\211\n\203' \n@\307=\203 \nA@\202 \nA@\n@ BB\nAA\211\204 \f \237\"\210\310\f\311\"?\205\210 \312\f\313\"\306\211\203\201 @\211;\203S B\202w <\203q @\314=\203q \315\316!\210\317A\" B\202w \320\321\"\210)A\211\204A \322\f\311 \237#**\207" [state newfields fields #1# this comp nil :state slot-boundp compiled eieio-oref value macro require srecode/compile srecode-compile-parse-inserter error "Don't know how to handle variable value %S" eieio-oset val nval] 5 "Initialize the compound variable THIS.\nMakes sure that :value is compiled."]) #@466 Create a dictionary for BUFFER-OR-PARENT. If BUFFER-OR-PARENT is not specified, assume a buffer, and use the current buffer. If BUFFER-OR-PARENT is another dictionary, then remember the parent within the new dictionary, and assume that BUFFER is the same as belongs to the parent dictionary. The dictionary is initialized with variables setup for that buffer's table. If BUFFER-OR-PARENT is t, then this dictionary should not be associated with a buffer or parent. (defalias 'srecode-create-dictionary #[(&optional buffer-or-parent) "\212\306\211\211\211\307\f!\203 \fq\210\f\310\f!\311\202\\ \312\f!\203E \f\313\f\302\"\314\f!\315\n\2038 \310\n!\2029 \316Q\n\203\\ \nq\210\202\\ \f\311=\203R \306\317\202\\ p\320\310\n!P\311\321\322\323\n\324\325\326\327\330\331\332$\333 & \203\212 \334!\334\335! !\336 \"\210\336 !\"\210* .\207" [initfrombuff origin buffer parent buffer-or-parent dict nil bufferp buffer-name t srecode-dictionary--eieio-childp eieio-oref eieio-object-name " in " "no buffer" "Unspecified Origin" "Unspecified. Assume " make-instance srecode-dictionary :buffer :parent :namehash make-hash-table :test equal :size 20 :origin srecode-get-mode-table default srecode-dictionary-add-template-table major-mode def mt] 12 (#$ . 5925)]) (byte-code "\300\301\302\303\302\304%\210\300\305\302\306\302\307%\210\300\310\302\311\302\312%\210\300\313\302\314\302\315%\210\300\316\302\317\302\320%\210\300\321\302\322\302\323%\210\300\324\302\325\302\326%\210\300\327\302\330\302\331%\210\300\332\302\333\302\334%\210\300\335\302\336\302\337%\210\300\340\302\341\302\342%\210\300\335\302\343\302\344%\210\300\340\302\345\302\346%\210\347\350\351\352!\"\210\347\353\354\352!\"\210\347\355\353\"\210\356\355\357\360#\210\361\352\362\353#\363\352\364\365\366$\207" [cl-generic-define-method srecode-dictionary-add-template-table nil ((dict srecode-dictionary) tpl) #[(dict tpl) "\205? \304\305\306\"!\307\310!\210 \205>