Server IP : 111.118.215.189 / Your IP : 18.217.207.112 Web Server : Apache System : Linux md-in-83.webhostbox.net 4.19.286-203.ELK.el7.x86_64 #1 SMP Wed Jun 14 04:33:55 CDT 2023 x86_64 User : a1673wkz ( 2475) PHP Version : 8.2.25 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON Directory (0755) : /usr/share/emacs/24.3/lisp/cedet/srecode/ |
[ Home ] | [ C0mmand ] | [ Upload File ] |
---|
;ELC ;;; Compiled by mockbuild@buildfarm06-new.corp.cloudlinux.com on Fri Oct 11 10:11:29 2024 ;;; from file /builddir/build/BUILD/emacs-24.3/lisp/cedet/srecode/compile.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!\210\300\302!\210\300\303!\210\300\304!\210\300\305!\210\306\307\310\311\312$\207" [require semantic eieio eieio-base srecode/table srecode/dictionary eieio-defclass srecode-template (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.")) ("Class defines storage for semantic recoder templates.")] 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 "\301\302\"\203 \303\304\305\301\302\"G\"!\205 \306\302\307#\207\310\311!\207" [srecode-template eieio-oref active y-or-n-p format "%d active templates. Flush? " eieio-oset-default nil message "No active templates to flush."] 6 (#$ . 1886) nil]) (byte-code "\300\301\302\303\304$\210\305\306\307\306\310\"\"\210\311\306\312\301\313$\210\305\314\307\314\315\"\"\210\311\314\312\301\316$\210\305\317\307\317\320\"\"\210\311\317\312\301\321$\210\305\322\307\322\323\"\"\210\311\322\324\301\325$\210\300\326\312\327\330$\210\305\331\307\331\332\"\"\210\311\331\312\326\333$\207" [eieio-defclass srecode-template-inserter (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.")) ("This represents an item to be inserted via a template macro.\nPlain text strings are not handled via this baseclass." :abstract t) eieio--defalias srecode-parse-input eieio--defgeneric-init-form #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." eieio--defmethod nil #[(ins tag input STATE) "\207" [input] 1 #1#] srecode-match-end #2="For the template inserter INS, do I end a section called NAME?" #[(ins name) "\300\207" [nil] 1 #2#] srecode-inserter-apply-state #3="For the template inserter INS, apply information from STATE." #[(ins STATE) "\300\207" [nil] 1 #3#] srecode-inserter-prin-example #4="Insert an example using inserter INS.\nArguments ESCAPE-START and ESCAPE-END are the current escape sequences in use." :STATIC #[(ins escape-start escape-end) "\303\304!\210\303!\210\305 \306\"\203 \307 \306\"\203 \303\310\311\307 \306\"\"!\210\303\312!\210\303\n!\210\313 \207" [escape-start ins escape-end princ " " slot-exists-p key eieio-oref format "%c" "VARNAME" terpri] 6 #4#] srecode-compile-state ((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.")) ("Current state of the compile.") srecode-compile-add-prompt #5="Add PROMPTTAG to the current list of prompts." #[(state prompttag) "\306\211@)\307\n\310\"\"\307\n\310\"\211\2036 \307\n\310\"\311 \2035 @@@\230\204. @B A\211\204 )\n\312\310B#+\207" [prompttag tag state newprompts match tmp assoc slot-value prompts nil eieio-oset #:v] 6 #5#]] 5) #@44 Compile the templates from the file FNAME. (defalias 'srecode-compile-file #[(fname) "\303!\212 \204 \304!q\210\202 q\210\n\204 \305 \210\306 \210 ?\205&