%PDF- %PDF-
Direktori : /usr/local/share/emacs/27.2/lisp/cedet/srecode/ |
Current File : //usr/local/share/emacs/27.2/lisp/cedet/srecode/compile.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\300\306!\210\307\310\311\312!\"\210\307\313\314\312!\"\210\307\315\313\"\210\316\315\317\320#\210\321\312\322\313#\323\312\324\325\326$\207" [require semantic eieio cl-generic eieio-base srecode/table srecode/dictionary defalias srecode-template-p eieio-make-class-predicate srecode-template srecode-template--eieio-childp eieio-make-child-predicate srecode-template-child-p make-obsolete "use (cl-typep ... \\='srecode-template) instead" "25.1" define-symbol-prop cl-deftype-satisfies eieio-defclass-internal (eieio-named) ((context :initarg :context :initform nil :documentation "Context this template belongs to.") (args :initarg :args :documentation "List of arguments that this template requires.") (code :initarg :code :documentation "Compiled text from the template.") (dictionary :initarg :dictionary :type (or null srecode-dictionary) :documentation "List of section dictionaries.\nThe compiled template can contain lists of section dictionaries,\nor values that are expected to be passed down into different\nsection macros. The template section dictionaries are merged in with\nany incoming dictionaries values.") (binding :initarg :binding :documentation "Preferred keybinding for this template in `srecode-minor-mode-map'.") (active :allocation :class :initform nil :documentation "During template insertion, this is the stack of active templates.\nThe top-most template is the `active' template. Use the accessor methods\nfor push, pop, and peek for the active template.") (table :initarg :table :documentation "The table this template lives in.")) (:documentation "Class defines storage for semantic recoder templates.")] 6) #@55 Create a new object of class type `srecode-template'. (defalias 'srecode-template #[(&rest slots) "\301\302\303#\207" [slots apply make-instance srecode-template] 4 (#$ . 2128)]) (byte-code "\300\301\302\303#\300\207" [function-put srecode-template compiler-macro srecode-template--anon-cmacro] 4) (defalias 'srecode-template--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]) #@120 Flush the active template storage. Useful if something goes wrong in SRecode, and the active template stack is broken. (defalias 'srecode-flush-active-templates #[nil "\300\301\302\"\203 \303\304\305\300\301\302\"G\"!\205 \306\301\302\307#\207\310\311!\207" [eieio-oref-default srecode-template active y-or-n-p format "%d active templates. Flush? " eieio-oset-default nil message "No active templates to flush."] 6 (#$ . 2651) nil]) (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-template-inserter-p eieio-make-class-predicate srecode-template-inserter srecode-template-inserter--eieio-childp eieio-make-child-predicate srecode-template-inserter-child-p make-obsolete "use (cl-typep ... \\='srecode-template-inserter) instead" "25.1" define-symbol-prop cl-deftype-satisfies eieio-defclass-internal (eieio-named) ((secondname :initarg :secondname :type (or null string) :documentation "If there is a colon in the inserter's name, it represents\nadditional static argument data.")) (:documentation "This represents an item to be inserted via a template macro.\nPlain text strings are not handled via this baseclass." :abstract t)] 6) #@69 You cannot create a new object of type `srecode-template-inserter'. (defalias 'srecode-template-inserter #[(&rest _) "\300\301!\207" [error "Class srecode-template-inserter is abstract"] 2 (#$ . 3904)]) (byte-code "\300\301\302\303\302\304%\210\300\305\302\306\302\307%\210\300\310\302\311\302\312%\210\313\314\315\316!\"\210\313\317\320\316!\"\210\313\321\317\"\210\322\321\323\324#\210\325\316\326\317#\327\316\302\330\331$\207" [cl-generic-define-method srecode-parse-input nil ((_ins srecode-template-inserter) _tag input _STATE) #[(_ins _tag input _STATE) "\207" [input] 1 "For the template inserter INS, parse INPUT.\nShorten input only by the amount needed.\nReturn the remains of INPUT.\nSTATE is the current compilation state."] srecode-match-end ((_ins srecode-template-inserter) _name) #[(_ins _name) "\300\207" [nil] 1 "For the template inserter INS, do I end a section called NAME?"] srecode-inserter-apply-state ((_ins srecode-template-inserter) _STATE) #[(_ins _STATE) "\300\207" [nil] 1 "For the template inserter INS, apply information from STATE."] defalias srecode-compile-state-p eieio-make-class-predicate srecode-compile-state srecode-compile-state--eieio-childp eieio-make-child-predicate srecode-compile-state-child-p make-obsolete "use (cl-typep ... \\='srecode-compile-state) instead" "25.1" define-symbol-prop cl-deftype-satisfies eieio-defclass-internal ((context :initform "declaration" :documentation "The active context.") (prompts :initform nil :documentation "The active prompts.") (escape_start :initform "{{" :documentation "The starting escape sequence.") (escape_end :initform "}}" :documentation "The ending escape sequence.")) (:documentation "Current state of the compile.")] 6) #@60 Create a new object of class type `srecode-compile-state'. (defalias 'srecode-compile-state #[(&rest slots) "\301\302\303#\207" [slots apply make-instance srecode-compile-state] 4 (#$ . 5630)]) (byte-code "\300\301\302\303#\300\207" [function-put srecode-compile-state compiler-macro srecode-compile-state--anon-cmacro] 4) (defalias 'srecode-compile-state--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 'srecode-compile-add-prompt nil '((state srecode-compile-state) prompttag) nil #[(state prompttag) "\306\n\211@)\307 \310\"\"\307 \310\"\211\203>