]> crepu.dev Git - config.git/blame - djavu-asus/elpa/yasnippet-20200604.246/yasnippet.elc
Configuracion en desarrollo PC pega
[config.git] / djavu-asus / elpa / yasnippet-20200604.246 / yasnippet.elc
CommitLineData
53e6db90
DC
1;ELC\1c\0\0\0
2;;; Compiled
3;;; in Emacs version 28.2
4;;; with all optimizations.
5
6
7
8(byte-code "\300\301!\210\300\302!\210\300\303!\210\300\304!\210\305\306\307\310\311\312\313\314&\a\207" [require cl-lib eldoc easymenu help-mode custom-declare-group yasnippet nil "Yet Another Snippet extension" :prefix "yas-" :group editing] 8)
9#@43 Directory that yasnippet was loaded from.\1f
10(defconst yas--loaddir (byte-code "\302\b\206\ 6\0 !\207" [load-file-name buffer-file-name file-name-directory] 2) (#$ . 330))
11(defconst yas-installed-snippets-dir (expand-file-name "snippets" yas--loaddir))
12(make-obsolete-variable 'yas-installed-snippets-dir "Yasnippet no longer comes with installed snippets" "0.14")
13(defconst yas--default-user-snippets-dir (expand-file-name "snippets" user-emacs-directory))
14#@358 List of top-level snippet directories.
15
16Each element, a string or a symbol whose value is a string,
17designates a top-level directory where per-mode snippet
18directories can be found.
19
20Elements appearing earlier in the list override later elements'
21snippets.
22
23The first directory is taken as the default for storing snippet's
24created with `yas-new-snippet'. \1f
25(custom-declare-variable 'yas-snippet-dirs '(list yas--default-user-snippets-dir) '(#$ . 788) :type '(choice (directory :tag "Single directory") (repeat :tag "List of directories" (choice (directory) (variable)))) :set #[(symbol new) "\303\b!\205\b\0\bJ\19\304\b\n\"\210\305\306!?\206\18\0 \n\232?\205\1e\0\306 )\207" [symbol old new boundp set-default fboundp yas-reload-all] 3])
26#@56 Return variable `yas-snippet-dirs' as list of strings.\1f
27(defalias 'yas-snippet-dirs #[nil "\b<\203 \0\b\202\v\0\bC\19\304\211\1a\e :\203E\0 @\211\12;\203!\0\n\202;\0\n9\2037\0\305\n!\2037\0\nJ;\2037\0\nJ\202;\0\306\307\n\"\vB\13 A\211\11\202\11\0\v\237+\207" [yas-snippet-dirs #1=#:--cl-var-- e #2=#:--cl-var-- nil boundp error "[yas] invalid element %s in `yas-snippet-dirs'"] 4 (#$ . 1519)])
28(byte-code "\300\301\302\303\304\305%\210\300\306\307\310\304\311%\210\300\312\313\314\304\315%\210\300\316\317\320\304\321%\210\300\322\317\323\304\321%\210\300\324\325\326\304\321%\210\300\327\317\330\304\321%\210\300\331\332\333\304\334%\210\335\331\336\337#\210\300\340\317\341\304\321%\210\300\342\317\343\304\321%\210\300\344\345\346\304\347%\210\300\350\351\352\304\305%\210\300\353\317\354\304\355%\210\300\356\325\357\304\321%\210\300\360\317\361\304\321%\210\300\362\317\363\304\364%\210\300\365\325\366\304\321%\210\367\370\371\372#\210\367\373\317\374#\207" [custom-declare-variable yas-new-snippet-default "# -*- mode: snippet -*-\n# name: $1\n# key: ${2:${1:$(yas--key-from-desc yas-text)}}\n# --\n$0`(yas-escape-text yas-selected-text)`" "Default snippet to use when creating a new snippet.\nIf nil, don't use any snippet." :type string yas-prompt-functions '(yas-dropdown-prompt yas-completing-prompt yas-maybe-ido-prompt yas-no-prompt) "Functions to prompt for keys, templates, etc interactively.\n\nThese functions are called with the following arguments:\n\n- PROMPT: A string to prompt the user\n\n- CHOICES: a list of strings or objects.\n\n- optional DISPLAY-FN : A function that, when applied to each of\nthe objects in CHOICES will return a string.\n\nThe return value of any function you put here should be one of\nthe objects in CHOICES, properly formatted with DISPLAY-FN (if\nthat is passed).\n\n- To signal that your particular style of prompting is\nunavailable at the moment, you can also have the function return\nnil.\n\n- To signal that the user quit the prompting process, you can\nsignal `quit' with\n\n (signal \\='quit \"user quit!\")" (repeat function) yas-indent-line 'auto "Controls indenting applied to a recent snippet expansion.\n\nThe following values are possible:\n\n- `fixed' Indent the snippet to the current column;\n\n- `auto' Indent each line of the snippet with `indent-according-to-mode'\n\nEvery other value means don't apply any snippet-side indentation\nafter expansion (the manual per-line \"$>\" indentation still\napplies)." (choice (const :tag "Nothing" nothing) (const :tag "Fixed" fixed) (const :tag "Auto" auto)) yas-also-auto-indent-first-line nil "Non-nil means also auto indent first line according to mode.\n\nNaturally this is only valid when `yas-indent-line' is `auto'." boolean yas-also-indent-empty-lines "Non-nil means also indent empty lines according to mode." yas-snippet-revival t "Non-nil means re-activate snippet fields after undo/redo." yas-triggers-in-field "If non-nil, allow stacked expansions (snippets inside snippets).\n\nOtherwise `yas-next-field-or-maybe-expand' just moves on to the\nnext field" yas-fallback-behavior 'return-nil "This option is obsolete.\nNow that the conditional keybinding `yas-maybe-expand' is\navailable, there's no more need for it." (choice (const :tag "Call previous command" call-other-command) (const :tag "Do nothing" return-nil)) make-obsolete-variable "For `call-other-command' behavior bind to the conditional\ncommand value `yas-maybe-expand', for `return-nil' behavior bind\ndirectly to `yas-expand'." "0.12" yas-choose-keys-first "If non-nil, prompt for snippet key first, then for template.\n\nOtherwise prompts for all possible snippet names.\n\nThis affects `yas-insert-snippet' and `yas-visit-snippet-file'." yas-choose-tables-first "If non-nil, and multiple eligible snippet tables, prompts user for tables first.\n\nOtherwise, user chooses between the merging together of all\neligible tables.\n\nThis affects `yas-insert-snippet', `yas-visit-snippet-file'" yas-use-menu 'abbreviate "Display a YASnippet menu in the menu bar.\n\nWhen non-nil, submenus for each snippet table will be listed\nunder the menu \"Yasnippet\".\n\n- If set to `abbreviate', only the current major-mode\nmenu and the modes set in `yas--extra-modes' are listed.\n\n- If set to `full', every submenu is listed\n\n- If set to nil, hide the menu.\n\nAny other non-nil value, every submenu is listed." (choice (const :tag "Full" full) (const :tag "Abbreviate" abbreviate) (const :tag "No menu" nil)) yas-trigger-symbol (or (and (eq window-system 'mac) (ignore-errors (char-to-string 8677))) " =>") "The text that will be used in menu to represent the trigger." yas-wrap-around-region "What to insert for snippet's $0 field.\n\nIf set to a character, insert contents of corresponding register.\nIf non-nil insert region contents. This can be overridden on a\nper-snippet basis. A value of `cua' is considered equivalent to\n`?0' for backwards compatibility." (choice (character :tag "Insert from register") (const t :tag "Insert region contents") (const nil :tag "Don't insert anything") (const cua)) yas-good-grace "If non-nil, don't raise errors in elisp evaluation.\n\nThis affects both the inline elisp in snippets and the hook\nvariables such as `yas-after-exit-snippet-hook'.\n\nIf this variable's value is `inline', an error string \"[yas]\nerror\" is returned instead of raising the error. If this\nvariable's value is `hooks', a message is output to according to\n`yas-verbosity-level'. If this variable's value is t, both are\nactive." yas-visit-from-menu "If non-nil visit snippets's files from menu, instead of expanding them.\n\nThis can only work when snippets are loaded from files." yas-expand-only-for-last-commands "List of `last-command' values to restrict tab-triggering to, or nil.\n\nLeave this set at nil (the default) to be able to trigger an\nexpansion simply by placing the cursor after a valid tab trigger,\nusing whichever commands.\n\nOptionally, set this to something like (self-insert-command) if\nyou to wish restrict expansion to only happen when the last\nletter of the snippet tab trigger was typed immediately before\nthe trigger key itself." (repeat function) yas-alias-to-yas/prefix-p "If non-nil make aliases for the old style yas/ prefixed symbols.\nIt must be set to nil before loading yasnippet to take effect." custom-declare-face yas-field-highlight-face ((t (:inherit region))) "The face used to highlight the currently active field of a snippet" yas--field-debug-face "The face used for debugging some overlays normally hidden"] 6)
29#@182 A conditional key definition.
30This can be used as a key definition in keymaps to bind a key to
31`yas-skip-and-clear-field' only when at the beginning of an
32unmodified snippet field.\1f
33(defconst yas-maybe-skip-and-clear-field '(menu-item "" yas-skip-and-clear-field :filter yas--maybe-clear-field-filter) (#$ . 8075))
34#@173 A conditional key definition.
35This can be used as a key definition in keymaps to bind a key to
36`yas-clear-field' only when at the beginning of an
37unmodified snippet field.\1f
38(defconst yas-maybe-clear-field '(menu-item "" yas-clear-field :filter yas--maybe-clear-field-filter) (#$ . 8396))
39#@103 Return a condition key definition.
40The condition will respect the value of `yas-keymap-disable-hook'.\1f
41(defalias 'yas-filtered-definition #[(def) "\301\302\b\303\304\257\ 5\207" [def menu-item "" :filter #[(cmd) "\301\302!?\205\b\0\b\207" [cmd run-hook-with-args-until-success yas-keymap-disable-hook] 2]] 5 (#$ . 8690)])
42#@61 The active keymap while a snippet expansion is in progress.\1f
43(defvar yas-keymap (byte-code "\303 \18\304\b\305\306\307!#\210\304\b\310\306\307!#\210\304\b\311\306\312!#\210\304\b\313\306\312!#\210\304\b\314\306\315!#\210\304\b\316\306 !#\210\304\b\317\306\n!#\210\b)\207" [map yas-maybe-skip-and-clear-field yas-maybe-clear-field make-sparse-keymap define-key [(tab)] yas-filtered-definition yas-next-field-or-maybe-expand " " [(shift tab)] yas-prev-field [backtab] "\a" yas-abort-snippet "\ 4" "\7f"] 5) (#$ . 9011))
44#@1472 Syntaxes and functions to help look for trigger keys before point.
45
46Each element in this list specifies how to skip buffer positions
47backwards and look for the start of a trigger key.
48
49Each element can be either a string or a function receiving the
50original point as an argument. A string element is simply passed
51to `skip-syntax-backward' whereas a function element is called
52with no arguments and should also place point before the original
53position.
54
55The string between the resulting buffer position and the original
56point is matched against the trigger keys in the active snippet
57tables.
58
59If no expandable snippets are found, the next element is the list
60is tried, unless a function element returned the symbol `again',
61in which case it is called again from the previous position and
62may once more reposition point.
63
64For example, if `yas-key-syntaxes' has the value ("w" "w_"),
65trigger keys composed exclusively of "word"-syntax characters
66are looked for first. Failing that, longer keys composed of
67"word" or "symbol" syntax are looked for. Therefore,
68triggering after
69
70foo-barbaz
71
72will, according to the "w" element first try "barbaz". If
73that isn't a trigger key, "foo-barbaz" is tried, respecting the
74second "w_" element. Notice that even if "baz" is a trigger
75key for an active snippet, it won't be expanded, unless a
76function is added to `yas-key-syntaxes' that eventually places
77point between "bar" and "baz".
78
79See also Info node `(elisp) Syntax Descriptors'.\1f
80(defvar yas-key-syntaxes (list 'yas-try-key-from-whitespace "w_.()" "w_." "w_" "w") (#$ . 9521))
81#@309 Hooks to run after a snippet exited.
82
83The hooks will be run in an environment where some variables bound to
84proper values:
85
86`yas-snippet-beg' : The beginning of the region of the snippet.
87
88`yas-snippet-end' : Similar to beg.
89
90Attention: These hooks are not run when exiting nested/stacked snippet expansion!\1f
91(defvar yas-after-exit-snippet-hook nil (#$ . 11096))
92#@47 Hooks to run just before expanding a snippet.\1f
93(defvar yas-before-expand-snippet-hook nil (#$ . 11464))
94#@109 Disables snippet expansion in strings and comments.
95To use, set `yas-buffer-local-condition' to this value.\1f
96(defconst yas-not-string-or-comment-condition '(if (let ((ppss (syntax-ppss))) (or (nth 3 ppss) (nth 4 ppss))) '(require-snippet-condition . force-in-comment) t) (#$ . 11574))
97(byte-code "\301\302\303\304\305\306\307\310\311\bF\312BB%\210\301\313\314\315\305\316%\210\301\317\320\321\305\322%\210\301\323\314\324\305\325%\207" [yas-not-string-or-comment-condition custom-declare-variable yas-buffer-local-condition t "Snippet expanding condition.\n\nThis variable is a Lisp form which is evaluated every time a\nsnippet expansion is attempted:\n\n * If it evaluates to nil, no snippets can be expanded.\n\n * If it evaluates to the a cons (require-snippet-condition\n . REQUIREMENT)\n\n * Snippets bearing no \"# condition:\" directive are not\n considered\n\n * Snippets bearing conditions that evaluate to nil (or\n produce an error) won't be considered.\n\n * If the snippet has a condition that evaluates to non-nil\n RESULT:\n\n * If REQUIREMENT is t, the snippet is considered\n\n * If REQUIREMENT is `eq' RESULT, the snippet is\n considered\n\n * Otherwise, the snippet is not considered.\n\n * If it evaluates to the symbol `always', all snippets are\n considered for expansion, regardless of any conditions.\n\n * If it evaluates to t or some other non-nil value\n\n * Snippet bearing no conditions, or conditions that\n evaluate to non-nil, are considered for expansion.\n\n * Otherwise, the snippet is not considered.\n\nHere's an example preventing snippets from being expanded from\ninside comments, in `python-mode' only, with the exception of\nsnippets returning the symbol `force-in-comment' in their\nconditions.\n\n (add-hook \\='python-mode-hook\n (lambda ()\n (setq yas-buffer-local-condition\n \\='(if (python-syntax-comment-or-string-p)\n \\='(require-snippet-condition . force-in-comment)\n t))))" :type choice const :tag "Disable snippet expansion inside strings and comments" ((const :tag "Expand all snippets regardless of conditions" always) (const :tag "Expand snippets unless their condition is nil" t) (const :tag "Disable all snippet expansion" nil) sexp) yas-keymap-disable-hook nil "The `yas-keymap' bindings are disabled if any function in this list returns non-nil.\nThis is useful to control whether snippet navigation bindings\noverride bindings from other packages (e.g., `company-mode')." hook yas-overlay-priority 100 "Priority to use for yasnippets overlays.\nThis is useful to control whether snippet navigation bindings\noverride `keymap' overlay property bindings from other packages." integer yas-inhibit-overlay-modification-protection "If nil, changing text outside the active field aborts the snippet.\nThis protection is intended to prevent yasnippet from ending up\nin an inconsistent state. However, some packages (e.g., the\ncompany completion package) may trigger this protection when it\nis not needed. In that case, setting this variable to non-nil\ncan be useful." boolean] 10)
98(defconst yas--version "0.14.0")
99#@53 A hash table of MAJOR-MODE symbols to menu keymaps.\1f
100(defvar yas--menu-table (make-hash-table) (#$ . 14866))
101#@54 List of characters which *might* need to be escaped.\1f
102(defvar yas--escaped-characters '(92 96 34 39 36 125 123 40 41) (#$ . 14980))
103#@41 A regexp to *almost* recognize a field.\1f
104(defconst yas--field-regexp "${\\([0-9]+:\\)?\\([^}]*\\)}" (#$ . 15117))
105#@55 A regexp to *almost* recognize a "$(...)" expression.\1f
106(defconst yas--multi-dollar-lisp-expression-regexp "$+[ \n]*\\(([^)]*)\\)" (#$ . 15236))
107#@61 A regexp to recognize a "\=`lisp-expression\=`" expression.\1f
108(defconst yas--backquote-lisp-expression-regexp "`\\([^`]*\\)`" (#$ . 15386))
109#@59 A regexp to *almost* recognize a mirror with a transform.\1f
110(defconst yas--transform-mirror-regexp "${\\(?:\\([0-9]+\\):\\)?$\\([ \n]*([^}]*\\)" (#$ . 15530))
111#@40 A regexp to recognize a simple mirror.\1f
112(defconst yas--simple-mirror-regexp "$\\([0-9]+\\)" (#$ . 15694))
113#@37 Contains the next id for a snippet.\1f
114(defvar yas--snippet-id-seed 0 (#$ . 15805))
115#@45 The original value of `auto-fill-function'.\1f
116(defvar yas--original-auto-fill-function nil (#$ . 15892))
117(make-variable-buffer-local 'yas--original-auto-fill-function)
118(defvar yas--watch-auto-fill-backtrace nil)
119(defalias 'yas--watch-auto-fill #[(sym newval op _where) "\b\303=\203\10\0 \204\10\0\n\306=\204!\0\b\302=\205L\0 \306=\205L\0\v?\205L\0\f?\205L\0\307\310!\205L\0\r\311=\205C\0\312\302!\306=?\205C\0\313\314\310\315!\316\317$?\205L\0\310\315!\211\14\207" [sym newval auto-fill-function yas--original-auto-fill-function yas--watch-auto-fill-backtrace op yas--auto-fill fboundp backtrace-frames makunbound default-value cl-member kill-all-local-variables yas--watch-auto-fill :key #[(frame) "\bA@\207" [frame] 1]] 5])
120(byte-code "\300\301!\203\10\0\301\302\303\"\210\301\304\303\"\210\300\207" [fboundp add-variable-watcher yas--original-auto-fill-function yas--watch-auto-fill auto-fill-function] 3)
121(defalias 'yas--snippet-next-id #[nil "\b\19\bT\10 )\207" [yas--snippet-id-seed id] 1])
122#@27 Holds the YASnippet menu.\1f
123(defvar yas--minor-mode-menu nil (#$ . 16862))
124(defvar yas--condition-cache-timestamp nil)
125#@128 Return CMD if there is an expandable snippet at point.
126This function is useful as a `:filter' to a conditional key
127definition.\1f
128(defalias 'yas-maybe-expand-abbrev-key-filter #[(cmd) "\302 \18\303 )\205\n\0 \207" [yas--condition-cache-timestamp cmd current-time yas--templates-for-key-at-point] 1 (#$ . 16986)])
129(byte-code "\300\301\302\303#\210\304\301\302\305#\207" [defalias yas--maybe-expand-key-filter yas-maybe-expand-abbrev-key-filter nil make-obsolete "0.14"] 4)
130#@164 A conditional key definition.
131This can be used as a key definition in keymaps to bind a key to
132`yas-expand' only when there is a snippet available to be
133expanded.\1f
134(defconst yas-maybe-expand '(menu-item "" yas-expand :filter yas-maybe-expand-abbrev-key-filter) (#$ . 17459))
135#@50 The keymap used when `yas-minor-mode' is active.\1f
136(defvar yas-minor-mode-map (byte-code "\302 \18\303\b\304 #\210\303\b\305 #\210\303\b\306\307#\210\303\b\310\311#\210\303\b\312\313#\210\b)\207" [map yas-maybe-expand make-sparse-keymap define-key [(tab)] " " "\ 3&\13" yas-insert-snippet "\ 3&\ e" yas-new-snippet "\ 3&\16" yas-visit-snippet-file] 4) (#$ . 17739))
137#@44 Menu used when `yas-minor-mode' is active.\1f
138(defvar yas--minor-mode-menu nil (#$ . 18089))
139(byte-code "\303\304\b\305\306$\210\307\310\311\312#\210\313\312\19\211\1a\2033\0\n@\11\310 N\203,\0\311 N\204,\0\314\311 \310 N#\210\nA\211\12\204\15\0*\315\310\311\316#\207" [yas-minor-mode-map prop --dolist-tail-- easy-menu-do-define yas--minor-mode-menu "Menu used when `yas-minor-mode' is active." ("YASnippet" :visible yas-use-menu "----" ["Expand trigger" yas-expand :help "Possibly expand tab trigger before point"] ["Insert at point..." yas-insert-snippet :help "Prompt for an expandable snippet and expand it at point"] ["New snippet..." yas-new-snippet :help "Create a new snippet in an appropriate directory"] ["Visit snippet file..." yas-visit-snippet-file :help "Prompt for an expandable snippet and find its file"] "----" ("Snippet menu behaviour" ["Visit snippets" (setq yas-visit-from-menu t) :help "Visit snippets from the menu" :active t :style radio :selected yas-visit-from-menu] ["Expand snippets" (setq yas-visit-from-menu nil) :help "Expand snippets from the menu" :active t :style radio :selected (not yas-visit-from-menu)] "----" ["Show all known modes" (setq yas-use-menu 'full) :help "Show one snippet submenu for each loaded table" :active t :style radio :selected (eq yas-use-menu 'full)] ["Abbreviate according to current mode" (setq yas-use-menu 'abbreviate) :help "Show only snippet submenus for the current active modes" :active t :style radio :selected (eq yas-use-menu 'abbreviate)]) ("Indenting" ["Auto" (setq yas-indent-line 'auto) :help "Indent each line of the snippet with `indent-according-to-mode'" :active t :style radio :selected (eq yas-indent-line 'auto)] ["Fixed" (setq yas-indent-line 'fixed) :help "Indent the snippet to the current column" :active t :style radio :selected (eq yas-indent-line 'fixed)] ["None" (setq yas-indent-line 'none) :help "Don't apply any particular snippet indentation after expansion" :active t :style radio :selected (not (member yas-indent-line '(fixed auto)))] "----" ["Also auto indent first line" (setq yas-also-auto-indent-first-line (not yas-also-auto-indent-first-line)) :help "When auto-indenting also, auto indent the first line menu" :active (eq yas-indent-line 'auto) :style toggle :selected yas-also-auto-indent-first-line]) ("Prompting method" ["System X-widget" (setq yas-prompt-functions (cons #'yas-x-prompt (remove #'yas-x-prompt yas-prompt-functions))) :help "Use your windowing system's (gtk, mac, windows, etc...) default menu" :active t :style radio :selected (eq (car yas-prompt-functions) #'yas-x-prompt)] ["Dropdown-list" (setq yas-prompt-functions (cons #'yas-dropdown-prompt (remove #'yas-dropdown-prompt yas-prompt-functions))) :help "Use a special dropdown list" :active t :style radio :selected (eq (car yas-prompt-functions) #'yas-dropdown-prompt)] ["Ido" (setq yas-prompt-functions (cons #'yas-ido-prompt (remove #'yas-ido-prompt yas-prompt-functions))) :help "Use an ido-style minibuffer prompt" :active t :style radio :selected (eq (car yas-prompt-functions) #'yas-ido-prompt)] ["Completing read" (setq yas-prompt-functions (cons #'yas-completing-prompt (remove #'yas-completing-prompt yas-prompt-functions))) :help "Use a normal minibuffer prompt" :active t :style radio :selected (eq (car yas-prompt-functions) #'yas-completing-prompt)]) ("Misc" ["Wrap region in exit marker" (setq yas-wrap-around-region (not yas-wrap-around-region)) :help "If non-nil automatically wrap the selected text in the $0 snippet exit" :style toggle :selected yas-wrap-around-region] ["Allow stacked expansions " (setq yas-triggers-in-field (not yas-triggers-in-field)) :help "If non-nil allow snippets to be triggered inside other snippet fields" :style toggle :selected yas-triggers-in-field] ["Revive snippets on undo " (setq yas-snippet-revival (not yas-snippet-revival)) :help "If non-nil allow snippets to become active again after undo" :style toggle :selected yas-snippet-revival] ["Good grace " (setq yas-good-grace (not yas-good-grace)) :help "If non-nil don't raise errors in bad embedded elisp in snippets" :style toggle :selected yas-good-grace]) "----" ["Load snippets..." yas-load-directory :help "Load snippets from a specific directory"] ["Reload everything" yas-reload-all :help "Cleanup stuff, reload snippets, rebuild menus"] ["About" yas-about :help "Display some information about YASnippet"]) defvaralias yas-extra-modes yas--extra-modes nil (saved-value saved-variable-comment) put make-obsolete-variable "0.9.1"] 6)
140#@178 An internal list of modes for which to also lookup snippets.
141
142This variable probably makes more sense as buffer-local, so
143ensure your use `make-local-variable' when you set it.\1f
144(defvar yas--extra-modes nil (#$ . 22602))
145#@55 A hash table of mode symbols to `yas--table' objects.\1f
146(defvar yas--tables (make-hash-table) (#$ . 22828))
147#@348 A hash table of mode symbols do lists of direct parent mode symbols.
148
149This list is populated when reading the ".yas-parents" files
150found when traversing snippet directories with
151`yas-load-directory'.
152
153There might be additional parenting information stored in the
154`derived-mode-parent' property of some mode symbols, but that is
155not recorded here.\1f
156(defvar yas--parents (make-hash-table) (#$ . 22941))
157#@466 Keymap alist supporting direct snippet keybindings.
158
159This variable is placed in `emulation-mode-map-alists'.
160
161Its elements looks like (TABLE-NAME . KEYMAP). They're
162instantiated on `yas-reload-all' but KEYMAP is added to only when
163loading snippets. `yas--direct-TABLE-NAME' is then a variable
164set buffer-locally when entering `yas-minor-mode'. KEYMAP binds
165all defined direct keybindings to `yas-maybe-expand-from-keymap'
166which decides on the snippet to expand.\1f
167(defvar yas--direct-keymaps nil (#$ . 23348))
168#@63 Force reload the direct keybinding for active snippet tables.\1f
169(defalias 'yas-direct-keymaps-reload #[nil "\302\10\303\304 \"\207" [yas--direct-keymaps yas--tables nil maphash #[(name table) "\303\304\305\b\"!\306 !B\nB\211\12\207" [name table yas--direct-keymaps intern format "yas--direct-%s" yas--table-direct-keymap] 4]] 3 (#$ . 23865) nil])
170#@76 Compute list of mode symbols that are active for `yas-expand' and friends.\1f
171(defalias 'yas--modes-to-activate #[(&optional mode) "\b\203 \0\bC\202\ e\0 \305\n!B\e\306\1c\307\f\v\"\210\v\237*\207" [mode major-mode yas--extra-modes explored yas--dfs reverse #[(mode) "\b\306N\206\a\0\307\310\b!\205\ f\0\bK\311\b \"BB\1a\312\e\n:\203>\0\n@\211\13\2037\0\v\f>\2047\0\v9\2037\0\v\fB\14\r\v!\210\nA\211\12\202\19\0*\312\207" [mode yas--parents #1=#:--cl-var-- neighbour explored yas--dfs derived-mode-parent fundamental-mode fboundp gethash nil] 6] mapc] 3 (#$ . 24211)])
172#@46 Hook run when `yas-minor-mode' is turned on.\1f
173(defvar yas-minor-mode-hook nil (#$ . 24742))
174(defalias 'yas--auto-fill-wrapper #[nil "\b\205\10\0\b\302=?\205\10\0\b\11\302\211\10\207" [auto-fill-function yas--original-auto-fill-function yas--auto-fill] 2])
175#@97 Non-nil if yas minor mode is enabled.
176Use the command `yas-minor-mode' to change this variable.\1f
177(defvar yas-minor-mode nil (#$ . 24990))
178(make-variable-buffer-local 'yas-minor-mode)
179#@864 Toggle YASnippet mode.
180
181This is a minor mode. If called interactively, toggle the `yas
182minor mode' mode. If the prefix argument is positive, enable the
183mode, and if it is zero or negative, disable the mode.
184
185If called from Lisp, toggle the mode if ARG is `toggle'. Enable
186the mode if ARG is nil, omitted, or is a positive number.
187Disable the mode if ARG is a negative number.
188
189To check whether the minor mode is enabled in the current buffer,
190evaluate `yas-minor-mode'.
191
192The mode's hook is called both when the mode is enabled and when
193it is disabled.
194
195When YASnippet mode is enabled, `yas-expand', normally bound to
196the TAB key, expands snippets of code depending on the major
197mode.
198
199With no argument, this command toggles the mode.
200positive prefix argument turns on the mode.
201Negative prefix argument turns off the mode.
202
203Key bindings:
204\{yas-minor-mode-map}\1f
205(defalias 'yas-minor-mode #[(&optional arg) "\306 \18 \307=\203\ e\0\n?\202\1e\0 \247\203\1d\0 \310W\203\1d\0\311\202\1e\0\312\12\313\303!\2032\0\314\302\v\"\13\n\2032\0\302\vB\13\n\203\216\0\315\316!\203\216\0\317\f>\203G\0\f\210\202K\0\317\fB\14\320\321\322\311\312$\210\323 \311\1d\211\1e,\203\7f\0\ e,@\15\324\325\326\r\"!\1e-\327\ e-\311\"\210\330\ e-!\312L\210)\ e,A\211\16,\204\\\0*\331 \210\332 \210\320\333\332\"\210\202\250\0\334\321\322\312#\210\334\333\332\"\210\335\336!\203\243\0\ e\1e\16.\337\317\f\"\14\340\341\n\203\262\0\342\202\263\0\343\"\210\344\345!\203\332\0\306 \203\307\0\b\306 \232\203\332\0\346\1e/\347\350\n\203\324\0\351\202\325\0\352\ e/#\210))\353 \210\n\207" [#1=#:last-message arg yas-minor-mode local-minor-modes emulation-mode-map-alists mode current-message toggle 1 nil t boundp delq featurep yasnippet yas--direct-keymaps add-hook post-command-hook yas--post-command-handler yas--modes-to-activate intern format "yas--direct-%s" set-default make-local-variable yas--load-pending-jits yas--auto-fill-wrapper auto-fill-mode-hook remove-hook local-variable-p yas--original-auto-fill-function remove run-hooks yas-minor-mode-hook yas-minor-mode-on-hook yas-minor-mode-off-hook called-interactively-p any " in current buffer" message "yas minor mode %sabled%s" "en" "dis" force-mode-line-update --dolist-tail-- name auto-fill-function local] 6 (#$ . 25179) (list (if current-prefix-arg (prefix-numeric-value current-prefix-arg) 'toggle))])
206(defvar yas-minor-mode-hook nil)
207(byte-code "\301\302N\204\f\0\303\301\302\304#\210\303\301\305\306#\210\303\301\307\310C#\210\311\312\313\314\300!\205#\0\b\310\211%\207" [yas-minor-mode-map yas-minor-mode-hook variable-documentation put "Hook run after entering or leaving `yas-minor-mode'.\nNo problems result if this variable is not bound.\n`add-hook' automatically binds it. (This is true for all hook variables.)" custom-type hook standard-value nil add-minor-mode yas-minor-mode " yas" boundp] 6)
208#@164 Activates the snippets for the given `mode' in the buffer.
209
210The function can be called in the hook of a minor mode to
211activate snippets associated with that mode.\1f
212(defalias 'yas-activate-extra-mode #[(mode) "\b\205\r\0\301\302\303!\b\"\210\304 \207" [mode add-to-list make-local-variable yas--extra-modes yas--load-pending-jits] 3 (#$ . 27945) (let (modes symbol) (maphash #'(lambda (k _) (setq modes (cons (list k) modes))) yas--parents) (setq symbol (completing-read "Activate mode: " modes nil t)) (list (if (not (string= "" symbol)) (progn (intern symbol)))))])
213#@62 Deactivates the snippets for the given `mode' in the buffer.\1f
214(defalias 'yas-deactivate-extra-mode #[(mode) "\302\301!\210\303\b \"\211\11\207" [mode yas--extra-modes make-local-variable remove] 3 (#$ . 28513) (list (intern (completing-read "Deactivate mode: " (mapcar #'list yas--extra-modes) nil t)))])
215(defalias 'yas-temp-buffer-p #[(&optional buffer) "\301\b!\302H\303=\207" [buffer buffer-name 0 32] 2])
216(byte-code "\302\303\304\305#\210\306\305\18\211\19\203,\0 @\10\303\bN\203%\0\304\bN\204%\0\307\304\b\303\bN#\210 A\211\11\204\ e\0*\310\303\304\311#\207" [prop --dolist-tail-- defvaralias yas-dont-activate yas-dont-activate-functions nil (saved-value saved-variable-comment) put make-obsolete-variable "0.9.2"] 6)
217#@664 Special hook to control which buffers `yas-global-mode' affects.
218Functions are called with no argument, and should return non-nil to prevent
219`yas-global-mode' from enabling yasnippet in this buffer.
220
221In Emacsen < 24, this variable is buffer-local. Because
222`yas-minor-mode-on' is called by `yas-global-mode' after
223executing the buffer's major mode hook, setting this variable
224there is an effective way to define exceptions to the "global"
225activation behaviour.
226
227In Emacsen >= 24, only the global value is used. To define
228per-mode exceptions to the "global" activation behaviour, call
229`yas-minor-mode' with a negative argument directily in the major
230mode's hook.\1f
231(defvar yas-dont-activate-functions (list 'minibufferp 'yas-temp-buffer-p) (#$ . 29221))
232(byte-code "\b\301V\204\n\0\302\303!\210\301\207" [emacs-major-version 23 make-variable-buffer-local yas-dont-activate] 2)
233#@81 Turn on YASnippet minor mode.
234
235Honour `yas-dont-activate-functions', which see.\1f
236(defalias 'yas-minor-mode-on #[nil "\b<\206\b\0\301\b!?\206\ f\0\302\300!?\205\16\0\303\304!\207" [yas-dont-activate-functions functionp run-hook-with-args-until-success yas-minor-mode 1] 2 (#$ . 30100) nil])
237(put 'yas-global-mode 'globalized-minor-mode t)
238(defvar yas-minor-mode-major-mode nil nil)
239(byte-code "\300\301!\210\302\303\304\305\306\307\310\311\312\313& \207" [make-variable-buffer-local yas-minor-mode-major-mode custom-declare-variable yas-global-mode nil "Non-nil if Yas-Global mode is enabled.\nSee the `yas-global-mode' command\nfor a description of this minor mode.\nSetting this variable directly does not take effect;\neither customize it (see the info node `Easy Customization')\nor call the function `yas-global-mode'." :set custom-set-minor-mode :initialize custom-initialize-default :type boolean] 10)
240#@434 Toggle Yas minor mode in all buffers.
241With prefix ARG, enable Yas-Global mode if ARG is positive; otherwise,
242disable it.
243
244If called from Lisp, toggle the mode if ARG is `toggle'.
245Enable the mode if ARG is nil, omitted, or is a positive number.
246Disable the mode if ARG is a negative number.
247
248Yas minor mode is enabled in all buffers where `yas-minor-mode-on'
249would do it.
250
251See `yas-minor-mode' for more information on Yas minor mode.\1f
252(defalias 'yas-global-mode #[(&optional arg) "\306 \18\307\303 \310=\203\12\0\311\303!?\202\"\0 \247\203!\0 \312W\203!\0\313\202\"\0\314\"\210\315\302!\2039\0\316\303\n\"\12\311\303!\2039\0\303\nB\12\v\203O\0\317\320\321\"\210\317\322\323\"\210\317\324\325\"\210\202^\0\326\320\321\"\210\326\322\323\"\210\326\324\325\"\210\327 \313\1c\211\1d\203\211\0\r@\14r\fq\210\v\203x\0\330 \210\202\201\0\ e\19\203\201\0\331\332!\210)\rA\211\15\204g\0*\333\334\311\303!\203\226\0\335\202\227\0\336\"\210\337\340!\203\304\0\341\303!\210\306 \203\257\0\b\306 \232\203\304\0\342\1e(\343\344\311\303!\203\276\0\345\202\277\0\346\ e(#\210))\347 \210\311\303!\207" [#1=#:last-message arg global-minor-modes yas-global-mode buf --dolist-tail-- current-message set-default toggle default-value 1 nil t boundp delq add-hook after-change-major-mode-hook yas-global-mode-enable-in-buffers find-file-hook yas-global-mode-check-buffers change-major-mode-hook yas-global-mode-cmhh remove-hook buffer-list yas-minor-mode-on yas-minor-mode -1 run-hooks yas-global-mode-hook yas-global-mode-on-hook yas-global-mode-off-hook called-interactively-p any customize-mark-as-set "" message "Yas-Global mode %sabled%s" "en" "dis" force-mode-line-update local] 5 (#$ . 31004) (list (if current-prefix-arg (prefix-numeric-value current-prefix-arg) 'toggle))])
253(defvar yas-global-mode-hook nil)
254(byte-code "\301\302N\204\f\0\303\301\302\304#\210\303\301\305\306#\210\303\301\307\310C#\210\311\312\310\313\300!\205#\0\b\310\211%\207" [yas-global-mode-map yas-global-mode-hook variable-documentation put "Hook run after entering or leaving `yas-global-mode'.\nNo problems result if this variable is not bound.\n`add-hook' automatically binds it. (This is true for all hook variables.)" custom-type hook standard-value nil add-minor-mode yas-global-mode boundp] 6)
255(defvar yas-minor-mode-set-explicitly nil nil)
256(make-variable-buffer-local 'yas-minor-mode-set-explicitly)
257(defalias 'yas-minor-mode-set-explicitly #[nil "\301\211\10\207" [yas-minor-mode-set-explicitly t] 2])
258(byte-code "\300\301\302\303#\210\304\305\301\"\207" [put yas-minor-mode-set-explicitly definition-name yas-global-mode add-hook yas-minor-mode-hook] 4)
259(defvar yas-global-mode-buffers nil)
260(defalias 'yas-global-mode-enable-in-buffers #[nil "\b\19\306\10 \306\1a\211\e\205B\0\v@\12\307\n!\203:\0r\nq\210\f\2046\0\r\ e\v=\2046\0\ e\b\2033\0\310\311!\210\312 \210\2026\0\312 \210\ e\v\15)\vA\211\13\204\f\0\306+\207" [yas-global-mode-buffers buffers buf --dolist-tail-- yas-minor-mode-set-explicitly yas-minor-mode-major-mode nil buffer-live-p yas-minor-mode -1 yas-minor-mode-on major-mode] 3])
261(put 'yas-global-mode-enable-in-buffers 'definition-name 'yas-global-mode)
262(defalias 'yas-global-mode-check-buffers #[nil "\300 \210\301\302\303\"\207" [yas-global-mode-enable-in-buffers remove-hook post-command-hook yas-global-mode-check-buffers] 3])
263(put 'yas-global-mode-check-buffers 'definition-name 'yas-global-mode)
264(defalias 'yas-global-mode-cmhh #[nil "p\211\18 \235\203\r\0 \210\202\11\0\b B\11)\302\303\304\"\207" [#1=#:x yas-global-mode-buffers add-hook post-command-hook yas-global-mode-check-buffers] 4])
265(put 'yas-global-mode-cmhh 'definition-name 'yas-global-mode)
266#@52 Run `yas-reload-all' when `yas-global-mode' is on.\1f
267(defalias 'yas--global-mode-reload-with-jit-maybe #[nil "\b\205\ 6\0\301 \207" [yas-global-mode yas-reload-all] 1 (#$ . 34556)])
268(add-hook 'yas-global-mode-hook 'yas--global-mode-reload-with-jit-maybe)
269(defvar yas--font-lock-keywords (byte-code "\304\305\306\307\310\"\18r\bq\210\311\216\312\211\19\1a\3131\1c\0\314 0\210\202\1d\0\210*\315 \210\v\242\310=\203.\0\vA@\202/\0\v+\316#\207" [#1=#:temp-buffer emacs-lisp-mode-hook prog-mode-hook font-lock-keywords append (("^#.*$" . font-lock-comment-face)) generate-new-buffer " *temp*" t #[nil "\301\b!\205 \0\302\b!\207" [#1# buffer-name kill-buffer] 2] nil (error) emacs-lisp-mode font-lock-set-defaults (("\\$\\([0-9]+\\)" (0 font-lock-keyword-face) (1 font-lock-string-face t)) ("\\${\\([0-9]+\\):?" (0 font-lock-keyword-face) (1 font-lock-warning-face t)) ("\\(\\$(\\)" 1 font-lock-preprocessor-face) ("}" (0 font-lock-keyword-face)))] 5))
270#@48 The keymap used when `snippet-mode' is active.\1f
271(defvar snippet-mode-map (byte-code "\301 \18\302\303\b\304\305\306\307\310\"B$\210\b)\207" [map make-sparse-keymap easy-menu-do-define nil "Menu used when snippet-mode is active." "Snippet" mapcar #[(ent) "\302\b8\203\10\0\303 \302\b8\bA@#\210\304\b@\bA@\305#\207" [ent map 2 define-key vector t] 4] (("Load this snippet" yas-load-snippet-buffer "\ 3\f") ("Load and quit window" yas-load-snippet-buffer-and-close "\ 3\ 3") ("Try out this snippet" yas-tryout-snippet "\ 3\14"))] 8) (#$ . 35481))
272(byte-code "\301\302!\203\205\0\303\304!\210\305\306N\204\16\0\307\305\306\310#\210\311\312!\204\"\0\307\312\313\314#\210\315\316 !\210\312\306N\2045\0\307\312\306\317\320!#\210\311\321!\204F\0\307\321\313\314#\210\322\323 !\210\321\306N\204T\0\307\321\306\317\324!#\210\311\300!\204i\0\307\300\313\314#\210\325\326\300\304\"\210\b!\210\300\306N\204w\0\307\300\306\317\327!#\210\307\314\330\302#\210\331\314\332\"\210\202\ 1\ 1\333\304!\210\305\306N\204\225\0\307\305\306\310#\210\311\312!\204\241\0\307\312\313\314#\210\334\316 !\210\312\306N\204\264\0\307\312\306\317\320!#\210\311\321!\204\305\0\307\321\313\314#\210\335\323 !\210\321\306N\204\323\0\307\321\306\317\324!#\210\311\300!\204\350\0\307\300\313\314#\210\336\326\300\304\"\210\b!\210\300\306N\204\366\0\307\300\306\317\327!#\210\307\314\330\304#\210\331\314\337\"\210\304\207" [snippet-mode-abbrev-table fboundp prog-mode (lambda (#1=#:def-tmp-var) (defvar snippet-mode-hook #1#)) nil snippet-mode-hook variable-documentation put "Hook run after entering Snippet mode.\nNo problems result if this variable is not bound.\n`add-hook' automatically binds it. (This is true for all hook variables.)" boundp snippet-mode-map definition-name snippet-mode (lambda (#1#) (defvar snippet-mode-map #1#)) make-sparse-keymap purecopy "Keymap for `snippet-mode'." snippet-mode-syntax-table (lambda (#1#) (defvar snippet-mode-syntax-table #1#)) make-syntax-table "Syntax table for `snippet-mode'." (lambda (#1#) (defvar snippet-mode-abbrev-table #1#)) define-abbrev-table "Abbrev table for `snippet-mode'." derived-mode-parent defalias #[nil "\306\300!\210\307\18\310 \210\311\11\312\12\310\313N\203\e\0\314\311\313\310\313N#\210\315\v!\204'\0\316\v\317 \"\210\320\f!\211\1d\2036\0\r\321 =\203<\0\322\f\323 \"\210)\324\ e%\325\"\204V\0\ e%\ e&=\204V\0\326\ e%\325\ e&C#\210\327\v!\210\330\f!\210\ e%\16&\331\16'\306\332!\210\333\16\1a\306\334!\210\335\16\1c\306\336!\210\337\16\1e\340\341\342\333\307$\210)\343\344!\207" [delay-mode-hooks major-mode mode-name snippet-mode-map snippet-mode-syntax-table parent make-local-variable t prog-mode snippet-mode "Snippet" mode-class put keymap-parent set-keymap-parent current-local-map char-table-parent standard-syntax-table set-char-table-parent syntax-table abbrev-table-get :parents abbrev-table-put use-local-map set-syntax-table (yas--font-lock-keywords) require-final-newline nil comment-start "#" comment-start-skip "#+[ ]*" add-hook after-save-hook yas-maybe-load-snippet-buffer run-mode-hooks snippet-mode-hook snippet-mode-abbrev-table local-abbrev-table font-lock-defaults] 6 "A mode for editing yasnippets\n\nIn addition to any hooks its parent mode `prog-mode' might have run,\nthis mode runs the hook `snippet-mode-hook', as the final or\npenultimate step during initialization.\n\n\\{snippet-mode-map}" nil] (lambda (#1#) (defvar snippet-mode-hook #1#)) (lambda (#1#) (defvar snippet-mode-map #1#)) (lambda (#1#) (defvar snippet-mode-syntax-table #1#)) (lambda (#1#) (defvar snippet-mode-abbrev-table #1#)) #[nil "\306\300!\210\307\18\310 \210\311\11\312\12\313\v!\210\314\f!\210\r\16\19\315\16\1a\306\316!\210\317\16\ e\306\320!\210\321\16\10\306\322!\210\323\16\12\324\325\326\317\307$\210)\327\330!\207" [delay-mode-hooks major-mode mode-name snippet-mode-map snippet-mode-syntax-table snippet-mode-abbrev-table make-local-variable t kill-all-local-variables snippet-mode "Snippet" use-local-map set-syntax-table (yas--font-lock-keywords) require-final-newline nil comment-start "#" comment-start-skip "#+[ ]*" add-hook after-save-hook yas-maybe-load-snippet-buffer run-mode-hooks snippet-mode-hook local-abbrev-table font-lock-defaults] 5 "A mode for editing yasnippets\n\nThis mode runs the hook `snippet-mode-hook', as the final or\npenultimate step during initialization.\n\n\\{snippet-mode-map}" nil]] 5)
273#@149 Return non-nil if current buffer should be in `snippet-mode'.
274Meaning it's visiting a file under one of the mode directories in
275`yas-snippet-dirs'.\1f
276(defalias 'yas-snippet-mode-buffer-p #[nil "\b\205\v\0\301\b\302 \303\304$\207" [buffer-file-name cl-member yas-snippet-dirs :test file-in-directory-p] 5 (#$ . 39737)])
277(add-to-list 'magic-fallback-mode-alist '(yas-snippet-mode-buffer-p . snippet-mode))
278#@48 compiler-macro for inlining `yas--template-p'.\1f
279(defalias 'yas--template-p--cmacro #[(_cl-whole-arg cl-x) "\301\302\303\304\211\211\b&\ 6\207" [cl-x cl--defsubst-expand (cl-x) (cl-block yas--template-p (and (memq (type-of cl-x) cl-struct-yas--template-tags) t)) nil] 7 (#$ . 40141)])
280(put 'yas--template-p 'compiler-macro 'yas--template-p--cmacro)
281(defalias 'yas--template-p #[(cl-x) "\302\b! >\205 \0\303\207" [cl-x cl-struct-yas--template-tags type-of t] 2])
282(byte-code "\300\301\302\303#\304\305\306\301#\207" [function-put yas--template-p side-effect-free error-free put yas--template cl-deftype-satisfies] 5)
283#@50 compiler-macro for inlining `yas--template-key'.\1f
284(defalias 'yas--template-key--cmacro #[(_cl-whole-arg cl-x) "\301\302\303\304\211\211\b&\ 6\207" [cl-x cl--defsubst-expand (cl-x) (cl-block yas--template-key (progn (or (yas--template-p cl-x) (signal 'wrong-type-argument (list 'yas--template cl-x))) (aref cl-x 1))) nil] 7 (#$ . 40755)])
285(put 'yas--template-key 'compiler-macro 'yas--template-key--cmacro)
286#@51 Access slot "key" of `yas--template' struct CL-X.\1f
287(defalias 'yas--template-key #[(cl-x) "\302\b! >\204\ f\0\303\304\305\bD\"\210\b\306H\207" [cl-x cl-struct-yas--template-tags type-of signal wrong-type-argument yas--template 1] 4 (#$ . 41163)])
288(byte-code "\300\301\302\303#\300\207" [function-put yas--template-key side-effect-free t] 4)
289#@54 compiler-macro for inlining `yas--template-content'.\1f
290(defalias 'yas--template-content--cmacro #[(_cl-whole-arg cl-x) "\301\302\303\304\211\211\b&\ 6\207" [cl-x cl--defsubst-expand (cl-x) (cl-block yas--template-content (progn (or (yas--template-p cl-x) (signal 'wrong-type-argument (list 'yas--template cl-x))) (aref cl-x 2))) nil] 7 (#$ . 41502)])
291(put 'yas--template-content 'compiler-macro 'yas--template-content--cmacro)
292#@55 Access slot "content" of `yas--template' struct CL-X.\1f
293(defalias 'yas--template-content #[(cl-x) "\302\b! >\204\ f\0\303\304\305\bD\"\210\b\306H\207" [cl-x cl-struct-yas--template-tags type-of signal wrong-type-argument yas--template 2] 4 (#$ . 41930)])
294(byte-code "\300\301\302\303#\300\207" [function-put yas--template-content side-effect-free t] 4)
295#@51 compiler-macro for inlining `yas--template-name'.\1f
296(defalias 'yas--template-name--cmacro #[(_cl-whole-arg cl-x) "\301\302\303\304\211\211\b&\ 6\207" [cl-x cl--defsubst-expand (cl-x) (cl-block yas--template-name (progn (or (yas--template-p cl-x) (signal 'wrong-type-argument (list 'yas--template cl-x))) (aref cl-x 3))) nil] 7 (#$ . 42281)])
297(put 'yas--template-name 'compiler-macro 'yas--template-name--cmacro)
298#@52 Access slot "name" of `yas--template' struct CL-X.\1f
299(defalias 'yas--template-name #[(cl-x) "\302\b! >\204\ f\0\303\304\305\bD\"\210\b\306H\207" [cl-x cl-struct-yas--template-tags type-of signal wrong-type-argument yas--template 3] 4 (#$ . 42694)])
300(byte-code "\300\301\302\303#\300\207" [function-put yas--template-name side-effect-free t] 4)
301#@56 compiler-macro for inlining `yas--template-condition'.\1f
302(defalias 'yas--template-condition--cmacro #[(_cl-whole-arg cl-x) "\301\302\303\304\211\211\b&\ 6\207" [cl-x cl--defsubst-expand (cl-x) (cl-block yas--template-condition (progn (or (yas--template-p cl-x) (signal 'wrong-type-argument (list 'yas--template cl-x))) (aref cl-x 4))) nil] 7 (#$ . 43036)])
303(put 'yas--template-condition 'compiler-macro 'yas--template-condition--cmacro)
304#@57 Access slot "condition" of `yas--template' struct CL-X.\1f
305(defalias 'yas--template-condition #[(cl-x) "\302\b! >\204\ f\0\303\304\305\bD\"\210\b\306H\207" [cl-x cl-struct-yas--template-tags type-of signal wrong-type-argument yas--template 4] 4 (#$ . 43474)])
306(byte-code "\300\301\302\303#\300\207" [function-put yas--template-condition side-effect-free t] 4)
307#@57 compiler-macro for inlining `yas--template-expand-env'.\1f
308(defalias 'yas--template-expand-env--cmacro #[(_cl-whole-arg cl-x) "\301\302\303\304\211\211\b&\ 6\207" [cl-x cl--defsubst-expand (cl-x) (cl-block yas--template-expand-env (progn (or (yas--template-p cl-x) (signal 'wrong-type-argument (list 'yas--template cl-x))) (aref cl-x 5))) nil] 7 (#$ . 43831)])
309(put 'yas--template-expand-env 'compiler-macro 'yas--template-expand-env--cmacro)
310#@58 Access slot "expand-env" of `yas--template' struct CL-X.\1f
311(defalias 'yas--template-expand-env #[(cl-x) "\302\b! >\204\ f\0\303\304\305\bD\"\210\b\306H\207" [cl-x cl-struct-yas--template-tags type-of signal wrong-type-argument yas--template 5] 4 (#$ . 44274)])
312(byte-code "\300\301\302\303#\300\207" [function-put yas--template-expand-env side-effect-free t] 4)
313#@56 compiler-macro for inlining `yas--template-load-file'.\1f
314(defalias 'yas--template-load-file--cmacro #[(_cl-whole-arg cl-x) "\301\302\303\304\211\211\b&\ 6\207" [cl-x cl--defsubst-expand (cl-x) (cl-block yas--template-load-file (progn (or (yas--template-p cl-x) (signal 'wrong-type-argument (list 'yas--template cl-x))) (aref cl-x 6))) nil] 7 (#$ . 44634)])
315(put 'yas--template-load-file 'compiler-macro 'yas--template-load-file--cmacro)
316#@57 Access slot "load-file" of `yas--template' struct CL-X.\1f
317(defalias 'yas--template-load-file #[(cl-x) "\302\b! >\204\ f\0\303\304\305\bD\"\210\b\306H\207" [cl-x cl-struct-yas--template-tags type-of signal wrong-type-argument yas--template 6] 4 (#$ . 45072)])
318(byte-code "\300\301\302\303#\300\207" [function-put yas--template-load-file side-effect-free t] 4)
319#@56 compiler-macro for inlining `yas--template-save-file'.\1f
320(defalias 'yas--template-save-file--cmacro #[(_cl-whole-arg cl-x) "\301\302\303\304\211\211\b&\ 6\207" [cl-x cl--defsubst-expand (cl-x) (cl-block yas--template-save-file (progn (or (yas--template-p cl-x) (signal 'wrong-type-argument (list 'yas--template cl-x))) (aref cl-x 7))) nil] 7 (#$ . 45429)])
321(put 'yas--template-save-file 'compiler-macro 'yas--template-save-file--cmacro)
322#@57 Access slot "save-file" of `yas--template' struct CL-X.\1f
323(defalias 'yas--template-save-file #[(cl-x) "\302\b! >\204\ f\0\303\304\305\bD\"\210\b\306H\207" [cl-x cl-struct-yas--template-tags type-of signal wrong-type-argument yas--template 7] 4 (#$ . 45867)])
324(byte-code "\300\301\302\303#\300\207" [function-put yas--template-save-file side-effect-free t] 4)
325#@57 compiler-macro for inlining `yas--template-keybinding'.\1f
326(defalias 'yas--template-keybinding--cmacro #[(_cl-whole-arg cl-x) "\301\302\303\304\211\211\b&\ 6\207" [cl-x cl--defsubst-expand (cl-x) (cl-block yas--template-keybinding (progn (or (yas--template-p cl-x) (signal 'wrong-type-argument (list 'yas--template cl-x))) (aref cl-x 8))) nil] 7 (#$ . 46224)])
327(put 'yas--template-keybinding 'compiler-macro 'yas--template-keybinding--cmacro)
328#@58 Access slot "keybinding" of `yas--template' struct CL-X.\1f
329(defalias 'yas--template-keybinding #[(cl-x) "\302\b! >\204\ f\0\303\304\305\bD\"\210\b\306H\207" [cl-x cl-struct-yas--template-tags type-of signal wrong-type-argument yas--template 8] 4 (#$ . 46667)])
330(byte-code "\300\301\302\303#\300\207" [function-put yas--template-keybinding side-effect-free t] 4)
331#@51 compiler-macro for inlining `yas--template-uuid'.\1f
332(defalias 'yas--template-uuid--cmacro #[(_cl-whole-arg cl-x) "\301\302\303\304\211\211\b&\ 6\207" [cl-x cl--defsubst-expand (cl-x) (cl-block yas--template-uuid (progn (or (yas--template-p cl-x) (signal 'wrong-type-argument (list 'yas--template cl-x))) (aref cl-x 9))) nil] 7 (#$ . 47027)])
333(put 'yas--template-uuid 'compiler-macro 'yas--template-uuid--cmacro)
334#@52 Access slot "uuid" of `yas--template' struct CL-X.\1f
335(defalias 'yas--template-uuid #[(cl-x) "\302\b! >\204\ f\0\303\304\305\bD\"\210\b\306H\207" [cl-x cl-struct-yas--template-tags type-of signal wrong-type-argument yas--template 9] 4 (#$ . 47440)])
336(byte-code "\300\301\302\303#\300\207" [function-put yas--template-uuid side-effect-free t] 4)
337#@64 compiler-macro for inlining `yas--template-menu-binding-pair'.\1f
338(defalias 'yas--template-menu-binding-pair--cmacro #[(_cl-whole-arg cl-x) "\301\302\303\304\211\211\b&\ 6\207" [cl-x cl--defsubst-expand (cl-x) (cl-block yas--template-menu-binding-pair (progn (or (yas--template-p cl-x) (signal 'wrong-type-argument (list 'yas--template cl-x))) (aref cl-x 10))) nil] 7 (#$ . 47782)])
339(put 'yas--template-menu-binding-pair 'compiler-macro 'yas--template-menu-binding-pair--cmacro)
340#@65 Access slot "menu-binding-pair" of `yas--template' struct CL-X.\1f
341(defalias 'yas--template-menu-binding-pair #[(cl-x) "\302\b! >\204\ f\0\303\304\305\bD\"\210\b\306H\207" [cl-x cl-struct-yas--template-tags type-of signal wrong-type-argument yas--template 10] 4 (#$ . 48261)])
342(byte-code "\300\301\302\303#\300\207" [function-put yas--template-menu-binding-pair side-effect-free t] 4)
343#@52 compiler-macro for inlining `yas--template-group'.\1f
344(defalias 'yas--template-group--cmacro #[(_cl-whole-arg cl-x) "\301\302\303\304\211\211\b&\ 6\207" [cl-x cl--defsubst-expand (cl-x) (cl-block yas--template-group (progn (or (yas--template-p cl-x) (signal 'wrong-type-argument (list 'yas--template cl-x))) (aref cl-x 11))) nil] 7 (#$ . 48643)])
345(put 'yas--template-group 'compiler-macro 'yas--template-group--cmacro)
346#@53 Access slot "group" of `yas--template' struct CL-X.\1f
347(defalias 'yas--template-group #[(cl-x) "\302\b! >\204\ f\0\303\304\305\bD\"\210\b\306H\207" [cl-x cl-struct-yas--template-tags type-of signal wrong-type-argument yas--template 11] 4 (#$ . 49062)])
348(byte-code "\300\301\302\303#\300\207" [function-put yas--template-group side-effect-free t] 4)
349#@57 compiler-macro for inlining `yas--template-perm-group'.\1f
350(defalias 'yas--template-perm-group--cmacro #[(_cl-whole-arg cl-x) "\301\302\303\304\211\211\b&\ 6\207" [cl-x cl--defsubst-expand (cl-x) (cl-block yas--template-perm-group (progn (or (yas--template-p cl-x) (signal 'wrong-type-argument (list 'yas--template cl-x))) (aref cl-x 12))) nil] 7 (#$ . 49408)])
351(put 'yas--template-perm-group 'compiler-macro 'yas--template-perm-group--cmacro)
352#@58 Access slot "perm-group" of `yas--template' struct CL-X.\1f
353(defalias 'yas--template-perm-group #[(cl-x) "\302\b! >\204\ f\0\303\304\305\bD\"\210\b\306H\207" [cl-x cl-struct-yas--template-tags type-of signal wrong-type-argument yas--template 12] 4 (#$ . 49852)])
354(byte-code "\300\301\302\303#\300\207" [function-put yas--template-perm-group side-effect-free t] 4)
355#@52 compiler-macro for inlining `yas--template-table'.\1f
356(defalias 'yas--template-table--cmacro #[(_cl-whole-arg cl-x) "\301\302\303\304\211\211\b&\ 6\207" [cl-x cl--defsubst-expand (cl-x) (cl-block yas--template-table (progn (or (yas--template-p cl-x) (signal 'wrong-type-argument (list 'yas--template cl-x))) (aref cl-x 13))) nil] 7 (#$ . 50213)])
357(put 'yas--template-table 'compiler-macro 'yas--template-table--cmacro)
358#@53 Access slot "table" of `yas--template' struct CL-X.\1f
359(defalias 'yas--template-table #[(cl-x) "\302\b! >\204\ f\0\303\304\305\bD\"\210\b\306H\207" [cl-x cl-struct-yas--template-tags type-of signal wrong-type-argument yas--template 13] 4 (#$ . 50632)])
360(byte-code "\300\301\302\303#\304\305\306\"\207" [function-put yas--template-table side-effect-free t defalias copy-yas--template copy-sequence] 4)
361#@196 compiler-macro for inlining `yas--make-template'.
362
363(fn CL-WHOLE &cl-quote &key KEY CONTENT NAME CONDITION EXPAND-ENV LOAD-FILE SAVE-FILE KEYBINDING UUID MENU-BINDING-PAIR GROUP PERM-GROUP TABLE)\1f
364(defalias 'yas--make-template--cmacro #[(cl-whole &rest #1=#:--cl-rest--) "\306\b\307\"A@\19\306\b\310\"A@\1a\306\b\311\"A@\e\306\b\312\"A@\1c\306\b\313\"A@\1d\306\b\314\"A@\1e\1c\306\b\315\"A@\1e\1d\306\b\316\"A@\1e\1e\306\b\317\"A@\1e\1f\306\b\320\"A@\1e \306\b\321\"A@\1e!\306\b\322\"A@\1e\"\306\b\323\"A@\1e#\b\1e$\ e$\203\226\0\ e$@\324>\203}\0\ e$AA\211\16$\202h\0\325\b>A@\203\214\0\326\211\16$\202h\0\327\330\ e$@\"\210\202f\0)\331\332\333\326\ e%\326 \n\v\f\r\ e\1c\ e\1d\ e\1e\ e\1f\ e \ e!\ e\"\ e#&\12.\r\207" [#1# key content name condition expand-env plist-member :key :content :name :condition :expand-env :load-file :save-file :keybinding :uuid :menu-binding-pair :group :perm-group :table (:key :content :name :condition :expand-env :load-file :save-file :keybinding :uuid :menu-binding-pair :group :perm-group :table :allow-other-keys) :allow-other-keys nil error "Keyword argument %s not one of (:key :content :name :condition :expand-env :load-file :save-file :keybinding :uuid :menu-binding-pair :group :perm-group :table)" cl--defsubst-expand (key content name condition expand-env load-file save-file keybinding uuid menu-binding-pair group perm-group table) (cl-block yas--make-template (record 'yas--template key content name condition expand-env load-file save-file keybinding uuid menu-binding-pair group perm-group table)) load-file save-file keybinding uuid menu-binding-pair group perm-group table #2=#:--cl-keys-- cl-whole] 20 (#$ . 51031)])
365(put 'yas--make-template 'compiler-macro 'yas--make-template--cmacro)
366#@176 Constructor for objects of type `yas--template'.
367
368(fn &key KEY CONTENT NAME CONDITION EXPAND-ENV LOAD-FILE SAVE-FILE KEYBINDING UUID MENU-BINDING-PAIR GROUP PERM-GROUP TABLE)\1f
369(defalias 'yas--make-template #[(&rest #1=#:--cl-rest--) "\306\b\307\"A@\19\306\b\310\"A@\1a\306\b\311\"A@\e\306\b\312\"A@\1c\306\b\313\"A@\1d\306\b\314\"A@\1e\e\306\b\315\"A@\1e\1c\306\b\316\"A@\1e\1d\306\b\317\"A@\1e\1e\306\b\320\"A@\1e\1f\306\b\321\"A@\1e \306\b\322\"A@\1e!\306\b\323\"A@\1e\"\b\1e#\ e#\203\226\0\ e#@\324>\203}\0\ e#AA\211\16#\202h\0\325\b>A@\203\214\0\326\211\16#\202h\0\327\330\ e#@\"\210\202f\0)\331\332 \n\v\f\r\ e\e\ e\1c\ e\1d\ e\1e\ e\1f\ e \ e!\ e\"&\ e.\r\207" [#1# key content name condition expand-env plist-member :key :content :name :condition :expand-env :load-file :save-file :keybinding :uuid :menu-binding-pair :group :perm-group :table (:key :content :name :condition :expand-env :load-file :save-file :keybinding :uuid :menu-binding-pair :group :perm-group :table :allow-other-keys) :allow-other-keys nil error "Keyword argument %s not one of (:key :content :name :condition :expand-env :load-file :save-file :keybinding :uuid :menu-binding-pair :group :perm-group :table)" record yas--template load-file save-file keybinding uuid menu-binding-pair group perm-group table #2=#:--cl-keys--] 16 (#$ . 52677)])
370(byte-code "\300\301\302\303#\300\207" [function-put yas--make-template side-effect-free t] 4)
371#@155 Constructor for objects of type `yas--template'.
372
373(fn TABLE KEY CONTENT &optional XNAME CONDITION GROUP EXPAND-ENV LOAD-FILE XKEYBINDING XUUID SAVE-FILE)\1f
374(defalias 'yas--define-snippets-2 #[(table key content &optional xname condition group expand-env load-file xkeybinding xuuid save-file &rest #1=#:--cl-rest--) "\b\206\19\0 \203\ e\0\306 !\206\19\0\n\203\18\0\306\n!\206\19\0\v\1c\307\r!\1e\14\ e\15\206%\0\f\1e\16\310\ e\16\311\ e\17!\"\211\1e\18\205K\0\312\ e\18!\ e\19>\204G\0\313\314\315\ e\18D\"\210\ e\18\316H\1e\1a\ e\18\205h\0\312\ e\18!\ e\19>\204d\0\313\314\315\ e\18D\"\210\ e\18\317H\1e\e\ e\1c\203z\0\313\320\321\322\ e\1cG\\D\"\210\323\315\v\ e\1d\f\ e\1e\ e\1f \n\ e\14\ e\16\ e\1a\ e \ e\e\ e\17&\ e.\ 6\207" [xname load-file save-file key name xkeybinding file-name-nondirectory yas--read-keybinding gethash yas--table-uuidhash type-of signal wrong-type-argument yas--template 10 12 wrong-number-of-arguments yas--define-snippets-2 11 record keybinding xuuid uuid table old cl-struct-yas--template-tags menu-binding-pair perm-group #1# content condition expand-env group] 16 (#$ . 54003)])
375(byte-code "\300\301\302\303#\304\305\306\307\310\311\312\313\305\303& \207" [function-put yas--define-snippets-2 side-effect-free t cl-struct-define yas--template "A template for a snippet." cl-structure-object record nil ((cl-tag-slot) (key) (content) (name) (condition) (expand-env) (load-file) (save-file) (keybinding) (uuid) (menu-binding-pair) (group) (perm-group) (table)) cl-struct-yas--template-tags] 11)
376#@45 compiler-macro for inlining `yas--table-p'.\1f
377(defalias 'yas--table-p--cmacro #[(_cl-whole-arg cl-x) "\301\302\303\304\211\211\b&\ 6\207" [cl-x cl--defsubst-expand (cl-x) (cl-block yas--table-p (and (memq (type-of cl-x) cl-struct-yas--table-tags) t)) nil] 7 (#$ . 55394)])
378(put 'yas--table-p 'compiler-macro 'yas--table-p--cmacro)
379(defalias 'yas--table-p #[(cl-x) "\302\b! >\205 \0\303\207" [cl-x cl-struct-yas--table-tags type-of t] 2])
380(byte-code "\300\301\302\303#\304\305\306\301#\207" [function-put yas--table-p side-effect-free error-free put yas--table cl-deftype-satisfies] 5)
381#@48 compiler-macro for inlining `yas--table-name'.\1f
382(defalias 'yas--table-name--cmacro #[(_cl-whole-arg cl-x) "\301\302\303\304\211\211\b&\ 6\207" [cl-x cl--defsubst-expand (cl-x) (cl-block yas--table-name (progn (or (yas--table-p cl-x) (signal 'wrong-type-argument (list 'yas--table cl-x))) (aref cl-x 1))) nil] 7 (#$ . 55978)])
383(put 'yas--table-name 'compiler-macro 'yas--table-name--cmacro)
384#@49 Access slot "name" of `yas--table' struct CL-X.\1f
385(defalias 'yas--table-name #[(cl-x) "\302\b! >\204\ f\0\303\304\305\bD\"\210\b\306H\207" [cl-x cl-struct-yas--table-tags type-of signal wrong-type-argument yas--table 1] 4 (#$ . 56370)])
386(byte-code "\300\301\302\303#\300\207" [function-put yas--table-name side-effect-free t] 4)
387#@48 compiler-macro for inlining `yas--table-hash'.\1f
388(defalias 'yas--table-hash--cmacro #[(_cl-whole-arg cl-x) "\301\302\303\304\211\211\b&\ 6\207" [cl-x cl--defsubst-expand (cl-x) (cl-block yas--table-hash (progn (or (yas--table-p cl-x) (signal 'wrong-type-argument (list 'yas--table cl-x))) (aref cl-x 2))) nil] 7 (#$ . 56697)])
389(put 'yas--table-hash 'compiler-macro 'yas--table-hash--cmacro)
390#@49 Access slot "hash" of `yas--table' struct CL-X.\1f
391(defalias 'yas--table-hash #[(cl-x) "\302\b! >\204\ f\0\303\304\305\bD\"\210\b\306H\207" [cl-x cl-struct-yas--table-tags type-of signal wrong-type-argument yas--table 2] 4 (#$ . 57089)])
392(byte-code "\300\301\302\303#\300\207" [function-put yas--table-hash side-effect-free t] 4)
393#@52 compiler-macro for inlining `yas--table-uuidhash'.\1f
394(defalias 'yas--table-uuidhash--cmacro #[(_cl-whole-arg cl-x) "\301\302\303\304\211\211\b&\ 6\207" [cl-x cl--defsubst-expand (cl-x) (cl-block yas--table-uuidhash (progn (or (yas--table-p cl-x) (signal 'wrong-type-argument (list 'yas--table cl-x))) (aref cl-x 3))) nil] 7 (#$ . 57416)])
395(put 'yas--table-uuidhash 'compiler-macro 'yas--table-uuidhash--cmacro)
396#@53 Access slot "uuidhash" of `yas--table' struct CL-X.\1f
397(defalias 'yas--table-uuidhash #[(cl-x) "\302\b! >\204\ f\0\303\304\305\bD\"\210\b\306H\207" [cl-x cl-struct-yas--table-tags type-of signal wrong-type-argument yas--table 3] 4 (#$ . 57828)])
398(byte-code "\300\301\302\303#\300\207" [function-put yas--table-uuidhash side-effect-free t] 4)
399#@51 compiler-macro for inlining `yas--table-parents'.\1f
400(defalias 'yas--table-parents--cmacro #[(_cl-whole-arg cl-x) "\301\302\303\304\211\211\b&\ 6\207" [cl-x cl--defsubst-expand (cl-x) (cl-block yas--table-parents (progn (or (yas--table-p cl-x) (signal 'wrong-type-argument (list 'yas--table cl-x))) (aref cl-x 4))) nil] 7 (#$ . 58167)])
401(put 'yas--table-parents 'compiler-macro 'yas--table-parents--cmacro)
402#@52 Access slot "parents" of `yas--table' struct CL-X.\1f
403(defalias 'yas--table-parents #[(cl-x) "\302\b! >\204\ f\0\303\304\305\bD\"\210\b\306H\207" [cl-x cl-struct-yas--table-tags type-of signal wrong-type-argument yas--table 4] 4 (#$ . 58574)])
404(byte-code "\300\301\302\303#\300\207" [function-put yas--table-parents side-effect-free t] 4)
405#@57 compiler-macro for inlining `yas--table-direct-keymap'.\1f
406(defalias 'yas--table-direct-keymap--cmacro #[(_cl-whole-arg cl-x) "\301\302\303\304\211\211\b&\ 6\207" [cl-x cl--defsubst-expand (cl-x) (cl-block yas--table-direct-keymap (progn (or (yas--table-p cl-x) (signal 'wrong-type-argument (list 'yas--table cl-x))) (aref cl-x 5))) nil] 7 (#$ . 58910)])
407(put 'yas--table-direct-keymap 'compiler-macro 'yas--table-direct-keymap--cmacro)
408#@58 Access slot "direct-keymap" of `yas--table' struct CL-X.\1f
409(defalias 'yas--table-direct-keymap #[(cl-x) "\302\b! >\204\ f\0\303\304\305\bD\"\210\b\306H\207" [cl-x cl-struct-yas--table-tags type-of signal wrong-type-argument yas--table 5] 4 (#$ . 59347)])
410(byte-code "\300\301\302\303#\304\305\306\"\207" [function-put yas--table-direct-keymap side-effect-free t defalias copy-yas--table copy-sequence] 4)
411#@119 compiler-macro for inlining `make-yas--table'.
412
413(fn CL-WHOLE &cl-quote &key NAME HASH UUIDHASH PARENTS DIRECT-KEYMAP)\1f
414(defalias 'make-yas--table--cmacro #[(cl-whole &rest #1=#:--cl-rest--) "\306\b\307\"A@\19\306\b\310\"\206\ f\0\311A@\1a\306\b\312\"\206\1a\0\313A@\e\306\b\314\"A@\1c\306\b\315\"\206,\0\316A@\1d\b\1e\17\ e\17\203b\0\ e\17@\317>\203I\0\ e\17AA\211\16\17\2024\0\320\b>A@\203X\0\321\211\16\17\2024\0\322\323\ e\17@\"\210\2022\0)\324\325\326\321\ e\18\321 \n\v\f\r&\n-\207" [#1# name hash uuidhash parents direct-keymap plist-member :name :hash (nil (make-hash-table :test 'equal)) :uuidhash (nil (make-hash-table :test 'equal)) :parents :direct-keymap (nil (make-sparse-keymap)) (:name :hash :uuidhash :parents :direct-keymap :allow-other-keys) :allow-other-keys nil error "Keyword argument %s not one of (:name :hash :uuidhash :parents :direct-keymap)" cl--defsubst-expand (name hash uuidhash parents direct-keymap) (cl-block make-yas--table (record 'yas--table name hash uuidhash parents direct-keymap)) #2=#:--cl-keys-- cl-whole] 12 (#$ . 59751)])
415(put 'make-yas--table 'compiler-macro 'make-yas--table--cmacro)
416#@99 Constructor for objects of type `yas--table'.
417
418(fn &key NAME HASH UUIDHASH PARENTS DIRECT-KEYMAP)\1f
419(defalias 'make-yas--table #[(&rest #1=#:--cl-rest--) "\306\b\307\"A@\19\306\b\310\"\206\14\0\311\312\313\314\"DA@\1a\306\b\315\"\206$\0\311\312\313\314\"DA@\e\306\b\316\"A@\1c\306\b\317\"\2069\0\311\320 DA@\1d\b\1e\17\ e\17\203o\0\ e\17@\321>\203V\0\ e\17AA\211\16\17\202A\0\322\b>A@\203e\0\311\211\16\17\202A\0\323\324\ e\17@\"\210\202?\0)\325\326 \n\v\f\r&\ 6-\207" [#1# name hash uuidhash parents direct-keymap plist-member :name :hash nil make-hash-table :test equal :uuidhash :parents :direct-keymap make-sparse-keymap (:name :hash :uuidhash :parents :direct-keymap :allow-other-keys) :allow-other-keys error "Keyword argument %s not one of (:name :hash :uuidhash :parents :direct-keymap)" record yas--table #2=#:--cl-keys--] 8 (#$ . 60823)])
420#@56 compiler-macro for inlining `yas--make-snippet-table'.\1f
421(defalias 'yas--make-snippet-table--cmacro #[(_cl-whole-arg name) "\301\302\303\304\211\211\b&\ 6\207" [name cl--defsubst-expand (name) (cl-block yas--make-snippet-table (record 'yas--table name (make-hash-table :test 'equal) (make-hash-table :test 'equal) nil (make-sparse-keymap))) nil] 7 (#$ . 61617)])
422(put 'yas--make-snippet-table 'compiler-macro 'yas--make-snippet-table--cmacro)
423#@47 Constructor for objects of type `yas--table'.\1f
424(defalias 'yas--make-snippet-table #[(name) "\301\302\b\303\304\305\"\303\304\305\"\306\307 &\ 6\207" [name record yas--table make-hash-table :test equal nil make-sparse-keymap] 7 (#$ . 62061)])
425(cl-struct-define 'yas--table "A table to store snippets for a particular mode.\n\nHas the following fields:\n\n`yas--table-name'\n\n A symbol name normally corresponding to a major mode, but can\n also be a pseudo major-mode to be used in\n `yas-activate-extra-mode', for example.\n\n`yas--table-hash'\n\n A hash table (KEY . NAMEHASH), known as the \"keyhash\". KEY is\n a string or a vector, where the former is the snippet's trigger\n and the latter means it's a direct keybinding. NAMEHASH is yet\n another hash of (NAME . TEMPLATE) where NAME is the snippet's\n name and TEMPLATE is a `yas--template' object.\n\n`yas--table-direct-keymap'\n\n A keymap for the snippets in this table that have direct\n keybindings. This is kept in sync with the keyhash, i.e., all\n the elements of the keyhash that are vectors appear here as\n bindings to `yas-maybe-expand-from-keymap'.\n\n`yas--table-uuidhash'\n\n A hash table mapping snippets uuid's to the same `yas--template'\n objects. A snippet uuid defaults to the snippet's name." 'cl-structure-object 'record nil '((cl-tag-slot) (name) (hash (make-hash-table :test 'equal)) (uuidhash (make-hash-table :test 'equal)) (parents nil) (direct-keymap (make-sparse-keymap))) 'cl-struct-yas--table-tags 'yas--table t)
426#@48 Find the snippet template in MODE by its UUID.\1f
427(defalias 'yas--get-template-by-uuid #[(mode uuid) "\305\b \b#\211\1a\205\1f\0\305\v\306\n!\f>\204\e\0\307\310\311\nD\"\210\n\312H\")\207" [mode yas--tables table uuid cl-struct-yas--table-tags gethash type-of signal wrong-type-argument yas--table 3] 7 (#$ . 63580)])
428#@50 Remove from TABLE a template identified by UUID.\1f
429(defalias 'yas--remove-template-by-uuid #[(table uuid) "\306\b\307 !\n>\204\11\0\310\311\312 D\"\210 \313H\"\211\e\205\254\0\307\v!\f>\204)\0\310\311\314\vD\"\210\v\313H\1d\315\1e\15\316\317\307 !\n>\204A\0\310\311\312 D\"\210 \320H\"\210\ e\15\315\1e\16\211\1e\17\203\225\0\ e\17@\16\16\321\ e\16!\203u\0\322\307 !\n>\204m\0\310\311\312 D\"\210 \323H\ e\16\315#\210\324\ e\16\307 !\n>\204\207\0\310\311\312 D\"\210 \320H\"\210\ e\17A\211\16\17\204Q\0*\324\b\307 !\n>\204\247\0\310\311\312 D\"\210 \313H\"*)\207" [uuid table cl-struct-yas--table-tags template cl-struct-yas--template-tags name gethash type-of signal wrong-type-argument yas--table 3 yas--template nil maphash #[(k v) "\306\b \"\211\1a\2054\0\v\307\n!\f>\204\19\0\310\311\312\nD\"\210\n\313H\232\2054\0\314\b \"\210\315 !\316U\2054\0\r\ e\ fB\211\16\ f)\207" [name v template uuid cl-struct-yas--template-tags k gethash type-of signal wrong-type-argument yas--template 9 remhash hash-table-count 0 empty-keys] 6] 2 vectorp define-key 5 remhash empty-keys key --dolist-tail--] 7 (#$ . 63891)])
430(defconst yas-maybe-expand-from-keymap '(menu-item "" yas-expand-from-keymap :filter yas--maybe-expand-from-keymap-filter))
431#@115 Store in TABLE the snippet template TEMPLATE.
432
433KEY can be a string (trigger key) of a vector (direct
434keybinding).\1f
435(defalias 'yas--add-template #[(table template) "\306\b! >\204\ f\0\307\310\311\bD\"\210\b\312H\306\b! >\204!\0\307\310\311\bD\"\210\b\313H\306\b! >\2043\0\307\310\311\bD\"\210\b\314H\315\b!\1a\e\1c\1d\316\317\f\vD\"\317\1e\e\211\1e\1c\203\276\0\ e\1c@\16\e\320\r\b\321\ e\e\306\ e\1d!\ e\1e>\204i\0\307\310\322\ e\1dD\"\210\ e\1d\323H\"\206\217\0\320\ e\e\324\325\326\"\306\ e\1d!\ e\1e>\204\212\0\307\310\322\ e\1dD\"\210\ e\1d\323H##\210\327\ e\e!\203\265\0\330\306\ e\1d!\ e\1e>\204\253\0\307\310\322\ e\1dD\"\210\ e\1d\331H\ e\e\ e\1f#\210\ e\1cA\211\16\1c\204L\0*\320\306\b! >\204\317\0\307\310\311\bD\"\210\b\332H\b\306\ e\1d!\ e\1e>\204\345\0\307\310\322\ e\1dD\"\210\ e\1d\312H#,\207" [template cl-struct-yas--template-tags _menu-binding-pair keybinding key name type-of signal wrong-type-argument yas--template 3 1 8 yas--template-menu-binding-pair-get-create remove nil puthash gethash yas--table 2 make-hash-table :test equal vectorp define-key 5 9 k --dolist-tail-- table cl-struct-yas--table-tags yas-maybe-expand-from-keymap] 11 (#$ . 65046)])
436#@115 Add or update TEMPLATE in TABLE.
437
438Also takes care of adding and updating to the associated menu.
439Return TEMPLATE.\1f
440(defalias 'yas--update-template #[(table template) "\303\b\304 !\n>\204\11\0\305\306\307 D\"\210 \310H\"\210\311\b \"\210\312\b \"\210 \207" [table template cl-struct-yas--template-tags yas--remove-template-by-uuid type-of signal wrong-type-argument yas--template 9 yas--add-template yas--update-template-menu] 6 (#$ . 66086)])
441#@41 Update every menu-related for TEMPLATE.\1f
442(defalias 'yas--update-template-menu #[(table template) "\306\b!\307\b! >\204\12\0\310\311\312\bD\"\210\b\313H\307\b! >\204$\0\310\311\312\bD\"\210\b\314H\1a\e\211\1cA\315=\204s\0\f@A\211\1d\307\b! >\204E\0\310\311\312\bD\"\210\b\316H\240\210)\f@\1e&\n\203Y\0\317\n!\206a\0\v\205a\0\v\ e'P\1e(\ e&\320\ e&A\321\ e(#\241\210\ e(\210*+\322\b!?\205H\ 1\323\324\ e)!\325\324\307\ e)!\ e*>\204\224\0\310\311\326\ e)D\"\210\ e)\327H\"\"\307\b! >\204\251\0\310\311\312\bD\"\210\b\330H\1e+\211\1e\1a\204\270\0\331\332!\210\333\ e\1a\307\b! >\204\312\0\310\311\312\bD\"\210\b\334H\"\210\ e+\335\1e,\211\1e-\203\19\ 1\ e-@\16,\336\ e\1a\337\340\ e,!!\"\211\1e.\203\366\0\341\ e.!\204\v\ 1\342 \16.\343\ e\1a\337\340\ e,!!\344\ e,\ e.E#\210\ e.\16\1a)\ e-A\211\16-\204\332\0*\343\ e\1a\337\340\307\b! >\204.\ 1\310\311\312\bD\"\210\b\334H!!\307\b! >\204B\ 1\310\311\312\bD\"\210\b\345H@#*\207" [template cl-struct-yas--template-tags keybinding key menu-binding-pair #1=#:v yas--template-menu-binding-pair-get-create type-of signal wrong-type-argument yas--template 1 8 :none 3 key-description cl--set-getf :keys yas--template-menu-managed-by-yas-define-menu yas--menu-keymap-get-create yas--table-mode mapcar yas--table 4 11 cl--assertion-failed menu-keymap yas--delete-from-keymap 9 nil lookup-key vector make-symbol keymapp make-sparse-keymap define-key menu-item 10 #2=#:v yas-trigger-symbol #3=#:val table cl-struct-yas--table-tags group subgroup --dolist-tail-- subgroup-keymap] 9 (#$ . 66528)])
443#@30 Return NAMEHASH as an alist.\1f
444(defalias 'yas--namehash-templates-alist #[(namehash) "\302\18\303\304 \"\210\b)\207" [alist namehash nil maphash #[(k v) "\b B\nB\211\12\207" [k v alist] 2]] 3 (#$ . 67924)])
445#@143 Fetch templates in TABLE by KEY.
446
447Return a list of cons (NAME . TEMPLATE) where NAME is a
448string and TEMPLATE is a `yas--template' structure.\1f
449(defalias 'yas--fetch #[(table key) "\305\b! >\204\ f\0\306\307\310\bD\"\210\b\311H\211\1a\205\e\0\312\v\n\"\211\1c\205%\0\313\314\f!!*\207" [table cl-struct-yas--table-tags keyhash key namehash type-of signal wrong-type-argument yas--table 2 gethash yas--filter-templates-by-condition yas--namehash-templates-alist] 5 (#$ . 68130)])
450(defalias 'yas--eval-condition #[(condition) "\3031\11\0\212\214\304 \18\305\216\306 !,0\207\1a\307\310\311\312\n!#\210)\313\207" [save-match-data-internal condition err (error) match-data #[nil "\301\b\302\"\207" [save-match-data-internal set-match-data evaporate] 3] eval yas--message 1 "Error in condition evaluation: %s" error-message-string nil] 5])
451#@283 Filter the templates using the applicable condition.
452
453TEMPLATES is a list of cons (NAME . TEMPLATE) where NAME is a
454string and TEMPLATE is a `yas--template' structure.
455
456This function implements the rules described in
457`yas-buffer-local-condition'. See that variables documentation.\1f
458(defalias 'yas--filter-templates-by-condition #[(templates) "\302 \211\18\303=\203\r\0 \202\11\0\304\305 \")\207" [requirement templates yas--require-template-specific-condition-p always cl-remove-if-not #[(pair) "\303\304\bA! >\204\12\0\305\306\307\bAD\"\210\bA\310H\n\"\207" [pair cl-struct-yas--template-tags requirement yas--template-can-expand-p type-of signal wrong-type-argument yas--template 4] 5]] 4 (#$ . 68946)])
459#@105 Decide if this buffer requests/requires snippet-specific
460conditions to filter out potential expansions.\1f
461(defalias 'yas--require-template-specific-condition-p #[nil "\b\302=\203\b\0\302\207\b:\203\13\0\303\b!\206\14\0\b\211\19\2057\0 \304=\203#\0\304\2027\0 :\2057\0 @\305=\2057\0 A9\2057\0 A)\207" [yas-buffer-local-condition local-condition always yas--eval-condition t require-snippet-condition] 3 (#$ . 69646)])
462#@58 Evaluate CONDITION and REQUIREMENT and return a boolean.\1f
463(defalias 'yas--template-can-expand-p #[(condition requirement) "\b?\206\b\0\303\b!\19\n\304=\203\13\0 \202\16\0\n =)\207" [condition result requirement yas--eval-condition t] 2 (#$ . 70047)])
464(defalias 'yas--table-templates #[(table) "\b\2056\0\303\19\304\305\306\b!\n>\204\17\0\307\310\311\bD\"\210\b\312H\"\210\304\313\306\b!\n>\204-\0\307\310\311\bD\"\210\b\314H\"\210\315 !)\207" [table acc cl-struct-yas--table-tags nil maphash #[(_key namehash) "\301\302\b\"\207" [namehash maphash #[(name template) "\b B\nB\211\12\207" [name template acc] 2]] 3] type-of signal wrong-type-argument yas--table 2 #[(uuid template) "\b B\nB\211\12\207" [uuid template acc] 2] 3 yas--filter-templates-by-condition] 6])
465#@153 Find `yas--template' objects for any trigger keys preceding point.
466Returns (TEMPLATES START END). This function respects
467`yas-key-syntaxes', which see.\1f
468(defalias 'yas--templates-for-key-at-point #[nil "\212`\b\306\211\19\1a\e\1c\v\203\\\0\n\204\\\0 \v@=\204\e\0\fb\210\v@\211\11;\203-\0\307 !\210\vA\13\202I\0\310 !\203A\0 \f!\311=\204I\0\vA\13\202I\0\vA\13\312\313 \"\210\314`\f\"\1d\212\fb\210\315\316\317 \"\12*\202 \0\n\205d\0\n`\fE-\207" [yas-key-syntaxes method templates methods original possible-key nil skip-syntax-backward functionp again yas--warning "Invalid element `%s' in `yas-key-syntaxes'" buffer-substring-no-properties cl-mapcan #[(table) "\302\b \"\207" [table possible-key yas--fetch] 3] yas--get-snippet-tables] 5 (#$ . 70785)])
469#@51 Get trigger keys of all active snippets in TABLE.\1f
470(defalias 'yas--table-all-keys #[(table) "\303\18\304\305\306 !\n>\204\13\0\307\310\311 D\"\210 \312H\"\210\b)\207" [acc table cl-struct-yas--table-tags nil maphash #[(key namehash) "\303\304\b!!\205\r\0 \nB\211\12\207" [namehash key acc yas--filter-templates-by-condition yas--namehash-templates-alist] 3] type-of signal wrong-type-argument yas--table 2] 6 (#$ . 71504)])
471(defalias 'yas--table-mode #[(table) "\302\303\b! >\204\10\0\304\305\306\bD\"\210\b\307H!\207" [table cl-struct-yas--table-tags intern type-of signal wrong-type-argument yas--table 1] 5])
472#@94 Tries to work around Emacs Bug#30931.
473Helper function for `yas--save-restriction-and-widen'.\1f
474(defalias 'yas--remove-misc-free-from-undo #[(old-undo-list) "\b:\205J\0\b\211\19\1a\n:\205I\0\n\v=?\205I\0\n\211A\12\242\211\1c:\203C\0\f@\211\1d;\204B\0\306\r!\204B\0\r\250\204B\0\r9\204B\0\fA\250\203B\0 \n\241\210))\n\11\202 \0*\207" [buffer-undo-list prev undo-list old-undo-list entry head markerp] 3 (#$ . 72104)])
475#@91 Equivalent to (save-restriction (widen) BODY).
476Also tries to work around Emacs Bug#30931.\1f
477(defalias 'yas--save-restriction-and-widen '(macro . #[(&rest body) "\301\302\303\304\305\bBB\306BBE\207" [body let ((gc-cons-threshold most-positive-fixnum) (old-undo-list buffer-undo-list)) prog1 save-restriction (widen) ((yas--remove-misc-free-from-undo old-undo-list))] 6 (#$ . 72496)]))
478(byte-code "\300\301\302\303#\210\304\301\305\306#\300\207" [put yas--save-restriction-and-widen edebug-form-spec (body) function-put lisp-indent-function 0] 4)
479#@49 Evaluate FORM and convert the result to string.\1f
480(defalias 'yas--eval-for-string #[(form) "\b\306>?\205\b\0 \19\30714\0\212\n\v\1c\1d\214~\210\310 \1e\ f\311\216\312\ e\10!\211\1e\11\205*\0\313\314\ e\11\",\315\f!\210+0\202;\0\1e\12\316\ e\12!))\207" [yas-good-grace debug-on-error most-positive-fixnum buffer-undo-list old-undo-list gc-cons-threshold (t inline) (debug error) match-data #[nil "\301\b\302\"\207" [save-match-data-internal set-match-data evaporate] 3] eval format "%s" yas--remove-misc-free-from-undo error-message-string save-match-data-internal form result oops] 4 (#$ . 73044)])
481(defalias 'yas--eval-for-effect #[(form) "\301\302\303\b\"!\207" [form yas--safely-call-fun apply-partially eval] 4])
482#@178 Read STRING as a elisp expression and return it.
483
484In case STRING in an invalid expression and NIL-ON-ERROR is nil,
485return an expression that when evaluated will issue an error.\1f
486(defalias 'yas--read-lisp #[(string &optional nil-on-error) "\3031 \0\304\b!0\207\19\n?\205\14\0\305\306 DD)\207" [string err nil-on-error (error) read error error-message-string] 3 (#$ . 73727)])
487#@59 Read KEYBINDING as a snippet keybinding, return a vector.\1f
488(defalias 'yas--read-keybinding #[(keybinding) "\b\205/\0\302\303\b\"?\205/\0\3041#\0\302\305\b\"\203\1d\0\306\b!\206!\0\307\b\310\"0\207\19\311\312\313\b\314 !$\210)\315\207" [keybinding err string-match "keybinding" (error) "^\\[.*\\]$" read read-kbd-macro need-vector yas--message 2 "warning: keybinding \"%s\" invalid since %s." error-message-string nil] 6 (#$ . 74100)])
489#@56 Get or create the snippet table corresponding to MODE.\1f
490(defalias 'yas--table-get-create #[(mode) "\305\b \"\211\1a\204>\0\306\307\310\b!\311\312\313\"\311\312\313\"\314\315 &\ 6\12\316\b\n #\210\317\320\321\b\"!\322\n!\v>\2047\0\323\324\307\nD\"\210\n\325HB\fB\14\n)\207" [mode yas--tables table cl-struct-yas--table-tags yas--direct-keymaps gethash record yas--table symbol-name make-hash-table :test equal nil make-sparse-keymap puthash intern format "yas--direct-%s" type-of signal wrong-type-argument 5] 8 (#$ . 74525)])
491#@194 Get snippet tables for MODE.
492
493MODE defaults to the current buffer's `major-mode'.
494
495Return a list of `yas--table' objects. The list of modes to
496consider is returned by `yas--modes-to-activate'\1f
497(defalias 'yas--get-snippet-tables #[(&optional mode) "\301\302\303\304\305\b!\"\"\207" [mode remove nil mapcar #[(name) "\302\b \"\207" [name yas--tables gethash] 3] yas--modes-to-activate] 6 (#$ . 75042)])
498#@153 Get or create the menu keymap for MODE and its PARENTS.
499
500This may very well create a plethora of menu keymaps and arrange
501them all in `yas--menu-table'\1f
502(defalias 'yas--menu-keymap-get-create #[(mode &optional parents) "\305\b \"\206\r\0\306\b\307 #\1a\310\311\v\"\210\312\f\313\b!\314\315\b!\n\316\317\320\bDD\257\ 5#\210\n)\207" [mode yas--menu-table menu-keymap parents yas--minor-mode-menu gethash puthash make-sparse-keymap mapc yas--menu-keymap-get-create define-key vector menu-item symbol-name :visible yas--show-menu-p quote] 10 (#$ . 75448)])
503#@646 Parse the template in the current buffer.
504
505Optional FILE is the absolute file name of the file being
506parsed.
507
508Optional GROUP is the group where the template is to go,
509otherwise we attempt to calculate it from FILE.
510
511Return a snippet-definition, i.e. a list
512
513 (KEY TEMPLATE NAME CONDITION GROUP VARS LOAD-FILE KEYBINDING UUID)
514
515If the buffer contains a line of "# --" then the contents above
516this line are ignored. Directives can set most of these with the syntax:
517
518# directive-name : directive-value
519
520Here's a list of currently recognized directives:
521
522 * type
523 * name
524 * contributor
525 * condition
526 * group
527 * key
528 * expand-env
529 * binding
530 * uuid\1f
531(defalias 'yas--parse-template #[(&optional file) "eb\210\306\18 \205\f\0\307 !\1a\310\211\e\1c\310\211\1d\1e\" \205\1d\0\311 !\1e#\310\211\1e$\1e%\310\1e&\312\313\310\314#\203\271\0\315`d\"\14`\15eb\210\312\316\r\314#\203\276\0\317\320!\321\230\203O\0\317\322!\16&\317\320!\323\230\203e\0\317\322!\324\230\203c\0\325\202d\0\306\10\317\320!\326\230\203q\0\317\322!\13\317\320!\327\230\203}\0\317\322!\12\317\320!\330\230\203\214\0\331\317\322!!\16\"\317\320!\332\230\203\231\0\317\322!\16#\317\320!\333\230\203\251\0\331\317\322!\334\"\16$\317\320!\335\230\203:\0\317\322!\16%\202:\0\315ed\"\14\v\204\317\0\ e%\204\317\0 \205\316\0\307 !\13\b\325=\203\334\0\331\336\f\337Q!\14\ e#\203\350\0\340\ e#\341\"\16#\v\f\n\ e\"\ e#\ e$ \ e%\ e&\257 .\n\207" [type file name key template bound snippet file-name-nondirectory nil yas--calculate-group re-search-forward "^# --\\s-*\n" t buffer-substring-no-properties "^# *\\([^ ]+?\\) *: *\\(.*?\\)[[:space:]]*$" match-string-no-properties 1 "uuid" 2 "type" "command" command "key" "name" "condition" yas--read-lisp "group" "expand-env" nil-on-error "binding" "(progn" ")" split-string "\\." condition group expand-env binding uuid] 10 (#$ . 75996)])
532#@49 Calculate the group for snippet file path FILE.\1f
533(defalias 'yas--calculate-group #[(file) "\304\b\305\"\211\19\205\r\0\306\b \"\211\1a\205\15\0\307\n!\211\e\205!\0\310\311\312\313\v!#+\207" [file dominating-dir extra-path extra-dir locate-dominating-file ".yas-make-groups" file-relative-name file-name-directory replace-regexp-in-string "/" "." directory-file-name] 6 (#$ . 77749)])
534#@58 Return subdirs or files of DIRECTORY according to FILEP.\1f
535(defalias 'yas--subdirs #[(directory &optional filep) "\301\302\303\b\304\"\"\207" [directory cl-remove-if #[(file) "\302\303\304\b!\"\206'\0\302\305\304\b!\"\206'\0\302\306\304\b!\"\206'\0 \203#\0\307\b!\207\307\b!?\207" [file filep string-match "\\`\\." file-name-nondirectory "\\`#.*#\\'" "~\\'" file-directory-p] 4] directory-files t] 5 (#$ . 78124)])
536(defalias 'yas--make-menu-binding #[(template) "\303\304\b! >\204\10\0\305\306\307\bD\"\210\b\310H!\1a\311\312\313\314\315\nD\304\b! >\204+\0\305\306\307\bD\"\210\b\316HEF)\207" [template cl-struct-yas--template-tags mode yas--table-mode type-of signal wrong-type-argument yas--template 13 lambda nil (interactive) yas--expand-or-visit-from-menu quote 9] 9])
537(defalias 'yas--expand-or-visit-from-menu #[(mode uuid) "\306\b!\211\19\205\1d\0\307\n\310 !\v>\204\19\0\311\312\313 D\"\210 \314H\"\211\1c\205H\0\r\203,\0\315\f!\202H\0\316 \2039\0\317 \320 B\202<\0``B\1e\12\321\f\ e\12@\ e\12A#)*\207" [mode table uuid cl-struct-yas--table-tags yas--current-template yas-visit-from-menu yas--table-get-create gethash type-of signal wrong-type-argument yas--table 3 yas--visit-snippet-file-1 region-active-p region-beginning region-end yas-expand-snippet where] 7])
538#@56 Return a yasnippet key from a description string TEXT.\1f
539(defalias 'yas--key-from-desc #[(text) "\301\302\303\b#\207" [text replace-regexp-in-string "\\(\\w+\\).*" "\\1"] 4 (#$ . 79350)])
540#@140 Interactively choose a template from the list TEMPLATES.
541
542TEMPLATES is a list of `yas--template'.
543
544Optional PROMPT sets the prompt to use.\1f
545(defalias 'yas--prompt-for-template #[(templates &optional prompt) "\b\205\r\0\302\b\303\"\10\304\305 \"\207" [templates yas-prompt-functions sort #[(t1 t2) "\303\b! >\204\ f\0\304\305\306\bD\"\210\b\307HG\303\n! >\204\"\0\304\305\306\nD\"\210\n\307HGW\207" [t1 cl-struct-yas--template-tags t2 type-of signal wrong-type-argument yas--template 3] 5] cl-some #[(fn) "\b \206\ 6\0\303\n\304#\207" [fn prompt templates "Choose a snippet: " yas--template-name] 4]] 3 (#$ . 79542)])
546#@98 Interactively choose a template key from the list KEYS.
547
548Optional PROMPT sets the prompt to use.\1f
549(defalias 'yas--prompt-for-keys #[(keys &optional prompt) "\b\205\b\0\302\303 \"\207" [keys yas-prompt-functions cl-some #[(fn) "\b \206\ 6\0\303\n\"\207" [fn prompt keys "Choose a snippet key: "] 3]] 3 (#$ . 80147)])
550#@93 Interactively choose a table from the list TABLES.
551
552Optional PROMPT sets the prompt to use.\1f
553(defalias 'yas--prompt-for-table #[(tables &optional prompt) "\b\205\b\0\302\303 \"\207" [tables yas-prompt-functions cl-some #[(fn) "\b \206\ 6\0\303\n\304#\207" [fn prompt tables "Choose a snippet table: " yas--table-name] 4]] 3 (#$ . 80461)])
554#@39 Display choices in a x-window prompt.\1f
555(defalias 'yas-x-prompt #[(prompt choices &optional display-fn) "\b\205F\0 \205F\0\305 \210\306\307\310!\203+\0\310`!\311\ 18\262\ 1\211\1a@\312\\\nA\313\\D\314 )D\202,\0\315\v\316\317\320 \f\203<\0\321\f \"\202=\0 #BD\"\206F\0\322 \207" [window-system choices x-y prompt display-fn redisplay x-popup-menu fboundp posn-at-point 2 10 20 selected-window t "title" cl-mapcar #[(c d) "\302\bP B\207" [d c " "] 2] mapcar keyboard-quit] 11 (#$ . 80798)])
556(defalias 'yas-maybe-ido-prompt #[(prompt choices &optional display-fn) "\304\300!\205\ f\0\b\205\ f\0\305 \n\v#\207" [ido-mode prompt choices display-fn boundp yas-ido-prompt] 4])
557(defalias 'yas-ido-prompt #[(prompt choices &optional display-fn) "\303\304!\210\305\b \n\306$\207" [prompt choices display-fn require ido yas-completing-prompt ido-completing-read] 5])
558(defalias 'yas-dropdown-prompt #[(_prompt choices &optional display-fn) "\304\305!\205$\0\b\203\11\0\306\b \"\202\12\0 \1a\305\n!\211\e\203!\0\v 8\202#\0\307 *\207" [display-fn choices formatted-choices n fboundp dropdown-list mapcar keyboard-quit] 4])
559(defalias 'yas-completing-prompt #[(prompt choices &optional display-fn completion-fn) "\b\203\v\0\306\b \"\202\f\0 \1a\v\206\12\0\307\f\n\310\311\310\211&\ 6\1d \n=\203%\0\r\2021\0\312\r\n\313\314$\206/\0\315 8*\207" [display-fn choices formatted-choices completion-fn prompt chosen mapcar completing-read nil require-match cl-position :test string= 0] 7])
560(defalias 'yas-no-prompt #[(_prompt choices &optional _display-fn) "\b@\207" [choices] 1])
561(defvar yas--creating-compiled-snippets nil)
562#@35 Helper for `yas-define-snippets'.\1f
563(defalias 'yas--define-snippets-1 #[(snippet snippet-table) "\302\b\303\304\b #\"\207" [snippet-table snippet yas--update-template apply yas--define-snippets-2] 6 (#$ . 82346)])
564#@827 Define SNIPPETS for MODE.
565
566SNIPPETS is a list of snippet definitions, each taking the
567following form
568
569 (KEY TEMPLATE NAME CONDITION GROUP EXPAND-ENV LOAD-FILE KEYBINDING UUID SAVE-FILE)
570
571Within these, only KEY and TEMPLATE are actually mandatory.
572
573TEMPLATE might be a Lisp form or a string, depending on whether
574this is a snippet or a snippet-command.
575
576CONDITION, EXPAND-ENV and KEYBINDING are Lisp forms, they have
577been `yas--read-lisp'-ed and will eventually be
578`yas--eval-for-string'-ed.
579
580The remaining elements are strings.
581
582FILE is probably of very little use if you're programatically
583defining snippets.
584
585UUID is the snippet's "unique-id". Loading a second snippet
586file with the same uuid would replace the previous snippet.
587
588You can use `yas--parse-template' to return such lists based on
589the current buffers contents.\1f
590(defalias 'yas-define-snippets #[(mode snippets) "\b\203I\0\306\19\307c\210\n\306\e\211\1c\2037\0\f@\13\310\v\311\312\vGZ\306\"\"\13\313\v8\1d\313\v\233\306\240\210\314\v\233\r\240\210)\fA\211\14\204\11\0*\315\316\317\ e\13D\317\nDE!c\210\320c)\207\321\ e\13!\306\1e\14\1e\15\n\306\e\211\1c\203k\0\f@\13\322\v\ e\15\"\16\14\fA\211\14\204Z\0*\ e\14*\207" [yas--creating-compiled-snippets print-length snippets snippet --dolist-tail-- load-file nil ";;; Snippet definitions:\n;;;\n" append make-list 10 6 9 pp-to-string yas-define-snippets quote "\n\n" yas--table-get-create yas--define-snippets-1 mode template snippet-table] 6 (#$ . 82563)])
591#@43 Return TEMPLATE's LOAD-FILE or SAVE-FILE.\1f
592(defalias 'yas--template-get-file #[(template) "\303\b! >\204\ f\0\304\305\306\bD\"\210\b\307H\206F\0\303\b! >\204$\0\304\305\306\bD\"\210\b\310H\211\1a\203D\0\311\312\313\303\b! >\204>\0\304\305\306\bD\"\210\b\312H\n$\210\n)\207" [template cl-struct-yas--template-tags file type-of signal wrong-type-argument yas--template 6 7 yas--message 3 "%s has no load file, using save file, %s, instead."] 8 (#$ . 83974)])
593(defalias 'yas--load-yas-setup-file #[(file) "\b\204\f\0\304 \305\n\306X#\207 \307P\e\310\v!\205\1f\0\311c\210\312\v!\210db)\207" [yas--creating-compiled-snippets file yas-verbosity elfile load noerror 4 ".el" file-exists-p ";;; contents of the .yas-setup.el support file:\n;;;\n" insert-file-contents] 5])
594#@44 Add PARENTS to the list of MODE's parents.\1f
595(defalias 'yas--define-parents #[(mode parents) "\303\b\304\305 \306\b\n\"\"!\n#\207" [mode parents yas--parents puthash cl-remove-duplicates append gethash] 8 (#$ . 84717)])
596#@170 Load snippets in directory hierarchy TOP-LEVEL-DIR.
597
598Below TOP-LEVEL-DIR each directory should be a mode name.
599
600With prefix argument USE-JIT do jit-loading of snippets.\1f
601(defalias 'yas-load-directory #[(top-level-dir &optional use-jit interactive) "\b\204\ 6\0 \10\306\1a\307 !\306\e\211\1c\203\220\0\f@\13\310\v\311P!\211\1d@\1e\16\rA\1e\17\312\ e\16\ e\17\"\210\313\ e\16!\210\314\315\v\ e\16#\1e\18\ e\19\203F\0\316\ e\16\ e\18\"\210\202J\0\ e\18 \210)\ e\19\203\210\0\317 \1e\1a\306\1e\e\ e\1a:\203\207\0\ e\1a@\16\er\ e\eq\210\ e\1c\ e\16=\203}\0\320\321\322\ e\e\ e\16$\210\ e\e\nB\12)\ e\1aA\211\16\1a\202Y\0*+\fA\211\14\204\12\0*\n\1e\1d\306\1e\e\ e\1d:\203\264\0\ e\1d@\16\er\ e\eq\210\323 \210)\ e\1dA\211\16\1d\202\231\0+\ e\1e\205\277\0\320\324\325 #\207" [yas-snippet-dirs top-level-dir impatient-buffers dir --dolist-tail-- major-mode-and-parents nil yas--subdirs yas--compute-major-mode-and-parents "/dummy" yas--define-parents yas--menu-keymap-get-create apply-partially yas--load-directory-1 yas--schedule-jit buffer-list yas--message 4 "Discovered there was already %s in %s" yas--load-pending-jits 3 "Loaded snippets from %s." mode-sym parents fun use-jit #1=#:--cl-var-- buffer major-mode #2=#:--cl-var-- interactive] 6 (#$ . 84940) (list (read-directory-name "Select the root directory: " nil nil t) current-prefix-arg t)])
602#@52 Recursively load snippet templates from DIRECTORY.\1f
603(defalias 'yas--load-directory-1 #[(directory mode-sym) "\b\2036\0\306\307 \"\211\1a\310\311\312\"\e\1c\313\216r\vq\210\314\315\r\"c\210\316 \r\"\210\314\317\320 \"c)r\vq\210\321\322\211\f\322\323%\210-\207\324\306\325 \"!?\205c\0\326\306\327 \"\330\ e\1e\331X#\205U\0\332\333\334 #\210\312?\205c\0\332\333\335 #\210\316 \r\"\207" [yas--creating-compiled-snippets directory output-file #1=#:temp-buffer #2=#:temp-file mode-sym expand-file-name ".yas-compiled-snippets.el" generate-new-buffer " *temp file*" t #[nil "\301\b!\205 \0\302\b!\207" [#1# buffer-name kill-buffer] 2] format ";;; Compiled snippets and support files for `%s'\n" yas--load-directory-2 ";;; Do not edit! File generated at %s\n" current-time-string write-region nil 0 file-exists-p ".yas-skip" load ".yas-compiled-snippets" noerror 3 yas--message 4 "Loaded compiled snippets from %s" "Loading snippet files from %s" yas-verbosity] 8 (#$ . 86127)])
604(defalias 'yas--load-directory-2 #[(directory mode-sym) "\306\307\310\b\"!\210\b\19\311\1a\312\313\314\"\er\vq\210\315\216\316\b\317\"\311\1c\211\1d\203>\0\r@\14\320\f!\2037\0\321 \210\322\f!\210\323\f!\nB\12\rA\211\15\204!\0-\n\203I\0\324\ e\16\n\"\210\316\b!\311\1e\17\211\1d\205g\0\r@\16\17\325\ e\17\ e\16\"\210\rA\211\15\204T\0\311,\207" [directory default-directory snippet-defs #1=#:temp-buffer file --dolist-tail-- yas--load-yas-setup-file expand-file-name ".yas-setup" nil generate-new-buffer " *temp*" t #[nil "\301\b!\205 \0\302\b!\207" [#1# buffer-name kill-buffer] 2] yas--subdirs no-subdirs-just-files file-readable-p erase-buffer insert-file-contents yas--parse-template yas-define-snippets yas--load-directory-2 mode-sym subdir] 5])
605#@87 Reload the directories listed in `yas-snippet-dirs' or
606prompt the user to select one.\1f
607(defalias 'yas--load-snippet-dirs #[(&optional nojit) "\306\18 \204\r\0\307\310!\210\202X\0\n \235\203\18\0\311\n\312\"\210\313\301 !\306\e\211\1c\203W\0\f@\13\314\v!\203H\0\310\v\r?\"\210\r\203?\0\315\316\317\v#\210\202P\0\315\316\320\v#\210\202P\0\315\321\322\v#\bB\10\fA\211\14\204#\0*\b)\207" [errors yas-snippet-dirs yas--default-user-snippets-dir directory --dolist-tail-- nojit nil call-interactively yas-load-directory make-directory t reverse file-directory-p yas--message 4 "Loaded %s" "Prepared just-in-time loading for %s" 1 "Check your `yas-snippet-dirs': %s is not a directory"] 5 (#$ . 87773)])
608#@267 Reload all snippets and rebuild the YASnippet menu.
609
610When NO-JIT is non-nil force immediate reload of all known
611snippets under `yas-snippet-dirs', otherwise use just-in-time
612loading.
613
614When called interactively, use just-in-time loading when given a
615prefix argument.\1f
616(defalias 'yas-reload-all #[(&optional no-jit interactive) "\3062\213\0\307\310\311\312 \"\18\19\b\2035\0\n\203/\0\313\314!\203\"\0\315\316\b\"\210\2025\0\317\320\321\"\210\322\306\307\"\210\2025\0\315\323\312 \"\210\324 \13\324 \14\325\326\r\"\210\324 \15\324 \16$\327\ e%!\11\330 \210\331\332!\210\333\334\ e$\f\vE\"\1e&\317\ e&\204g\0 \203k\0\335\202l\0\336\ e%\203u\0\337\202v\0\340 \203~\0\341\202\210\0\ e&\203\207\0\342\202\210\0\343#+0\207" [snippet-editing-buffers errors interactive yas--tables yas--parents yas--menu-table abort nil cl-remove-if-not #[(buffer) "r\bq\210 )\207" [buffer yas--editing-template] 1] buffer-list y-or-n-p "Some buffers editing live snippets, close them and proceed with reload? " mapc kill-buffer yas--message 1 "Aborted reload..." throw #[(buffer) "r\bq\210\301\302!)\207" [buffer kill-local-variable yas--editing-template] 2] make-hash-table maphash #[(menu-symbol _keymap) "\302\b\303 !\304#\207" [yas--minor-mode-menu menu-symbol define-key vector nil] 4] yas--load-snippet-dirs yas-direct-keymaps-reload run-hooks yas-after-reload-hook cl-every #[(table) "\301\b!\302U\207" [table hash-table-count 0] 2] 2 3 "Snippets loaded %s." "Prepared just-in-time loading of snippets %s." "with some errors. Check *Messages*" "(but no snippets found)" "successfully" yas--scheduled-jit-loads no-jit no-snippets] 5 (#$ . 88444) (list (not current-prefix-arg) t)])
617#@35 Hooks run after `yas-reload-all'.\1f
618(defvar yas-after-reload-hook nil (#$ . 90064))
619(defalias 'yas--load-pending-jits #[nil "\305 \306\18\211\19\205>\0 @\10\307\310\b\n\"!\211\e\306\1c\211\19\203/\0 @\14\311\312\313\b\f$\210\f \210 A\211\11\204\e\0*\314\b\n\"\210) A\211\11\204 \0\306*\207" [mode --dolist-tail-- yas--scheduled-jit-loads funs fun yas--modes-to-activate nil reverse gethash yas--message 4 "Loading for `%s', just-in-time: %s!" remhash] 6])
620#@26 Escape TEXT for snippet.\1f
621(defalias 'yas-escape-text #[(text) "\b\205 \0\301\302\303\b#\207" [text replace-regexp-in-string "[\\$]" "\\\\\\&"] 4 (#$ . 90499)])
622#@148 Create .yas-compiled-snippets.el files under subdirs of TOP-LEVEL-DIR.
623
624This works by stubbing a few functions, then calling
625`yas-load-directory'.\1f
626(defalias 'yas-compile-directory #[(top-level-dir) "\302\18\303 \304\")\207" [yas--creating-compiled-snippets top-level-dir t yas-load-directory nil] 3 (#$ . 90662) "DTop level snippet directory?"])
627#@42 Compile every dir in `yas-snippet-dirs'.\1f
628(defalias 'yas-recompile-all #[nil "\300\301\302 \"\207" [mapc yas-compile-directory yas-snippet-dirs] 3 (#$ . 91012) nil])
629#@77 Alist of mode-symbols to forms to be evaled when `yas-minor-mode' kicks in.\1f
630(defvar yas--scheduled-jit-loads (make-hash-table) (#$ . 91183))
631(defalias 'yas--schedule-jit #[(mode fun) "\b\19\n\e\305 \f\306 \v\"B\v#*\207" [mode #1=#:v yas--scheduled-jit-loads #2=#:v fun puthash gethash] 6])
632(defalias 'yas-about #[nil "\306\307\3101\14\0\b\19\311\312\313\314\315$)@0\202\18\0\210\202\e\0\206j\0\316\317!\203h\0\320\321!\203h\0\320\322!\203h\0\3231c\0\324\n\236A\e\322\325\v@!\f>\204H\0\326\327\330\v@D\"\210\v@\331H!\1d\332\333\r\"\203]\0\ e\1e\334\rQ\202^\0\r*0\202e\0\210\335\206j\0\ e\1e\"\207" [yas--loaddir default-directory package-alist yas-pkg cl-struct-package-desc-tags version message "yasnippet (version %s) -- pluskid/joaotavora/npostavs" (error) process-lines "git" "describe" "--tags" "--dirty" featurep package fboundp package-desc-version package-version-join (error) yasnippet type-of signal wrong-type-argument package-desc 2 string-match "\\`20..[01][0-9][0-3][0-9][.][0-9]\\{3,4\\}\\'" "-snapshot" nil yas--version] 7 nil nil])
633#@133 Get TEMPLATE's menu binding or assign it a new one.
634
635TYPE may be `:stay', signaling this menu binding should be
636static in the menu.\1f
637(defalias 'yas--template-menu-binding-pair-get-create #[(template &optional type) "\304\b! >\204\ f\0\305\306\307\bD\"\210\b\310H\206[\0\304\b! >\204$\0\305\306\307\bD\"\210\b\211\1a\310\311\304\b! >\2048\0\305\306\307\bD\"\210\b\312H\206P\0\304\b! >\204M\0\305\306\307\bD\"\210\b\313H\314\b!\315\316\257\ 5\vBI)\207" [template cl-struct-yas--template-tags #1=#:v type type-of signal wrong-type-argument yas--template 10 menu-item 3 9 yas--make-menu-binding :keys nil] 8 (#$ . 92194)])
638#@76 Non-nil if TEMPLATE's menu entry was included in a `yas-define-menu' call.\1f
639(defalias 'yas--template-menu-managed-by-yas-define-menu #[(template) "\302\b! >\204\ f\0\303\304\305\bD\"\210\b\306HA\207" [template cl-struct-yas--template-tags type-of signal wrong-type-argument yas--template 10] 4 (#$ . 92792)])
640(defalias 'yas--show-menu-p #[(mode) "\b\302=\203\ f\0\303 \304\305\306 \"\"\207\b\205\14\0\307\207" [yas-use-menu mode abbreviate cl-find mapcar yas--table-mode yas--get-snippet-tables t] 5])
641#@66 Recursively delete items with UUID from KEYMAP and its submenus.\1f
642(defalias 'yas--delete-from-keymap #[(keymap uuid) "\302\303\bA\"\210\304\b\305\306 !!\307#\210\b\310\311\bA\"\241\207" [keymap uuid mapc #[(item) "\b\243:\205\16\0\302\303\bA8!\205\16\0\304\303\bA8 \"\207" [item uuid keymapp 2 yas--delete-from-keymap] 3] define-key vector make-symbol nil cl-delete-if #[(item) "\b<\204\a\0\301\207\bA?\206\1c\0\302\303\bA8!\205\1c\0\303\bA8A?\207" [item nil keymapp 2] 3]] 5 (#$ . 93285)])
643#@635 Define a snippet menu for MODE according to MENU, omitting OMIT-ITEMS.
644
645MENU is a list, its elements can be:
646
647- (yas-item UUID) : Creates an entry the snippet identified with
648 UUID. The menu entry for a snippet thus identified is
649 permanent, i.e. it will never move (be reordered) in the menu.
650
651- (yas-separator) : Creates a separator
652
653- (yas-submenu NAME SUBMENU) : Creates a submenu with NAME,
654 SUBMENU has the same form as MENU. NAME is also added to the
655 list of groups of the snippets defined thereafter.
656
657OMIT-ITEMS is a list of snippet uuids that will always be
658omitted from MODE's menu, even if they're manually loaded.\1f
659(defalias 'yas-define-menu #[(mode menu &optional omit-items) "\306\b!\19\307 !\n>\204\13\0\310\311\312 D\"\210 \313H\e\314 \315\b!\f\v$\210\r\316\1e\15\211\1e\16\205x\0\ e\16@\16\15\317\ e\15\v\"\206N\0\320\ e\15\321\322\316\211\211\211\211\211\211\211\ e\15\316\211\211 &\ e\v#\1e\17\307\ e\17!\ e\18>\204b\0\310\311\322\ e\17D\"\210\ e\17\211\1e\19\323\316\324BI\210*\ e\16A\211\16\16\204*\0\316,\207" [mode table cl-struct-yas--table-tags hash menu omit-items yas--table-get-create type-of signal wrong-type-argument yas--table 3 yas--define-menu-1 yas--menu-keymap-get-create nil gethash puthash record yas--template 10 :none uuid --dolist-tail-- template cl-struct-yas--template-tags #1=#:v] 18 (#$ . 93757)])
660#@31 Helper for `yas-define-menu'.\1f
661(defalias 'yas--define-menu-1 #[(table menu-keymap menu uuidhash &optional group-list) "\306\b!\19\307\211\1a\e\307\211\1c\1d\307\1e\1e :\203\272\0 @\211\15\211A\15\242\12\r\211A\15\242\13\r@\14\ e\1e\n\310=\2049\0\ e\1f\203e\0\n\311=\203e\0\312\v\ e \"\206Y\0\313\v\314\315\307\211\211\211\211\211\211\211\v\307\211\ e!\ e\"&\ e\ e #\1e#\316\ e#\317\"@)\202\257\0\n\320=\204v\0\ e\1f\203\223\0\n\321=\203\223\0\322 \1e$\323\ e\"\ e$\f\ e \324\ e!\vC\"%\210\325\v\ e$E)\202\257\0\n\326=\204\244\0\ e\1f\203\250\0\n\327=\203\250\0\330\202\257\0\331\332\333\n#\210\307C\244\16\1e A\211\11\202\10\0\334\335\ e\1e\"\1e%\ e&\211\1e'\ e%\ e'AB\241\210.\b\307\207" [menu #1=#:--cl-var-- type name submenu #2=#:--cl-var-- reverse nil yas-item yas/item gethash puthash record yas--template yas--template-menu-binding-pair-get-create :stay yas-submenu yas/submenu make-sparse-keymap yas--define-menu-1 append menu-item yas-separator yas/separator (menu-item "----") yas--message 1 "Don't know anything about menu entry %s" apply vector menu-entries yas-alias-to-yas/prefix-p uuidhash group-list table template subkeymap #3=#:x menu-keymap #4=#:v] 19 (#$ . 95035)])
662#@302 Define a snippet. Expanding KEY into TEMPLATE.
663
664NAME is a description to this template. Also update the menu if
665`yas-use-menu' is t. CONDITION is the condition attached to
666this snippet. If you attach a condition to a snippet, then it
667will only be expanded when the condition evaluated to non-nil.\1f
668(defalias 'yas--define #[(mode key template &optional name condition group) "\306\b \n\v\f\r\257\ 5C\"\207" [mode key template name condition group yas-define-snippets] 7 (#$ . 96114)])
669#@94 Integrate with hippie expand.
670
671Just put this function in `hippie-expand-try-functions-list'.\1f
672(defalias 'yas-hippie-try-expand #[(first-time\?) "\b\205\13\0 \204\ e\0\303\1a\304 )\207\305\306!\210\307\207" [yas-minor-mode first-time\? yas-fallback-behavior return-nil yas-expand undo 1 nil] 2 (#$ . 96602)])
673#@203 Define a function FUNC with doc DOC and body BODY.
674BODY is executed at most once every snippet expansion attempt, to check
675expansion conditions.
676
677It doesn't make any sense to call FUNC programatically.\1f
678(defalias 'yas-define-condition-cache '(macro . #[(func doc &rest body) "\303\b\304 \203\12\0 ;\203\12\0 \305P\202\17\0 \nB\12\304\306\307\310\311\bD\312BBDC\313\314\315\306\316\317\nBDC\320\311\bD\321BB\322BBBFE\257\ 5\207" [func doc body defun nil "\n\nFor use in snippets' conditions. Within each\nsnippet-expansion routine like `yas-expand', computes actual\nvalue for the first time then always returns a cached value." let timestamp-and-value get quote ('yas--condition-cache) if (equal (car timestamp-and-value) yas--condition-cache-timestamp) (cdr timestamp-and-value) new-value progn put ('yas--condition-cache (cons yas--condition-cache-timestamp new-value)) (new-value)] 14 (#$ . 96907)]))
679(defalias 'yas-expand 'yas-expand-from-trigger-key)
680#@258 Expand a snippet before point.
681
682If no snippet expansion is possible, fall back to the behaviour
683defined in `yas-fallback-behavior'.
684
685Optional argument FIELD is for non-interactive use and is an
686object satisfying `yas--field-p' to restrict the expansion to.\1f
687(defalias 'yas-expand-from-trigger-key #[(&optional field) "\306 \10\307\19\n\203\ f\0\v\n\235\203%\0\f\203\"\0\214\310\f!\311\f!}\210\312 )\202$\0\312 \11 \203O\0\313 @\314 \2036\0\315 \2027\0\r A@^\314 \203E\0\316 \202G\0\ e\11\317 8]#\202Q\0\320 )\207" [yas--condition-cache-timestamp templates-and-pos yas-expand-only-for-last-commands last-command field most-positive-fixnum current-time nil yas--field-start yas--field-end yas--templates-for-key-at-point yas--expand-or-prompt-for-template use-region-p region-beginning region-end 2 yas--fallback most-negative-fixnum] 6 (#$ . 97853) nil])
688#@243 Check whether a snippet may be expanded.
689If there are expandable snippets, return CMD (this is useful for
690conditional keybindings) or the list of expandable snippet
691template objects if CMD is nil (this is useful as a more general predicate).\1f
692(defalias 'yas--maybe-expand-from-keymap-filter #[(cmd) "\305 \18\306\307 \203\10\0\310 G\202\11\0\311\"\1a\312\313\314 \"\211\e\205\"\0\f\206\"\0\v+\207" [yas--condition-cache-timestamp current-prefix-arg vec templates cmd current-time cl-subseq this-command-keys-vector this-command-keys 0 cl-mapcan #[(table) "\302\b \"\207" [table vec yas--fetch] 3] yas--get-snippet-tables] 4 (#$ . 98689)])
693#@65 Directly expand some snippets, searching `yas--direct-keymaps'.\1f
694(defalias 'yas-expand-from-keymap #[nil "\302 \10\303\304!\211\19\205\ e\0\305 !)\207" [yas--condition-cache-timestamp templates current-time yas--maybe-expand-from-keymap-filter nil yas--expand-or-prompt-for-template] 3 (#$ . 99319) nil])
695#@206 Expand one of TEMPLATES from START to END.
696
697Prompt the user if TEMPLATES has more than one element, else
698expand immediately. Common gateway for
699`yas-expand-from-trigger-key' and `yas-expand-from-keymap'.\1f
700(defalias 'yas--expand-or-prompt-for-template #[(templates &optional start end) "\bA\203\ e\0\304\305\306\b\"!\206\11\0\b@A\211\19\205\e\0\307 \n\v#)\207" [templates yas--current-template start end yas--prompt-for-template mapcar cdr yas-expand-snippet] 5 (#$ . 99623)])
701#@118 Fallback after expansion has failed.
702
703Common gateway for `yas-expand-from-trigger-key' and
704`yas-expand-from-keymap'.\1f
705(defalias 'yas--fallback #[nil "\b\306\267\2022\0\307\207\310\311!\207\312\18\307\19\313 \1a\314\315\316\n#\210\n\203'\0\317\n!\204'\0\320\321!\210\n\13\n\2050\0\322\n!+\207\b<\203g\0\bA\203g\0\b@\323=\203g\0\bA@\bAA\312\307\19\18\1c\1d\f\203Z\0\323\r\f\"\202e\0\317\r!\205e\0\r\13\322\r!,\207\307\207" [yas-fallback-behavior yas-minor-mode beyond-yasnippet this-command args command-or-fn #s(hash-table size 3 test eq rehash-size 1.5 rehash-threshold 0.8125 purecopy t data (return-nil 6 yas--fallback 8 call-other-command 12)) nil error "yasnippet fallback loop!\nThis can happen when you bind `yas-expand' outside of the `yas-minor-mode-map'." yas--fallback yas--keybinding-beyond-yasnippet yas--message 4 "Falling back to %s" commandp cl--assertion-failed (or (null beyond-yasnippet) (commandp beyond-yasnippet)) call-interactively apply] 4 (#$ . 100092)])
706#@59 Get current keys's binding as if YASsnippet didn't exist.\1f
707(defalias 'yas--keybinding-beyond-yasnippet #[nil "\303\211\18\19\304 \1a\305\n\306\"\206\14\0\305\307\n!\306\"+\207" [yas-minor-mode yas--direct-keymaps keys nil this-single-command-keys key-binding t yas--fallback-translate-input] 4 (#$ . 101038)])
708#@173 Emulate `read-key-sequence', at least what I think it does.
709
710Keys should be an untranslated key vector. Returns a translated
711vector of keys. FIXME not thoroughly tested.\1f
712(defalias 'yas--fallback-translate-input #[(keys) "\306\307\18\19\b\nGW\203U\0\b\v\1c\211\1d\nGW\2032\0\f\2032\0\310\f!\2032\0\311\n\rH\312\313\f\"\"A\14\rT\211\15\202\10\0\314 \f9\203?\0\315\f!\202M\0\316\f!\203I\0\f\202M\0\n\b\rO\"\11\r\10*\202\ 4\0 *\207" [i retval keys local-function-key-map translated j [] 0 keymapp assoc remove keymap vconcat vector vectorp] 6 (#$ . 101345)])
713#@166 Get `yas--template' objects in TABLES, applicable for buffer and point.
714
715Honours `yas-choose-tables-first', `yas-choose-keys-first' and
716`yas-buffer-local-condition'\1f
717(defalias 'yas--all-templates #[(tables) "\b\203 \0\304 !C\11\305\306\n\203\"\0\307\310\311 \"!\211\e\205\1e\0\310\312 \")\202*\0\313\310\314 \"\315\316#\"\207" [yas-choose-tables-first tables yas-choose-keys-first key yas--prompt-for-table mapcar cdr yas--prompt-for-keys cl-mapcan yas--table-all-keys #[(table) "\302\b \"\207" [table key yas--fetch] 3] cl-remove-duplicates yas--table-templates :test equal] 7 (#$ . 101871)])
718#@47 Get the snippet called NAME in MODE's tables.\1f
719(defalias 'yas--lookup-snippet-1 #[(name mode) "\304\211\18\19\305\n\306\307\v!!\310\311\312\313&\ 6*\207" [yas-choose-keys-first yas-choose-tables-first name mode nil cl-find yas--all-templates yas--get-snippet-tables :key yas--template-name :test string=] 7 (#$ . 102459)])
720#@229 Get the snippet named NAME in MODE's tables.
721
722MODE defaults to the current buffer's `major-mode'. If NOERROR
723is non-nil, then don't signal an error if there isn't any snippet
724called NAME.
725
726Honours `yas-buffer-local-condition'.\1f
727(defalias 'yas-lookup-snippet #[(name &optional mode noerror) "\303\b \"\206\11\0\n\203\r\0\304\207\305\306\b\"\207" [name mode noerror yas--lookup-snippet-1 nil error "No snippet named: %s"] 3 (#$ . 102781)])
728#@170 Choose a snippet to expand, pop-up a list of choices according
729to `yas-prompt-functions'.
730
731With prefix argument NO-CONDITION, bypass filtering of snippets
732by condition.\1f
733(defalias 'yas-insert-snippet #[(&optional no-condition) "\306 \10 \203\v\0\307\202\f\0\n\1a\310\311 !\211\e\205#\0\vA\203!\0\312\v!\206#\0\v@\1c\313 \2031\0\314 \315 B\2024\0``B\1d\f\203C\0\316\f\r@\rA#\202G\0\317\320\321\",\207" [yas--condition-cache-timestamp no-condition yas-buffer-local-condition templates yas--current-template where current-time always yas--all-templates yas--get-snippet-tables yas--prompt-for-template region-active-p region-beginning region-end yas-expand-snippet yas--message 1 "No snippets can be inserted here!"] 5 (#$ . 103219) "P"])
734#@163 Choose a snippet to edit, selection like `yas-insert-snippet'.
735
736Only success if selected snippet was loaded from a file. Put the
737visited file in `snippet-mode'.\1f
738(defalias 'yas-visit-snippet-file #[nil "\303\18\304\305 !\211\19\205\14\0\306 \307\"\206\14\0 @\211\1a\203\1f\0\310\n!\202\"\0\311\312!+\207" [yas-buffer-local-condition templates template always yas--all-templates yas--get-snippet-tables yas--prompt-for-template "Choose a snippet template to edit: " yas--visit-snippet-file-1 message "No snippets tables active!"] 4 (#$ . 103937) nil])
739#@38 Helper for `yas-visit-snippet-file'.\1f
740(defalias 'yas--visit-snippet-file-1 #[(template) "\306\b!\211\19\203\1f\0\307 !\203\1f\0\310 !\210\311 \210\312\302!\210\b\211\12\202n\ 1 \203*\0\313\314 \"\202n\ 1\315\316\317\320\b!\v>\204<\0\321\322\323\bD\"\210\b\324H\"!\210\325\1c\320\b!\v>\204S\0\321\322\323\bD\"\210\b\326H<\203a\0\316\327!c\210\330\14\316\331\320\b!\v>\204r\0\321\322\323\bD\"\210\b\332H\"c\210\316\333\320\b!\v>\204\211\0\321\322\323\bD\"\210\b\324H\"c\210\320\b!\v>\204\236\0\321\322\323\bD\"\210\b\334H\203\273\0\316\335\320\b!\v>\204\265\0\321\322\323\bD\"\210\b\334H\"c\210\320\b!\v>\204\312\0\321\322\323\bD\"\210\b\336H\203\347\0\316\337\320\b!\v>\204\341\0\321\322\323\bD\"\210\b\336H\"c\210\320\b!\v>\204\366\0\321\322\323\bD\"\210\b\340H\203\13\ 1\316\341\320\b!\v>\204\r\ 1\321\322\323\bD\"\210\b\340H\"c\210\342c\210\f\330=\2033\ 1\343\320\b!\v>\204,\ 1\321\322\323\bD\"\210\b\326H!\202E\ 1\320\b!\v>\204B\ 1\321\322\323\bD\"\210\b\326Hc\210)\311 \210\312\302!\210\b\12\312\305!\210\344\320\b!\v>\204e\ 1\321\322\323\bD\"\210\b\345H!@A@\211\15)\207" [template file yas--editing-template cl-struct-yas--template-tags type default-directory yas--template-get-file file-readable-p find-file-other-window snippet-mode make-local-variable message "Original file %s no longer exists!" switch-to-buffer format "*%s*" type-of signal wrong-type-argument yas--template 3 snippet 2 "# type: command\n" command "# key: %s\n" 1 "# name: %s\n" 8 "# binding: %s\n" 5 "# expand-env: %s\n" 4 "# condition: %s\n" "# --\n" pp-to-string yas--guess-snippet-directories 13] 8 (#$ . 104478)])
741#@50 Guess possible snippet subdirectories for TABLE.\1f
742(defalias 'yas--guess-snippet-directories-1 #[(table) "\302\303\b! >\204\10\0\304\305\306\bD\"\210\b\307H!\310\311\303\b! >\204%\0\304\305\306\bD\"\210\b\312H\"B\207" [table cl-struct-yas--table-tags file-name-as-directory type-of signal wrong-type-argument yas--table 1 cl-mapcan yas--guess-snippet-directories-1 4] 7 (#$ . 105972)])
743#@255 Try to guess suitable directories based on the current active
744tables (or optional TABLE).
745
746Returns a list of elements (TABLE . DIRS) where TABLE is a
747`yas--table' object and DIRS is a list of all possible directories
748where snippets of table might exist.\1f
749(defalias 'yas--guess-snippet-directories #[(&optional table) "\301 \206 \0\bC\211\11@\n\203\13\0\nC\202\15\0\306 \e\1c\n\204,\0\307\r!\1e\v\310\ e\v\v\"\13\ e\v\vB\13)\311\312\v\"*\207" [yas--default-user-snippets-dir yas-snippet-dirs table tables main-dir major-mode yas--get-snippet-tables yas--table-get-create delq mapcar #[(table) "\b\301\302\303\b!\"B\207" [table mapcar #[(subdir) "\302\b \"\207" [subdir main-dir expand-file-name] 3] yas--guess-snippet-directories-1] 5] major-mode-table] 3 (#$ . 106353)])
750#@74 Return a dir inside TABLE-AND-DIRS, prompts for creation if none exists.\1f
751(defalias 'yas--make-directory-maybe #[(table-and-dirs &optional main-table-string) "\305\306\bA\"\206T\0\bA@\19\307\310 !!\204\e\0\311\312\313 \"!\210\314\315\316 \317\320\b@!\n\"\203-\0\321\202.\0\322\v\2063\0\321\323\b@!\f>\204D\0\324\325\326\b@D\"\210\b@\327H%!\205S\0\330 \331\"\210 )\207" [table-and-dirs candidate yas--tables main-table-string cl-struct-yas--table-tags cl-some #[(dir) "\301\b!\205\a\0\b\207" [dir file-directory-p] 2] file-writable-p file-name-directory error yas--format "%s is not writable." y-or-n-p format "Guessed directory (%s) for%s%s table \"%s\" does not exist! Create? " gethash yas--table-mode "" " brand new" type-of signal wrong-type-argument yas--table 1 make-directory also-make-parents] 10 (#$ . 107095)])
752(defconst yas-new-snippet-buffer-name "+new-snippet+")
753#@133 Pops a new buffer for writing a snippet.
754
755Expands a snippet-writing snippet, unless the optional prefix arg
756NO-TEMPLATE is non-nil.\1f
757(defalias 'yas-new-snippet #[(&optional no-template) "\306 \b\206\11\0\307 \205\11\0\310\311 \312 \"\18\19\313\n!\210\314 \210\315 \210\316 \210\317\320!\210\321\303!\210\322\323 \"\13\321\304!\210 @A@\14\r?\205D\0\ e\15\205D\0\324\ e\15!*\207" [yas-selected-text guessed-directories yas-new-snippet-buffer-name yas--guessed-modes default-directory no-template yas--guess-snippet-directories region-active-p buffer-substring-no-properties region-beginning region-end switch-to-buffer erase-buffer kill-all-local-variables snippet-mode yas-minor-mode 1 make-local-variable mapcar #[(d) "\301\b@!\207" [d yas--table-mode] 2] yas-expand-snippet yas-new-snippet-default] 4 (#$ . 107956) "P"])
758#@280 Given FILE, find the nearest snippet directory for a given mode.
759
760Returns a list (MODE-SYM PARENTS), the mode's symbol and a list
761representing one or more of the mode's parents.
762
763Note that MODE-SYM need not be the symbol of a real major mode,
764neither do the elements of PARENTS.\1f
765(defalias 'yas--compute-major-mode-and-parents #[(file) "\b\205\12\0\306\307\310\311\"\206\11\0\306\312\b!!!\211\19\313P\1a \205\1e\0\314 !\211\e\205&\0\315\v!\1c\316\n!\205F\0\317\315\320\321\322\323\"\1dr\rq\210\324\216\325\n!\210\326ed\"+!\"\1e\18\f\205S\0\f\327\f\ e\18\"B-\207" [file file-dir parents-file-name major-mode-name major-mode-sym #1=#:temp-buffer directory-file-name cl-some #[(special) "\302\b \"\207" [file special locate-dominating-file] 3] (".yas-setup.el" ".yas-make-groups" ".yas-parents") file-name-directory "/.yas-parents" file-name-nondirectory intern file-readable-p mapcar split-string generate-new-buffer " *temp*" t #[nil "\301\b!\205 \0\302\b!\207" [#1# buffer-name kill-buffer] 2] insert-file-contents buffer-substring-no-properties remove parents] 7 (#$ . 108757)])
766#@77 Supporting variable for `yas-load-snippet-buffer' and `yas--visit-snippet'.\1f
767(defvar yas--editing-template nil (#$ . 109805))
768#@59 Holds the current template being expanded into a snippet.\1f
769(defvar yas--current-template nil (#$ . 109936))
770#@61 List of guessed modes supporting `yas-load-snippet-buffer'.\1f
771(defvar yas--guessed-modes nil (#$ . 110049))
772#@56 Ask user for a snippet table, help with some guessing.\1f
773(defalias 'yas--read-table #[nil "\304\305!\203\ e\0\b\203\ e\0\306\202\ f\0\307\19\n\204\1c\0\310\302!\210\311\v!\12\312 \313\314\n\203)\0\n@\202*\0\315\"\316\317\n\"\320\211\211\211\n@\205<\0\317\n@!&\a!)\207" [ido-mode prompt yas--guessed-modes buffer-file-name featurep ido ido-completing-read completing-read make-local-variable yas--compute-major-mode-and-parents intern format "Choose or enter a table (yas guesses %s): " "nothing" mapcar symbol-name nil] 10 (#$ . 110161)])
774#@219 Parse and load current buffer's snippet definition into TABLE.
775TABLE is a symbol name passed to `yas--table-get-create'. When
776called interactively, prompt for the table name.
777Return the `yas--template' object created\1f
778(defalias 'yas-load-snippet-buffer #[(table &optional interactive) "\b\2030\0\306\307\310\b! >\204\15\0\311\312\313\bD\"\210\b\314H!\310\b! >\204(\0\311\312\313\bD\"\210\b\315H\"\210\202L\0\n\204<\0\316\302!\210\317\v!\12\320\f!\1c\316\300!\210\306\307\v!\f\"\10)\r\203\255\0\321\322\323\310\b! >\204b\0\311\312\313\bD\"\210\b\322H\310\211\b! >\204u\0\311\312\313\bD\"\210\b\315H!\ e\16>\204\227\0\311\312\324\310\b! >\204\221\0\311\312\313\bD\"\210\b\315HD\"\210\310\b! >\204\246\0\311\312\313\bD\"\210\b\315H\325H$\210\b\207" [yas--editing-template cl-struct-yas--template-tags yas--guessed-modes buffer-file-name table interactive yas--define-snippets-1 yas--parse-template type-of signal wrong-type-argument yas--template 6 13 make-local-variable yas--compute-major-mode-and-parents yas--table-get-create yas--message 3 "Snippet \"%s\" loaded for %s." yas--table 1 cl-struct-yas--table-tags] 11 (#$ . 110683) (list (yas--read-table) t)])
779#@47 Added to `after-save-hook' in `snippet-mode'.\1f
780(defalias 'yas-maybe-load-snippet-buffer #[nil "\306\307\310\311\b!!!!\19\312\313\314 !\315\n!#\e\316\v!\f>\204#\0\317\320\321\vD\"\210\v\322H\1d\v\r\2033\0\323 \r\"\202H\0\324\316\v!\f>\204C\0\317\320\321\vD\"\210\v\325H \"\232?\205Q\0\326 \327\"+\207" [default-directory mode buffer-file-name current-snippet cl-struct-yas--template-tags uuid intern file-name-sans-extension file-name-nondirectory directory-file-name apply yas--define-snippets-2 yas--table-get-create yas--parse-template type-of signal wrong-type-argument yas--template 9 yas--get-template-by-uuid yas--lookup-snippet-1 3 yas-load-snippet-buffer t] 6 (#$ . 111803)])
781#@376 Load and save the snippet, then `quit-window' if saved.
782Loading is performed by `yas-load-snippet-buffer'. If the
783snippet is new, ask the user whether (and where) to save it. If
784the snippet already has a file, just save it.
785
786The prefix argument KILL is passed to `quit-window'.
787
788Don't use this from a Lisp program, call `yas-load-snippet-buffer'
789and `kill-buffer' instead.\1f
790(defalias 'yas-load-snippet-buffer-and-close #[(table &optional kill) "\306\b\307\"\19\310 \203\240\0\311\312\313\314\211 !\n>\204\1d\0\315\316\317 D\"\210 \320H!\v>\204>\0\315\316\321\314 !\n>\2048\0\315\316\317 D\"\210 \320HD\"\210\314 !\n>\204M\0\315\316\317 D\"\210 \320H\322H\"!\203\240\0\323\314 !\n>\204g\0\315\316\317 D\"\210 \320H!@A@\314 !\n>\204}\0\315\316\317 D\"\210 \324H\1c\1d\ e\1c\204\234\0\f\203\234\0\325\326\327\211\211\f%\16\1c\330\331\ e\1c!\307\"\210\332 \210*\333\ e\1d!)\207" [table template cl-struct-yas--template-tags cl-struct-yas--table-tags default-file-name default-directory yas-load-snippet-buffer t buffer-modified-p y-or-n-p format "[yas] Loaded for %s. Also save snippet buffer?" type-of signal wrong-type-argument yas--template 13 yas--table 1 yas--guess-snippet-directories 3 read-file-name "File to save snippet in: " nil rename-buffer file-name-nondirectory save-buffer quit-window buffer-file-name kill] 10 (#$ . 112473) (list (yas--read-table) current-prefix-arg)])
791#@109 Test current buffer's snippet template in other buffer.
792DEBUG is for debugging the YASnippet engine itself.\1f
793(defalias 'yas-tryout-snippet #[(&optional debug) "\306\b!\19\307 \1a @\203\18\0\310 @!\203\18\0 @\206$\0\v@\206$\0\311\312\313\314!!!\1c\n\205G\0\310\f!\205G\0\315\316\n@\nA@\317\n8\320\321\n8\320\211\211\211\211\211\211\211&\ e\211\1d\203\247\0\322\323\324\r!\ e(>\204^\0\325\326\316\rD\"\210\r\327H\"\1e)\330\331\ e)!!\210\332\331\ e)!!\210\320\16*\3331\200\0\f 0\210\202\201\0\210\334\335!\210\320\16+\336\red#\210\ e,\205\243\0\337\340\320\341#\205\243\0\342\343\344\"\210\345\343!)\202\253\0\346\335\347\",\207" [buffer-file-name major-mode-and-parent parsed yas--guessed-modes test-mode yas--current-template yas--compute-major-mode-and-parents yas--parse-template fboundp intern read-from-minibuffer yas--format "Please input a mode: " record yas--template 2 nil 5 format "*testing snippet: %s*" type-of signal wrong-type-argument 3 kill-buffer get-buffer-create switch-to-buffer (error) yas-minor-mode 1 yas-expand-snippet require yasnippet-debug t yas-debug-snippets "*YASnippet trace*" snippet-navigation display-buffer yas--message "Cannot test snippet for unknown major mode" cl-struct-yas--template-tags buffer-name buffer-undo-list buffer-read-only debug] 16 (#$ . 113828) "P"])
794#@62 Return all active trigger keys for current buffer and point.\1f
795(defalias 'yas-active-keys #[nil "\300\301\302\303\304\305 \"\"\306\307#\207" [cl-remove-duplicates cl-remove-if-not stringp cl-mapcan yas--table-all-keys yas--get-snippet-tables :test string=] 6 (#$ . 115089)])
796(defalias 'yas--template-fine-group #[(template) "\302\303\b! >\204\10\0\304\305\306\bD\"\210\b\307H\206(\0\303\b! >\204%\0\304\305\306\bD\"\210\b\310H!@\207" [template cl-struct-yas--template-tags last type-of signal wrong-type-argument yas--template 11 12] 5])
797#@37 Display snippet tables by NAMEHASH.\1f
798(defalias 'yas-describe-table-by-namehash #[nil "r\302\303!q\210\304\18\305 \210\306c\210\307\310 \"\210)\311\312!\210\312b\210\313p!)\207" [inhibit-read-only yas--tables get-buffer-create "*YASnippet Tables by NAMEHASH*" t erase-buffer "YASnippet tables by NAMEHASH: \n" maphash #[(_mode table) "\302\303\304\b! >\204\11\0\305\306\307\bD\"\210\b\310H\"c\210\311\312\304\b! >\204(\0\305\306\307\bD\"\210\b\313H\"\207" [table cl-struct-yas--table-tags format "\nSnippet table `%s':\n\n" type-of signal wrong-type-argument yas--table 1 maphash #[(key _v) "\304\305\b\306\19\307\310\311\b\312\n!\v>\204\18\0\313\314\315\nD\"\210\n\316H\"\"\210 )#c\207" [key names table cl-struct-yas--table-tags format " key %s maps snippets: %s\n" nil maphash #[(k _v) "\b B\211\11\207" [k names] 2] gethash type-of signal wrong-type-argument yas--table 2] 11] 2] 6] view-mode 1 display-buffer] 3 (#$ . 115620) nil])
799#@34 Display snippets for each table.\1f
800(defalias 'yas-describe-tables #[(&optional with-nonactive) "p\306 \18\19r\307\310!q\210\311\1a\v\203\16\0\312\313\f\"\210\314 \210\315c\210\b\316\1d\211\1e\14\2037\0\ e\14@\15\317\r \"\210\ e\14A\211\16\14\204%\0*\320 \210)\321 \210\322b\210\323p!+\207" [tables original-buffer inhibit-read-only with-nonactive yas--tables table yas--get-snippet-tables get-buffer-create "*YASnippet Tables*" t maphash #[(_k v) "\b\19\303 \n\"\203\r\0\n\202\12\0 \nB\211\12)\207" [v #1=#:var tables memql] 3] erase-buffer "YASnippet tables:\n" nil yas--describe-pretty-table yas--create-snippet-xrefs help-mode 1 display-buffer --dolist-tail--] 4 (#$ . 116540) "P"])
801(defalias 'yas--describe-pretty-table #[(table &optional original-buffer) "\303\304\305\b! >\204\11\0\306\307\310\bD\"\210\b\311H\"c\210\305\b! >\204&\0\306\307\310\bD\"\210\b\312H\203I\0\303\313\314\315\305\b! >\204?\0\306\307\310\bD\"\210\b\312H\"\"c\210\202L\0\316c\210\317\320\321\"\316\261\ 2\210\322c\210\323\324\325\"\1a\326\327\305\b! >\204m\0\306\307\310\bD\"\210\b\330H\"\210\326\331\n\")\207" [table cl-struct-yas--table-tags groups-hash format "\nSnippet table `%s'" type-of signal wrong-type-argument yas--table 1 4 " parents: %s\n" mapcar yas--table-name "\n" make-string 100 45 "group state name key binding\n" make-hash-table :test equal maphash #[(_k v) "\304\b!\206\a\0\305\19\306\b!\n>\204\17\0\307\310\311\bD\"\210\b\312H\205'\0\313 \b\314 \v\"B\v#)\207" [v group cl-struct-yas--template-tags groups-hash yas--template-fine-group "(top level)" type-of signal wrong-type-argument yas--template 3 puthash gethash] 6] 3 #[(group templates) "\306\b\307\310\311\312%\10\313\314\315\"\316\261\ 2\210 \317\1a\211\e\205\344\0\v@\12\306\320\321\322\323\n!\f>\204.\0\324\325\326\nD\"\210\n\327H\"\330\n#\331\310\311\312%\1d\b\313\bG\311\"\10\18\323\n!\f>\204R\0\324\325\326\nD\"\210\n\332H\211\1e(\203u\0\ e)\203u\0r\ e)q\210\333\ e(!\203p\0\334\202q\0\335)\202v\0\336)\1e*\337\323\n!\f>\204\211\0\324\325\326\nD\"\210\n\340H!\211\1e+\341\230?\205\227\0\311\1e,\b\342\ e*\342\r\343\344\r\"\203\252\0\345\202\253\0\342\342\306\323\n!\f>\204\274\0\324\325\326\nD\"\210\n\346H\206\303\0\341\347\310\ e,\312%\ e,\206\317\0\341\306\ e+\347\310\317\312%\316\261\v\210-\vA\211\13\204\18\0\317*\207" [group templates p --dolist-tail-- cl-struct-yas--template-tags name truncate-string-to-width 25 0 32 "..." make-string 100 45 "\n" nil propertize format "\\\\snippet `%s'" type-of signal wrong-type-argument yas--template 3 yasnippet 50 4 yas--eval-condition "(y)" "(s)" "(a)" key-description 8 "" " " string-match "\\.\\.\\.$" "'" 1 15 condition original-buffer condition-string key-description-string template-key-padding] 16]] 8])
802#@186 As `yas-key-syntaxes' element, look for whitespace delimited key.
803
804A newline will be considered whitespace even if the mode syntax
805marks it as something else (typically comment ender).\1f
806(defalias 'yas-try-key-from-whitespace #[(_start-point) "\300\301x\207" ["^[:space:]\n" nil] 2 (#$ . 119183)])
807#@67 Like `yas-longest-key-from-whitespace' but take the shortest key.\1f
808(defalias 'yas-shortest-key-until-whitespace #[(_start-point) "\300`Sx\301U?\205\v\0\302\207" ["^[:space:]\n" 0 again] 2 (#$ . 119485)])
809#@202 As `yas-key-syntaxes' element, look for longest key between point and whitespace.
810
811A newline will be considered whitespace even if the mode syntax
812marks it as something else (typically comment ender).\1f
813(defalias 'yas-longest-key-from-whitespace #[(start-point) "`\bU\203\r\0\301\b!\210\202\10\0\302u\210\b`TX?\205\19\0\303\207" [start-point yas-try-key-from-whitespace nil again] 2 (#$ . 119693)])
814#@63 Non-nil if field has been modified by user or transformation.\1f
815(defvar yas-modified-p nil (#$ . 120085))
816#@41 Non-nil if user is about to exit field.\1f
817(defvar yas-moving-away-p nil (#$ . 120195))
818#@30 Contains current field text.\1f
819(defvar yas-text nil (#$ . 120286))
820#@166 Search PATTERN in STR and return SUBEXPth match.
821
822If found, the content of subexp group SUBEXP (default 0) is
823 returned, or else the original STR will be returned.\1f
824(defalias 'yas-substr #[(str pattern &optional subexp) "\b\206\ 5\0\305\19\306 \1a\307\216\310\v\f\"\203\19\0\311 \f\"\202\1a\0\f+\207" [subexp grp save-match-data-internal pattern str 0 match-data #[nil "\301\b\302\"\207" [save-match-data-internal set-match-data evaporate] 3] string-match match-string-no-properties] 3 (#$ . 120358)])
825#@114 Prompt for a string in POSSIBILITIES and return it.
826
827The last element of POSSIBILITIES may be a list of strings.\1f
828(defalias 'yas-choose-value #[(&rest possibilities) "\b\206\ 5\0 ?\205$\0\306\n!\211\e@\211\1c<\203\1f\0\v\f@\240\210\v\fA\241\210*\307\310\r\"\207" [yas-moving-away-p yas-modified-p possibilities last-link last-elem yas-prompt-functions last cl-some #[(fn) "\b\302 \"\207" [fn possibilities "Choose: "] 3]] 4 (#$ . 120851)])
829#@276 A snippet-aware version of `completing-read'.
830This can be used to query the user for the initial value of a
831snippet field. The arguments are the same as `completing-read'.
832
833(fn PROMPT COLLECTION &optional PREDICATE REQUIRE-MATCH INITIAL-INPUT HIST DEF INHERIT-INPUT-METHOD)\1f
834(defalias 'yas-completing-read #[(&rest args) "\b\206\ 5\0 ?\205\r\0\303\304\n\"\207" [yas-moving-away-p yas-modified-p args apply completing-read] 3 (#$ . 121282)])
835#@29 Helper for `yas-auto-next'.\1f
836(defalias 'yas--auto-next #[nil "\301\300\302\303#\210\304 \210\302\b>\204\0\0\305\207" [post-command-hook remove-hook yas--auto-next t yas-next-field nil] 4 (#$ . 121723)])
837#@58 Automatically advance to next field after eval'ing BODY.\1f
838(defalias 'yas-auto-next '(macro . #[(&rest body) "\301\302\303\304\b\305\"BE\207" [body unless yas-moving-away-p prog1 append ((add-hook 'post-command-hook #'yas--auto-next nil t))] 6 (#$ . 121928)]))
839(byte-code "\300\301\302\303#\304\301\305\306#\207" [function-put yas-auto-next lisp-indent-function 0 put edebug-form-spec t] 5)
840(defalias 'yas-key-to-value #[(alist) "\b\206\ 5\0 ?\205!\0\304\305!\211\1a;\205 \0\306\n\v\307\310\311\312&\ 6A\206 \0\n)\207" [yas-moving-away-p yas-modified-p key alist read-key-sequence "" cl-find :key car :test string=] 8])
841#@49 Signal `yas-exception' with TEXT as the reason.\1f
842(defalias 'yas-throw #[(text) "\301\302\bC\"\207" [text signal yas-exception] 3 (#$ . 122539)])
843(byte-code "\300\301\302\303#\210\300\301\304\305#\207" [put yas-exception error-conditions (error yas-exception) error-message "[yas] Exception"] 4)
844#@92 Verify that the current field value is in POSSIBILITIES.
845Otherwise signal `yas-exception'.\1f
846(defalias 'yas-verify-value #[(possibilities) "\b\205\11\0 \n\235?\205\11\0\303\304\305\n\"!\207" [yas-moving-away-p yas-text possibilities yas-throw format "Field only allows %s"] 4 (#$ . 122838)])
847#@120 Get the string for field with NUMBER.
848
849Use this in primary and mirror transformations to get the text of
850other fields.\1f
851(defalias 'yas-field-value #[(number) "\303 @\211\18\205\f\0\304\b \"\211\1a\205\14\0\305\n!*\207" [snippet number field yas-active-snippets yas--snippet-find-field yas--field-text-for-display] 4 (#$ . 123128)])
852#@62 Return `yas-text' if that exists and is non-empty, else nil.\1f
853(defalias 'yas-text #[nil "\b\205\f\0\b\301\230?\205\f\0\b\207" [yas-text ""] 2 (#$ . 123456)])
854#@71 Return `yas-selected-text' if that exists and is non-empty, else nil.\1f
855(defalias 'yas-selected-text #[nil "\b\205\f\0\b\301\230?\205\f\0\b\207" [yas-selected-text ""] 2 (#$ . 123614)])
856(defalias 'yas--get-field-once #[(number &optional transform-fn) "\b?\205\12\0 \203\ f\0 \303\n!!\207\303\n!\207" [yas-modified-p transform-fn number yas-field-value] 3])
857(defalias 'yas-default-from-field #[(number) "\b?\205\b\0\302 !\207" [yas-modified-p number yas-field-value] 2])
858#@72 Return non-nil if the point is inside a string according to font-lock.\1f
859(defalias 'yas-inside-string #[nil "\300`S\301\"\302=\207" [get-char-property face font-lock-string-face] 3 (#$ . 124073)])
860(defalias 'yas-unimplemented #[(&optional missing-feature) "\b\203\15\0\302\303\304 \206\f\0\305\"!\205\1d\0\306\b!\207\307\310 \206\1c\0\305\"\207" [yas--current-template missing-feature y-or-n-p format "This snippet is unimplemented (missing %s) Visit the snippet definition? " "something" yas--visit-snippet-file-1 message "No implementation. Missing %s"] 4])
861#@38 Overlays the currently active field.\1f
862(defvar yas--active-field-overlay nil (#$ . 124625))
863#@35 List of currently active snippets\1f
864(defvar yas--active-snippets nil (#$ . 124721))
865(make-variable-buffer-local 'yas--active-snippets)
866#@48 Two overlays protect the current active field.\1f
867(defvar yas--field-protection-overlays nil (#$ . 124860))
868#@60 The selected region deleted on the last snippet expansion.\1f
869(defvar yas-selected-text nil (#$ . 124971))
870#@49 The column where the snippet expansion started.\1f
871(defvar yas--start-column nil (#$ . 125081))
872(byte-code "\300\301!\210\300\302!\210\303\301\304\305#\210\303\302\304\305#\207" [make-variable-buffer-local yas--active-field-overlay yas--field-protection-overlays put permanent-local t] 4)
873#@47 compiler-macro for inlining `yas--snippet-p'.\1f
874(defalias 'yas--snippet-p--cmacro #[(_cl-whole-arg cl-x) "\301\302\303\304\211\211\b&\ 6\207" [cl-x cl--defsubst-expand (cl-x) (cl-block yas--snippet-p (and (memq (type-of cl-x) cl-struct-yas--snippet-tags) t)) nil] 7 (#$ . 125373)])
875(put 'yas--snippet-p 'compiler-macro 'yas--snippet-p--cmacro)
876(defalias 'yas--snippet-p #[(cl-x) "\302\b! >\205 \0\303\207" [cl-x cl-struct-yas--snippet-tags type-of t] 2])
877(byte-code "\300\301\302\303#\304\305\306\301#\207" [function-put yas--snippet-p side-effect-free error-free put yas--snippet cl-deftype-satisfies] 5)
878#@56 compiler-macro for inlining `yas--snippet-expand-env'.\1f
879(defalias 'yas--snippet-expand-env--cmacro #[(_cl-whole-arg cl-x) "\301\302\303\304\211\211\b&\ 6\207" [cl-x cl--defsubst-expand (cl-x) (cl-block yas--snippet-expand-env (progn (or (yas--snippet-p cl-x) (signal 'wrong-type-argument (list 'yas--snippet cl-x))) (aref cl-x 1))) nil] 7 (#$ . 125978)])
880(put 'yas--snippet-expand-env 'compiler-macro 'yas--snippet-expand-env--cmacro)
881#@57 Access slot "expand-env" of `yas--snippet' struct CL-X.\1f
882(defalias 'yas--snippet-expand-env #[(cl-x) "\302\b! >\204\ f\0\303\304\305\bD\"\210\b\306H\207" [cl-x cl-struct-yas--snippet-tags type-of signal wrong-type-argument yas--snippet 1] 4 (#$ . 126415)])
883(byte-code "\300\301\302\303#\300\207" [function-put yas--snippet-expand-env side-effect-free t] 4)
884#@52 compiler-macro for inlining `yas--snippet-fields'.\1f
885(defalias 'yas--snippet-fields--cmacro #[(_cl-whole-arg cl-x) "\301\302\303\304\211\211\b&\ 6\207" [cl-x cl--defsubst-expand (cl-x) (cl-block yas--snippet-fields (progn (or (yas--snippet-p cl-x) (signal 'wrong-type-argument (list 'yas--snippet cl-x))) (aref cl-x 2))) nil] 7 (#$ . 126771)])
886(put 'yas--snippet-fields 'compiler-macro 'yas--snippet-fields--cmacro)
887#@53 Access slot "fields" of `yas--snippet' struct CL-X.\1f
888(defalias 'yas--snippet-fields #[(cl-x) "\302\b! >\204\ f\0\303\304\305\bD\"\210\b\306H\207" [cl-x cl-struct-yas--snippet-tags type-of signal wrong-type-argument yas--snippet 2] 4 (#$ . 127188)])
889(byte-code "\300\301\302\303#\300\207" [function-put yas--snippet-fields side-effect-free t] 4)
890#@50 compiler-macro for inlining `yas--snippet-exit'.\1f
891(defalias 'yas--snippet-exit--cmacro #[(_cl-whole-arg cl-x) "\301\302\303\304\211\211\b&\ 6\207" [cl-x cl--defsubst-expand (cl-x) (cl-block yas--snippet-exit (progn (or (yas--snippet-p cl-x) (signal 'wrong-type-argument (list 'yas--snippet cl-x))) (aref cl-x 3))) nil] 7 (#$ . 127532)])
892(put 'yas--snippet-exit 'compiler-macro 'yas--snippet-exit--cmacro)
893#@51 Access slot "exit" of `yas--snippet' struct CL-X.\1f
894(defalias 'yas--snippet-exit #[(cl-x) "\302\b! >\204\ f\0\303\304\305\bD\"\210\b\306H\207" [cl-x cl-struct-yas--snippet-tags type-of signal wrong-type-argument yas--snippet 3] 4 (#$ . 127939)])
895(byte-code "\300\301\302\303#\300\207" [function-put yas--snippet-exit side-effect-free t] 4)
896#@48 compiler-macro for inlining `yas--snippet-id'.\1f
897(defalias 'yas--snippet-id--cmacro #[(_cl-whole-arg cl-x) "\301\302\303\304\211\211\b&\ 6\207" [cl-x cl--defsubst-expand (cl-x) (cl-block yas--snippet-id (progn (or (yas--snippet-p cl-x) (signal 'wrong-type-argument (list 'yas--snippet cl-x))) (aref cl-x 4))) nil] 7 (#$ . 128277)])
898(put 'yas--snippet-id 'compiler-macro 'yas--snippet-id--cmacro)
899#@49 Access slot "id" of `yas--snippet' struct CL-X.\1f
900(defalias 'yas--snippet-id #[(cl-x) "\302\b! >\204\ f\0\303\304\305\bD\"\210\b\306H\207" [cl-x cl-struct-yas--snippet-tags type-of signal wrong-type-argument yas--snippet 4] 4 (#$ . 128674)])
901(byte-code "\300\301\302\303#\300\301\304\305#\300\207" [function-put yas--snippet-id side-effect-free t gv-expander #[(_cl-do _cl-x) "\300\301\302\"\207" [error "%s is a read-only slot" yas--snippet-id] 3]] 5)
902#@61 compiler-macro for inlining `yas--snippet-control-overlay'.\1f
903(defalias 'yas--snippet-control-overlay--cmacro #[(_cl-whole-arg cl-x) "\301\302\303\304\211\211\b&\ 6\207" [cl-x cl--defsubst-expand (cl-x) (cl-block yas--snippet-control-overlay (progn (or (yas--snippet-p cl-x) (signal 'wrong-type-argument (list 'yas--snippet cl-x))) (aref cl-x 5))) nil] 7 (#$ . 129125)])
904(put 'yas--snippet-control-overlay 'compiler-macro 'yas--snippet-control-overlay--cmacro)
905#@62 Access slot "control-overlay" of `yas--snippet' struct CL-X.\1f
906(defalias 'yas--snippet-control-overlay #[(cl-x) "\302\b! >\204\ f\0\303\304\305\bD\"\210\b\306H\207" [cl-x cl-struct-yas--snippet-tags type-of signal wrong-type-argument yas--snippet 5] 4 (#$ . 129587)])
907(byte-code "\300\301\302\303#\300\207" [function-put yas--snippet-control-overlay side-effect-free t] 4)
908#@58 compiler-macro for inlining `yas--snippet-active-field'.\1f
909(defalias 'yas--snippet-active-field--cmacro #[(_cl-whole-arg cl-x) "\301\302\303\304\211\211\b&\ 6\207" [cl-x cl--defsubst-expand (cl-x) (cl-block yas--snippet-active-field (progn (or (yas--snippet-p cl-x) (signal 'wrong-type-argument (list 'yas--snippet cl-x))) (aref cl-x 6))) nil] 7 (#$ . 129958)])
910(put 'yas--snippet-active-field 'compiler-macro 'yas--snippet-active-field--cmacro)
911#@59 Access slot "active-field" of `yas--snippet' struct CL-X.\1f
912(defalias 'yas--snippet-active-field #[(cl-x) "\302\b! >\204\ f\0\303\304\305\bD\"\210\b\306H\207" [cl-x cl-struct-yas--snippet-tags type-of signal wrong-type-argument yas--snippet 6] 4 (#$ . 130405)])
913(byte-code "\300\301\302\303#\300\207" [function-put yas--snippet-active-field side-effect-free t] 4)
914#@67 compiler-macro for inlining `yas--snippet-previous-active-field'.\1f
915(defalias 'yas--snippet-previous-active-field--cmacro #[(_cl-whole-arg cl-x) "\301\302\303\304\211\211\b&\ 6\207" [cl-x cl--defsubst-expand (cl-x) (cl-block yas--snippet-previous-active-field (progn (or (yas--snippet-p cl-x) (signal 'wrong-type-argument (list 'yas--snippet cl-x))) (aref cl-x 7))) nil] 7 (#$ . 130767)])
916(put 'yas--snippet-previous-active-field 'compiler-macro 'yas--snippet-previous-active-field--cmacro)
917#@68 Access slot "previous-active-field" of `yas--snippet' struct CL-X.\1f
918(defalias 'yas--snippet-previous-active-field #[(cl-x) "\302\b! >\204\ f\0\303\304\305\bD\"\210\b\306H\207" [cl-x cl-struct-yas--snippet-tags type-of signal wrong-type-argument yas--snippet 7] 4 (#$ . 131259)])
919(byte-code "\300\301\302\303#\300\207" [function-put yas--snippet-previous-active-field side-effect-free t] 4)
920#@56 compiler-macro for inlining `yas--snippet-force-exit'.\1f
921(defalias 'yas--snippet-force-exit--cmacro #[(_cl-whole-arg cl-x) "\301\302\303\304\211\211\b&\ 6\207" [cl-x cl--defsubst-expand (cl-x) (cl-block yas--snippet-force-exit (progn (or (yas--snippet-p cl-x) (signal 'wrong-type-argument (list 'yas--snippet cl-x))) (aref cl-x 8))) nil] 7 (#$ . 131648)])
922(put 'yas--snippet-force-exit 'compiler-macro 'yas--snippet-force-exit--cmacro)
923#@57 Access slot "force-exit" of `yas--snippet' struct CL-X.\1f
924(defalias 'yas--snippet-force-exit #[(cl-x) "\302\b! >\204\ f\0\303\304\305\bD\"\210\b\306H\207" [cl-x cl-struct-yas--snippet-tags type-of signal wrong-type-argument yas--snippet 8] 4 (#$ . 132085)])
925(byte-code "\300\301\302\303#\304\305\306\"\207" [function-put yas--snippet-force-exit side-effect-free t defalias copy-yas--snippet copy-sequence] 4)
926#@168 compiler-macro for inlining `make-yas--snippet'.
927
928(fn CL-WHOLE &cl-quote &key EXPAND-ENV FIELDS EXIT ID CONTROL-OVERLAY ACTIVE-FIELD PREVIOUS-ACTIVE-FIELD FORCE-EXIT)\1f
929(defalias 'make-yas--snippet--cmacro #[(cl-whole &rest #1=#:--cl-rest--) "\306\b\307\"A@\19\306\b\310\"\206\ f\0\311A@\1a\306\b\312\"A@\e\306\b\313\"\206!\0\314A@\1c\306\b\315\"A@\1d\306\b\316\"A@\1e\19\306\b\317\"A@\1e\1a\306\b\320\"A@\1e\e\b\1e\1c\ e\1c\203v\0\ e\1c@\321>\203]\0\ e\1cAA\211\16\1c\202H\0\322\b>A@\203l\0\323\211\16\1c\202H\0\324\325\ e\1c@\"\210\202F\0)\326\327\330\323\ e\1d\323 \n\v\f\r\ e\19\ e\1a\ e\e&\r.\b\207" [#1# expand-env fields exit id control-overlay plist-member :expand-env :fields (nil 'nil) :exit :id (nil (yas--snippet-next-id)) :control-overlay :active-field :previous-active-field :force-exit (:expand-env :fields :exit :id :control-overlay :active-field :previous-active-field :force-exit :allow-other-keys) :allow-other-keys nil error "Keyword argument %s not one of (:expand-env :fields :exit :id :control-overlay :active-field :previous-active-field :force-exit)" cl--defsubst-expand (expand-env fields exit id control-overlay active-field previous-active-field force-exit) (cl-block make-yas--snippet (record 'yas--snippet expand-env fields exit id control-overlay active-field previous-active-field force-exit)) active-field previous-active-field force-exit #2=#:--cl-keys-- cl-whole] 15 (#$ . 132493)])
930(put 'make-yas--snippet 'compiler-macro 'make-yas--snippet--cmacro)
931#@148 Constructor for objects of type `yas--snippet'.
932
933(fn &key EXPAND-ENV FIELDS EXIT ID CONTROL-OVERLAY ACTIVE-FIELD PREVIOUS-ACTIVE-FIELD FORCE-EXIT)\1f
934(defalias 'make-yas--snippet #[(&rest #1=#:--cl-rest--) "\306\b\307\"A@\19\306\b\310\"\206\ f\0\311A@\1a\306\b\312\"A@\e\306\b\313\"\206$\0\314\315 DA@\1c\306\b\316\"A@\1d\306\b\317\"A@\1e\18\306\b\320\"A@\1e\19\306\b\321\"A@\1e\1a\b\1e\e\ e\e\203y\0\ e\e@\322>\203`\0\ e\eAA\211\16\e\202K\0\323\b>A@\203o\0\314\211\16\e\202K\0\324\325\ e\e@\"\210\202I\0)\326\327 \n\v\f\r\ e\18\ e\19\ e\1a& .\b\207" [#1# expand-env fields exit id control-overlay plist-member :expand-env :fields (nil nil) :exit :id nil yas--snippet-next-id :control-overlay :active-field :previous-active-field :force-exit (:expand-env :fields :exit :id :control-overlay :active-field :previous-active-field :force-exit :allow-other-keys) :allow-other-keys error "Keyword argument %s not one of (:expand-env :fields :exit :id :control-overlay :active-field :previous-active-field :force-exit)" record yas--snippet active-field previous-active-field force-exit #2=#:--cl-keys--] 11 (#$ . 133897)])
935#@50 compiler-macro for inlining `yas--make-snippet'.\1f
936(defalias 'yas--make-snippet--cmacro #[(_cl-whole-arg expand-env) "\301\302\303\304\211\211\b&\ 6\207" [expand-env cl--defsubst-expand (expand-env) (cl-block yas--make-snippet (record 'yas--snippet expand-env 'nil nil (yas--snippet-next-id) nil nil nil nil)) nil] 7 (#$ . 134939)])
937(put 'yas--make-snippet 'compiler-macro 'yas--make-snippet--cmacro)
938#@49 Constructor for objects of type `yas--snippet'.\1f
939(defalias 'yas--make-snippet #[(expand-env) "\301\302\b\303\211\304 \303\211\211\211& \207" [expand-env record yas--snippet nil yas--snippet-next-id] 10 (#$ . 135341)])
940(cl-struct-define 'yas--snippet "A snippet.\n\n..." 'cl-structure-object 'record nil '((cl-tag-slot) (expand-env) (fields 'nil) (exit nil) (id (yas--snippet-next-id) :read-only t) (control-overlay nil) (active-field) (previous-active-field) (force-exit)) 'cl-struct-yas--snippet-tags 'yas--snippet t)
941#@45 compiler-macro for inlining `yas--field-p'.\1f
942(defalias 'yas--field-p--cmacro #[(_cl-whole-arg cl-x) "\301\302\303\304\211\211\b&\ 6\207" [cl-x cl--defsubst-expand (cl-x) (cl-block yas--field-p (and (memq (type-of cl-x) cl-struct-yas--field-tags) t)) nil] 7 (#$ . 135864)])
943(put 'yas--field-p 'compiler-macro 'yas--field-p--cmacro)
944(defalias 'yas--field-p #[(cl-x) "\302\b! >\205 \0\303\207" [cl-x cl-struct-yas--field-tags type-of t] 2])
945(byte-code "\300\301\302\303#\304\305\306\301#\207" [function-put yas--field-p side-effect-free error-free put yas--field cl-deftype-satisfies] 5)
946#@50 compiler-macro for inlining `yas--field-number'.\1f
947(defalias 'yas--field-number--cmacro #[(_cl-whole-arg cl-x) "\301\302\303\304\211\211\b&\ 6\207" [cl-x cl--defsubst-expand (cl-x) (cl-block yas--field-number (progn (or (yas--field-p cl-x) (signal 'wrong-type-argument (list 'yas--field cl-x))) (aref cl-x 1))) nil] 7 (#$ . 136449)])
948(put 'yas--field-number 'compiler-macro 'yas--field-number--cmacro)
949#@51 Access slot "number" of `yas--field' struct CL-X.\1f
950(defalias 'yas--field-number #[(cl-x) "\302\b! >\204\ f\0\303\304\305\bD\"\210\b\306H\207" [cl-x cl-struct-yas--field-tags type-of signal wrong-type-argument yas--field 1] 4 (#$ . 136852)])
951(byte-code "\300\301\302\303#\300\207" [function-put yas--field-number side-effect-free t] 4)
952#@49 compiler-macro for inlining `yas--field-start'.\1f
953(defalias 'yas--field-start--cmacro #[(_cl-whole-arg cl-x) "\301\302\303\304\211\211\b&\ 6\207" [cl-x cl--defsubst-expand (cl-x) (cl-block yas--field-start (progn (or (yas--field-p cl-x) (signal 'wrong-type-argument (list 'yas--field cl-x))) (aref cl-x 2))) nil] 7 (#$ . 137186)])
954(put 'yas--field-start 'compiler-macro 'yas--field-start--cmacro)
955#@50 Access slot "start" of `yas--field' struct CL-X.\1f
956(defalias 'yas--field-start #[(cl-x) "\302\b! >\204\ f\0\303\304\305\bD\"\210\b\306H\207" [cl-x cl-struct-yas--field-tags type-of signal wrong-type-argument yas--field 2] 4 (#$ . 137584)])
957(byte-code "\300\301\302\303#\300\207" [function-put yas--field-start side-effect-free t] 4)
958#@47 compiler-macro for inlining `yas--field-end'.\1f
959(defalias 'yas--field-end--cmacro #[(_cl-whole-arg cl-x) "\301\302\303\304\211\211\b&\ 6\207" [cl-x cl--defsubst-expand (cl-x) (cl-block yas--field-end (progn (or (yas--field-p cl-x) (signal 'wrong-type-argument (list 'yas--field cl-x))) (aref cl-x 3))) nil] 7 (#$ . 137915)])
960(put 'yas--field-end 'compiler-macro 'yas--field-end--cmacro)
961#@48 Access slot "end" of `yas--field' struct CL-X.\1f
962(defalias 'yas--field-end #[(cl-x) "\302\b! >\204\ f\0\303\304\305\bD\"\210\b\306H\207" [cl-x cl-struct-yas--field-tags type-of signal wrong-type-argument yas--field 3] 4 (#$ . 138303)])
963(byte-code "\300\301\302\303#\300\207" [function-put yas--field-end side-effect-free t] 4)
964#@56 compiler-macro for inlining `yas--field-parent-field'.\1f
965(defalias 'yas--field-parent-field--cmacro #[(_cl-whole-arg cl-x) "\301\302\303\304\211\211\b&\ 6\207" [cl-x cl--defsubst-expand (cl-x) (cl-block yas--field-parent-field (progn (or (yas--field-p cl-x) (signal 'wrong-type-argument (list 'yas--field cl-x))) (aref cl-x 4))) nil] 7 (#$ . 138628)])
966(put 'yas--field-parent-field 'compiler-macro 'yas--field-parent-field--cmacro)
967#@57 Access slot "parent-field" of `yas--field' struct CL-X.\1f
968(defalias 'yas--field-parent-field #[(cl-x) "\302\b! >\204\ f\0\303\304\305\bD\"\210\b\306H\207" [cl-x cl-struct-yas--field-tags type-of signal wrong-type-argument yas--field 4] 4 (#$ . 139061)])
969(byte-code "\300\301\302\303#\300\207" [function-put yas--field-parent-field side-effect-free t] 4)
970#@51 compiler-macro for inlining `yas--field-mirrors'.\1f
971(defalias 'yas--field-mirrors--cmacro #[(_cl-whole-arg cl-x) "\301\302\303\304\211\211\b&\ 6\207" [cl-x cl--defsubst-expand (cl-x) (cl-block yas--field-mirrors (progn (or (yas--field-p cl-x) (signal 'wrong-type-argument (list 'yas--field cl-x))) (aref cl-x 5))) nil] 7 (#$ . 139413)])
972(put 'yas--field-mirrors 'compiler-macro 'yas--field-mirrors--cmacro)
973#@52 Access slot "mirrors" of `yas--field' struct CL-X.\1f
974(defalias 'yas--field-mirrors #[(cl-x) "\302\b! >\204\ f\0\303\304\305\bD\"\210\b\306H\207" [cl-x cl-struct-yas--field-tags type-of signal wrong-type-argument yas--field 5] 4 (#$ . 139821)])
975(byte-code "\300\301\302\303#\300\207" [function-put yas--field-mirrors side-effect-free t] 4)
976#@53 compiler-macro for inlining `yas--field-transform'.\1f
977(defalias 'yas--field-transform--cmacro #[(_cl-whole-arg cl-x) "\301\302\303\304\211\211\b&\ 6\207" [cl-x cl--defsubst-expand (cl-x) (cl-block yas--field-transform (progn (or (yas--field-p cl-x) (signal 'wrong-type-argument (list 'yas--field cl-x))) (aref cl-x 6))) nil] 7 (#$ . 140158)])
978(put 'yas--field-transform 'compiler-macro 'yas--field-transform--cmacro)
979#@54 Access slot "transform" of `yas--field' struct CL-X.\1f
980(defalias 'yas--field-transform #[(cl-x) "\302\b! >\204\ f\0\303\304\305\bD\"\210\b\306H\207" [cl-x cl-struct-yas--field-tags type-of signal wrong-type-argument yas--field 6] 4 (#$ . 140576)])
981(byte-code "\300\301\302\303#\300\207" [function-put yas--field-transform side-effect-free t] 4)
982#@54 compiler-macro for inlining `yas--field-modified-p'.\1f
983(defalias 'yas--field-modified-p--cmacro #[(_cl-whole-arg cl-x) "\301\302\303\304\211\211\b&\ 6\207" [cl-x cl--defsubst-expand (cl-x) (cl-block yas--field-modified-p (progn (or (yas--field-p cl-x) (signal 'wrong-type-argument (list 'yas--field cl-x))) (aref cl-x 7))) nil] 7 (#$ . 140919)])
984(put 'yas--field-modified-p 'compiler-macro 'yas--field-modified-p--cmacro)
985#@55 Access slot "modified-p" of `yas--field' struct CL-X.\1f
986(defalias 'yas--field-modified-p #[(cl-x) "\302\b! >\204\ f\0\303\304\305\bD\"\210\b\306H\207" [cl-x cl-struct-yas--field-tags type-of signal wrong-type-argument yas--field 7] 4 (#$ . 141342)])
987(byte-code "\300\301\302\303#\300\207" [function-put yas--field-modified-p side-effect-free t] 4)
988#@48 compiler-macro for inlining `yas--field-next'.\1f
989(defalias 'yas--field-next--cmacro #[(_cl-whole-arg cl-x) "\301\302\303\304\211\211\b&\ 6\207" [cl-x cl--defsubst-expand (cl-x) (cl-block yas--field-next (progn (or (yas--field-p cl-x) (signal 'wrong-type-argument (list 'yas--field cl-x))) (aref cl-x 8))) nil] 7 (#$ . 141688)])
990(put 'yas--field-next 'compiler-macro 'yas--field-next--cmacro)
991#@49 Access slot "next" of `yas--field' struct CL-X.\1f
992(defalias 'yas--field-next #[(cl-x) "\302\b! >\204\ f\0\303\304\305\bD\"\210\b\306H\207" [cl-x cl-struct-yas--field-tags type-of signal wrong-type-argument yas--field 8] 4 (#$ . 142081)])
993(byte-code "\300\301\302\303#\304\305\306\"\207" [function-put yas--field-next side-effect-free t defalias copy-yas--field copy-sequence] 4)
994#@142 compiler-macro for inlining `make-yas--field'.
995
996(fn CL-WHOLE &cl-quote &key NUMBER START END PARENT-FIELD MIRRORS TRANSFORM MODIFIED-P NEXT)\1f
997(defalias 'make-yas--field--cmacro #[(cl-whole &rest #1=#:--cl-rest--) "\306\b\307\"A@\19\306\b\310\"A@\1a\306\b\311\"A@\e\306\b\312\"A@\1c\306\b\313\"\206$\0\314A@\1d\306\b\315\"A@\1e\18\306\b\316\"A@\1e\19\306\b\317\"A@\1e\1a\b\1e\e\ e\e\203r\0\ e\e@\320>\203Y\0\ e\eAA\211\16\e\202D\0\321\b>A@\203h\0\322\211\16\e\202D\0\323\324\ e\e@\"\210\202B\0)\325\326\327\322\ e\1c\322 \n\v\f\r\ e\18\ e\19\ e\1a&\r.\b\207" [#1# number start end parent-field mirrors plist-member :number :start :end :parent-field :mirrors (nil 'nil) :transform :modified-p :next (:number :start :end :parent-field :mirrors :transform :modified-p :next :allow-other-keys) :allow-other-keys nil error "Keyword argument %s not one of (:number :start :end :parent-field :mirrors :transform :modified-p :next)" cl--defsubst-expand (number start end parent-field mirrors transform modified-p next) (cl-block make-yas--field (record 'yas--field number start end parent-field mirrors transform modified-p next)) transform modified-p next #2=#:--cl-keys-- cl-whole] 15 (#$ . 142459)])
998(put 'make-yas--field 'compiler-macro 'make-yas--field--cmacro)
999#@122 Constructor for objects of type `yas--field'.
1000
1001(fn &key NUMBER START END PARENT-FIELD MIRRORS TRANSFORM MODIFIED-P NEXT)\1f
1002(defalias 'make-yas--field #[(&rest #1=#:--cl-rest--) "\306\b\307\"A@\19\306\b\310\"A@\1a\306\b\311\"A@\e\306\b\312\"A@\1c\306\b\313\"\206$\0\314A@\1d\306\b\315\"A@\1e\17\306\b\316\"A@\1e\18\306\b\317\"A@\1e\19\b\1e\1a\ e\1a\203r\0\ e\1a@\320>\203Y\0\ e\1aAA\211\16\1a\202D\0\321\b>A@\203h\0\322\211\16\1a\202D\0\323\324\ e\1a@\"\210\202B\0)\325\326 \n\v\f\r\ e\17\ e\18\ e\19& .\b\207" [#1# number start end parent-field mirrors plist-member :number :start :end :parent-field :mirrors (nil nil) :transform :modified-p :next (:number :start :end :parent-field :mirrors :transform :modified-p :next :allow-other-keys) :allow-other-keys nil error "Keyword argument %s not one of (:number :start :end :parent-field :mirrors :transform :modified-p :next)" record yas--field transform modified-p next #2=#:--cl-keys--] 11 (#$ . 143644)])
1003(byte-code "\300\301\302\303#\300\207" [function-put make-yas--field side-effect-free t] 4)
1004#@48 compiler-macro for inlining `yas--make-field'.\1f
1005(defalias 'yas--make-field--cmacro #[(_cl-whole-arg number start end parent-field) "\304\305\306\307\211\211\b \n\v& \207" [number start end parent-field cl--defsubst-expand (number start end parent-field) (cl-block yas--make-field (record 'yas--field number start end parent-field 'nil nil nil nil)) nil] 10 (#$ . 144615)])
1006(put 'yas--make-field 'compiler-macro 'yas--make-field--cmacro)
1007#@47 Constructor for objects of type `yas--field'.\1f
1008(defalias 'yas--make-field #[(number start end parent-field) "\304\305\b \n\v\306\211\211\211& \207" [number start end parent-field record yas--field nil] 10 (#$ . 145055)])
1009(byte-code "\300\301\302\303#\304\305\306\307\310\311\312\313\305\303& \207" [function-put yas--make-field side-effect-free t cl-struct-define yas--field "A field.\n\nNUMBER is the field number.\nSTART and END are mostly buffer markers, but see \"apropos markers-to-points\".\nPARENT-FIELD is a `yas--field' this field is nested under, or nil.\nMIRRORS is a list of `yas--mirror's\nTRANSFORM is a lisp form.\nMODIFIED-P is a boolean set to true once user inputs text.\nNEXT is another `yas--field' or `yas--mirror' or `yas--exit'.\n" cl-structure-object record nil ((cl-tag-slot) (number) (start) (end) (parent-field) (mirrors 'nil) (transform nil) (modified-p nil) (next)) cl-struct-yas--field-tags] 11)
1010#@46 compiler-macro for inlining `yas--mirror-p'.\1f
1011(defalias 'yas--mirror-p--cmacro #[(_cl-whole-arg cl-x) "\301\302\303\304\211\211\b&\ 6\207" [cl-x cl--defsubst-expand (cl-x) (cl-block yas--mirror-p (and (memq (type-of cl-x) cl-struct-yas--mirror-tags) t)) nil] 7 (#$ . 145984)])
1012(put 'yas--mirror-p 'compiler-macro 'yas--mirror-p--cmacro)
1013(defalias 'yas--mirror-p #[(cl-x) "\302\b! >\205 \0\303\207" [cl-x cl-struct-yas--mirror-tags type-of t] 2])
1014(byte-code "\300\301\302\303#\304\305\306\301#\207" [function-put yas--mirror-p side-effect-free error-free put yas--mirror cl-deftype-satisfies] 5)
1015#@50 compiler-macro for inlining `yas--mirror-start'.\1f
1016(defalias 'yas--mirror-start--cmacro #[(_cl-whole-arg cl-x) "\301\302\303\304\211\211\b&\ 6\207" [cl-x cl--defsubst-expand (cl-x) (cl-block yas--mirror-start (progn (or (yas--mirror-p cl-x) (signal 'wrong-type-argument (list 'yas--mirror cl-x))) (aref cl-x 1))) nil] 7 (#$ . 146579)])
1017(put 'yas--mirror-start 'compiler-macro 'yas--mirror-start--cmacro)
1018#@51 Access slot "start" of `yas--mirror' struct CL-X.\1f
1019(defalias 'yas--mirror-start #[(cl-x) "\302\b! >\204\ f\0\303\304\305\bD\"\210\b\306H\207" [cl-x cl-struct-yas--mirror-tags type-of signal wrong-type-argument yas--mirror 1] 4 (#$ . 146984)])
1020(byte-code "\300\301\302\303#\300\207" [function-put yas--mirror-start side-effect-free t] 4)
1021#@48 compiler-macro for inlining `yas--mirror-end'.\1f
1022(defalias 'yas--mirror-end--cmacro #[(_cl-whole-arg cl-x) "\301\302\303\304\211\211\b&\ 6\207" [cl-x cl--defsubst-expand (cl-x) (cl-block yas--mirror-end (progn (or (yas--mirror-p cl-x) (signal 'wrong-type-argument (list 'yas--mirror cl-x))) (aref cl-x 2))) nil] 7 (#$ . 147320)])
1023(put 'yas--mirror-end 'compiler-macro 'yas--mirror-end--cmacro)
1024#@49 Access slot "end" of `yas--mirror' struct CL-X.\1f
1025(defalias 'yas--mirror-end #[(cl-x) "\302\b! >\204\ f\0\303\304\305\bD\"\210\b\306H\207" [cl-x cl-struct-yas--mirror-tags type-of signal wrong-type-argument yas--mirror 2] 4 (#$ . 147715)])
1026(byte-code "\300\301\302\303#\300\207" [function-put yas--mirror-end side-effect-free t] 4)
1027#@54 compiler-macro for inlining `yas--mirror-transform'.\1f
1028(defalias 'yas--mirror-transform--cmacro #[(_cl-whole-arg cl-x) "\301\302\303\304\211\211\b&\ 6\207" [cl-x cl--defsubst-expand (cl-x) (cl-block yas--mirror-transform (progn (or (yas--mirror-p cl-x) (signal 'wrong-type-argument (list 'yas--mirror cl-x))) (aref cl-x 3))) nil] 7 (#$ . 148045)])
1029(put 'yas--mirror-transform 'compiler-macro 'yas--mirror-transform--cmacro)
1030#@55 Access slot "transform" of `yas--mirror' struct CL-X.\1f
1031(defalias 'yas--mirror-transform #[(cl-x) "\302\b! >\204\ f\0\303\304\305\bD\"\210\b\306H\207" [cl-x cl-struct-yas--mirror-tags type-of signal wrong-type-argument yas--mirror 3] 4 (#$ . 148470)])
1032(byte-code "\300\301\302\303#\300\207" [function-put yas--mirror-transform side-effect-free t] 4)
1033#@57 compiler-macro for inlining `yas--mirror-parent-field'.\1f
1034(defalias 'yas--mirror-parent-field--cmacro #[(_cl-whole-arg cl-x) "\301\302\303\304\211\211\b&\ 6\207" [cl-x cl--defsubst-expand (cl-x) (cl-block yas--mirror-parent-field (progn (or (yas--mirror-p cl-x) (signal 'wrong-type-argument (list 'yas--mirror cl-x))) (aref cl-x 4))) nil] 7 (#$ . 148818)])
1035(put 'yas--mirror-parent-field 'compiler-macro 'yas--mirror-parent-field--cmacro)
1036#@58 Access slot "parent-field" of `yas--mirror' struct CL-X.\1f
1037(defalias 'yas--mirror-parent-field #[(cl-x) "\302\b! >\204\ f\0\303\304\305\bD\"\210\b\306H\207" [cl-x cl-struct-yas--mirror-tags type-of signal wrong-type-argument yas--mirror 4] 4 (#$ . 149258)])
1038(byte-code "\300\301\302\303#\300\207" [function-put yas--mirror-parent-field side-effect-free t] 4)
1039#@49 compiler-macro for inlining `yas--mirror-next'.\1f
1040(defalias 'yas--mirror-next--cmacro #[(_cl-whole-arg cl-x) "\301\302\303\304\211\211\b&\ 6\207" [cl-x cl--defsubst-expand (cl-x) (cl-block yas--mirror-next (progn (or (yas--mirror-p cl-x) (signal 'wrong-type-argument (list 'yas--mirror cl-x))) (aref cl-x 5))) nil] 7 (#$ . 149615)])
1041(put 'yas--mirror-next 'compiler-macro 'yas--mirror-next--cmacro)
1042#@50 Access slot "next" of `yas--mirror' struct CL-X.\1f
1043(defalias 'yas--mirror-next #[(cl-x) "\302\b! >\204\ f\0\303\304\305\bD\"\210\b\306H\207" [cl-x cl-struct-yas--mirror-tags type-of signal wrong-type-argument yas--mirror 5] 4 (#$ . 150015)])
1044(byte-code "\300\301\302\303#\300\207" [function-put yas--mirror-next side-effect-free t] 4)
1045#@50 compiler-macro for inlining `yas--mirror-depth'.\1f
1046(defalias 'yas--mirror-depth--cmacro #[(_cl-whole-arg cl-x) "\301\302\303\304\211\211\b&\ 6\207" [cl-x cl--defsubst-expand (cl-x) (cl-block yas--mirror-depth (progn (or (yas--mirror-p cl-x) (signal 'wrong-type-argument (list 'yas--mirror cl-x))) (aref cl-x 6))) nil] 7 (#$ . 150348)])
1047(put 'yas--mirror-depth 'compiler-macro 'yas--mirror-depth--cmacro)
1048#@51 Access slot "depth" of `yas--mirror' struct CL-X.\1f
1049(defalias 'yas--mirror-depth #[(cl-x) "\302\b! >\204\ f\0\303\304\305\bD\"\210\b\306H\207" [cl-x cl-struct-yas--mirror-tags type-of signal wrong-type-argument yas--mirror 6] 4 (#$ . 150753)])
1050(byte-code "\300\301\302\303#\304\305\306\"\207" [function-put yas--mirror-depth side-effect-free t defalias copy-yas--mirror copy-sequence] 4)
1051#@123 compiler-macro for inlining `make-yas--mirror'.
1052
1053(fn CL-WHOLE &cl-quote &key START END TRANSFORM PARENT-FIELD NEXT DEPTH)\1f
1054(defalias 'make-yas--mirror--cmacro #[(cl-whole &rest #1=#:--cl-rest--) "\306\b\307\"A@\19\306\b\310\"A@\1a\306\b\311\"A@\e\306\b\312\"A@\1c\306\b\313\"A@\1d\306\b\314\"A@\1e\15\b\1e\16\ e\16\203^\0\ e\16@\315>\203E\0\ e\16AA\211\16\16\2020\0\316\b>A@\203T\0\317\211\16\16\2020\0\320\321\ e\16@\"\210\202.\0)\322\323\324\317\ e\17\317 \n\v\f\r\ e\15&\v.\ 6\207" [#1# start end transform parent-field next plist-member :start :end :transform :parent-field :next :depth (:start :end :transform :parent-field :next :depth :allow-other-keys) :allow-other-keys nil error "Keyword argument %s not one of (:start :end :transform :parent-field :next :depth)" cl--defsubst-expand (start end transform parent-field next depth) (cl-block make-yas--mirror (record 'yas--mirror start end transform parent-field next depth)) depth #2=#:--cl-keys-- cl-whole] 13 (#$ . 151140)])
1055(put 'make-yas--mirror 'compiler-macro 'make-yas--mirror--cmacro)
1056#@103 Constructor for objects of type `yas--mirror'.
1057
1058(fn &key START END TRANSFORM PARENT-FIELD NEXT DEPTH)\1f
1059(defalias 'make-yas--mirror #[(&rest #1=#:--cl-rest--) "\306\b\307\"A@\19\306\b\310\"A@\1a\306\b\311\"A@\e\306\b\312\"A@\1c\306\b\313\"A@\1d\306\b\314\"A@\1e\14\b\1e\15\ e\15\203^\0\ e\15@\315>\203E\0\ e\15AA\211\16\15\2020\0\316\b>A@\203T\0\317\211\16\15\2020\0\320\321\ e\15@\"\210\202.\0)\322\323 \n\v\f\r\ e\14&\a.\ 6\207" [#1# start end transform parent-field next plist-member :start :end :transform :parent-field :next :depth (:start :end :transform :parent-field :next :depth :allow-other-keys) :allow-other-keys nil error "Keyword argument %s not one of (:start :end :transform :parent-field :next :depth)" record yas--mirror depth #2=#:--cl-keys--] 9 (#$ . 152130)])
1060(byte-code "\300\301\302\303#\300\207" [function-put make-yas--mirror side-effect-free t] 4)
1061#@49 compiler-macro for inlining `yas--make-mirror'.\1f
1062(defalias 'yas--make-mirror--cmacro #[(_cl-whole-arg start end transform) "\303\304\305\306\211\211\b \n&\b\207" [start end transform cl--defsubst-expand (start end transform) (cl-block yas--make-mirror (record 'yas--mirror start end transform nil nil nil)) nil] 9 (#$ . 152944)])
1063(put 'yas--make-mirror 'compiler-macro 'yas--make-mirror--cmacro)
1064#@48 Constructor for objects of type `yas--mirror'.\1f
1065(defalias 'yas--make-mirror #[(start end transform) "\303\304\b \n\305\211\211&\a\207" [start end transform record yas--mirror nil] 8 (#$ . 153343)])
1066(byte-code "\300\301\302\303#\304\305\306\307\310\311\312\313\305\303& \207" [function-put yas--make-mirror side-effect-free t cl-struct-define yas--mirror "A mirror.\n\nSTART and END are mostly buffer markers, but see \"apropos markers-to-points\".\nTRANSFORM is a lisp form.\nPARENT-FIELD is a `yas--field' this mirror is nested under, or nil.\nNEXT is another `yas--field' or `yas--mirror' or `yas--exit'\nDEPTH is a count of how many nested mirrors can affect this mirror" cl-structure-object record nil ((cl-tag-slot) (start) (end) (transform nil) (parent-field) (next) (depth)) cl-struct-yas--mirror-tags] 11)
1067#@44 compiler-macro for inlining `yas--exit-p'.\1f
1068(defalias 'yas--exit-p--cmacro #[(_cl-whole-arg cl-x) "\301\302\303\304\211\211\b&\ 6\207" [cl-x cl--defsubst-expand (cl-x) (cl-block yas--exit-p (and (memq (type-of cl-x) cl-struct-yas--exit-tags) t)) nil] 7 (#$ . 154160)])
1069(put 'yas--exit-p 'compiler-macro 'yas--exit-p--cmacro)
1070(defalias 'yas--exit-p #[(cl-x) "\302\b! >\205 \0\303\207" [cl-x cl-struct-yas--exit-tags type-of t] 2])
1071(byte-code "\300\301\302\303#\304\305\306\301#\207" [function-put yas--exit-p side-effect-free error-free put yas--exit cl-deftype-satisfies] 5)
1072#@49 compiler-macro for inlining `yas--exit-marker'.\1f
1073(defalias 'yas--exit-marker--cmacro #[(_cl-whole-arg cl-x) "\301\302\303\304\211\211\b&\ 6\207" [cl-x cl--defsubst-expand (cl-x) (cl-block yas--exit-marker (progn (or (yas--exit-p cl-x) (signal 'wrong-type-argument (list 'yas--exit cl-x))) (aref cl-x 1))) nil] 7 (#$ . 154735)])
1074(put 'yas--exit-marker 'compiler-macro 'yas--exit-marker--cmacro)
1075#@50 Access slot "marker" of `yas--exit' struct CL-X.\1f
1076(defalias 'yas--exit-marker #[(cl-x) "\302\b! >\204\ f\0\303\304\305\bD\"\210\b\306H\207" [cl-x cl-struct-yas--exit-tags type-of signal wrong-type-argument yas--exit 1] 4 (#$ . 155131)])
1077(byte-code "\300\301\302\303#\300\207" [function-put yas--exit-marker side-effect-free t] 4)
1078#@47 compiler-macro for inlining `yas--exit-next'.\1f
1079(defalias 'yas--exit-next--cmacro #[(_cl-whole-arg cl-x) "\301\302\303\304\211\211\b&\ 6\207" [cl-x cl--defsubst-expand (cl-x) (cl-block yas--exit-next (progn (or (yas--exit-p cl-x) (signal 'wrong-type-argument (list 'yas--exit cl-x))) (aref cl-x 2))) nil] 7 (#$ . 155460)])
1080(put 'yas--exit-next 'compiler-macro 'yas--exit-next--cmacro)
1081#@48 Access slot "next" of `yas--exit' struct CL-X.\1f
1082(defalias 'yas--exit-next #[(cl-x) "\302\b! >\204\ f\0\303\304\305\bD\"\210\b\306H\207" [cl-x cl-struct-yas--exit-tags type-of signal wrong-type-argument yas--exit 2] 4 (#$ . 155846)])
1083(byte-code "\300\301\302\303#\304\305\306\"\207" [function-put yas--exit-next side-effect-free t defalias copy-yas--exit copy-sequence] 4)
1084#@89 compiler-macro for inlining `make-yas--exit'.
1085
1086(fn CL-WHOLE &cl-quote &key MARKER NEXT)\1f
1087(defalias 'make-yas--exit--cmacro #[(cl-whole &rest #1=#:--cl-rest--) "\305\b\306\"A@\19\305\b\307\"A@\1a\b\e\v\203:\0\v@\310>\203#\0\vAA\211\13\202\11\0\311\b>A@\2031\0\312\211\13\202\11\0\313\314\v@\"\210\202\10\0)\315\316\317\312\f\312 \n&\a*\207" [#1# marker next #2=#:--cl-keys-- cl-whole plist-member :marker :next (:marker :next :allow-other-keys) :allow-other-keys nil error "Keyword argument %s not one of (:marker :next)" cl--defsubst-expand (marker next) (cl-block make-yas--exit (record 'yas--exit marker next))] 9 (#$ . 156217)])
1088(put 'make-yas--exit 'compiler-macro 'make-yas--exit--cmacro)
1089#@69 Constructor for objects of type `yas--exit'.
1090
1091(fn &key MARKER NEXT)\1f
1092(defalias 'make-yas--exit #[(&rest #1=#:--cl-rest--) "\304\b\305\"A@\19\304\b\306\"A@\1a\b\e\v\203:\0\v@\307>\203#\0\vAA\211\13\202\11\0\310\b>A@\2031\0\311\211\13\202\11\0\312\313\v@\"\210\202\10\0)\314\315 \n#*\207" [#1# marker next #2=#:--cl-keys-- plist-member :marker :next (:marker :next :allow-other-keys) :allow-other-keys nil error "Keyword argument %s not one of (:marker :next)" record yas--exit] 5 (#$ . 156886)])
1093(byte-code "\300\301\302\303#\300\207" [function-put make-yas--exit side-effect-free t] 4)
1094#@47 compiler-macro for inlining `yas--make-exit'.\1f
1095(defalias 'yas--make-exit--cmacro #[(_cl-whole-arg marker) "\301\302\303\304\211\211\b&\ 6\207" [marker cl--defsubst-expand (marker) (cl-block yas--make-exit (record 'yas--exit marker nil)) nil] 7 (#$ . 157448)])
1096(put 'yas--make-exit 'compiler-macro 'yas--make-exit--cmacro)
1097#@46 Constructor for objects of type `yas--exit'.\1f
1098(defalias 'yas--make-exit #[(marker) "\301\302\b\303#\207" [marker record yas--exit nil] 4 (#$ . 157772)])
1099(byte-code "\300\301\302\303#\304\305\306\307\310\306\311\312\305\303& \207" [function-put yas--make-exit side-effect-free t cl-struct-define yas--exit nil cl-structure-object record ((cl-tag-slot) (marker) (next)) cl-struct-yas--exit-tags] 11)
1100#@206 Evaluate BODY with bindings from ENV.
1101ENV is a lisp expression that evaluates to list of elements with
1102the form (VAR FORM), where VAR is a symbol and FORM is a lisp
1103expression that evaluates to its value.\1f
1104(defalias 'yas--letenv '(macro . #[(env &rest body) "\303\304!\18\305\b DC\306\307\310\bE\307\311\bE\nBBBE)\207" [envvar env body make-symbol "envvar" let cl-progv mapcar #'car (lambda (v-f) (eval (cadr v-f)))] 7 (#$ . 158175)]))
1105(byte-code "\300\301\302\303#\210\304\301\305\306#\300\207" [put yas--letenv edebug-form-spec (form body) function-put lisp-indent-function 1] 4)
1106#@99 Apply FUN to all marker (sub)fields in SNIPPET.
1107Update each field with the result of calling FUN.\1f
1108(defalias 'yas--snippet-map-markers #[(fun snippet) "\306\b! >\204\ f\0\307\310\311\bD\"\210\b\312H\313\1a\211\e\203\b\ 1\v@\12\306\n!\f>\204+\0\307\310\314\nD\"\210\n\211\1d\312\ e\12\306\n!\f>\204@\0\307\310\314\nD\"\210\n\312H!I\210)\306\n!\f>\204V\0\307\310\314\nD\"\210\n\211\1e\13\315\ e\12\306\n!\f>\204l\0\307\310\314\nD\"\210\n\315H!I\210)\306\n!\f>\204\202\0\307\310\314\nD\"\210\n\316H\313\1e\14\211\e\203\0\ 1\v@\16\14\306\ e\14!\ e\15>\204\243\0\307\310\317\ e\14D\"\210\ e\14\211\1e\16\320\ e\12\306\ e\14!\ e\15>\204\275\0\307\310\317\ e\14D\"\210\ e\14\320H!I\210)\306\ e\14!\ e\15>\204\327\0\307\310\317\ e\14D\"\210\ e\14\211\1e\17\312\ e\12\306\ e\14!\ e\15>\204\361\0\307\310\317\ e\14D\"\210\ e\14\312H!I\210)\vA\211\13\204\215\0*\vA\211\13\204\19\0*\306\b! >\204\18\ 1\307\310\311\bD\"\210\b\315H\211\1e\18\205T\ 1\306\ e\18!\ e\19>\2043\ 1\307\310\321\ e\18D\"\210\ e\18\211\1e\1a\320\ e\12\306\ e\18!\ e\19>\204M\ 1\307\310\321\ e\18D\"\210\ e\18\320H!I))\207" [snippet cl-struct-yas--snippet-tags field --dolist-tail-- cl-struct-yas--field-tags #1=#:v type-of signal wrong-type-argument yas--snippet 2 nil yas--field 3 5 yas--mirror 1 yas--exit fun #2=#:v mirror cl-struct-yas--mirror-tags #3=#:v #4=#:v snippet-exit cl-struct-yas--exit-tags #5=#:v] 8 (#$ . 158757)])
1109#@50 Return non-nil if SNIPPET hasn't been committed.\1f
1110(defalias 'yas--snippet-live-p #[(snippet) "\3012\v\0\302\303\b\"\210\3040\207" [snippet live yas--snippet-map-markers #[(m) "\301\b!\203\b\0\b\207\302\303\304\"\207" [m markerp throw live nil] 3] t] 3 (#$ . 159956)])
1111#@211 Calculate transformed string for FIELD-OR-MIRROR from FIELD.
1112
1113If there is no transform for ht field, return nil.
1114
1115If there is a transform but it returns nil, return the empty
1116string iff EMPTY-ON-NIL-P is true.\1f
1117(defalias 'yas--apply-transform #[(field-or-mirror field &optional empty-on-nil-p) "\306\b!\19\307\b!\n>\204\13\0\310\311\312\bD\"\210\b\313H\e\307\f!\r>\2034\0\307\f!\r>\204.\0\310\311\314\fD\"\210\f\315H\202F\0\307\f!\n>\204C\0\310\311\312\fD\"\210\f\316H\1e\13\307\f!\r>\203e\0\307\f!\r>\204_\0\310\311\314\fD\"\210\f\317H\202w\0\307\f!\n>\204t\0\310\311\312\fD\"\210\f\320H\1e\14\ e\13\205\224\0\212\ e\14b\210\321\ e\13!\211\1e\15\206\223\0\ e\16\205\223\0\322*,\207" [field yas-text cl-struct-yas--field-tags yas-modified-p field-or-mirror cl-struct-yas--mirror-tags yas--field-text-for-display type-of signal wrong-type-argument yas--field 7 yas--mirror 3 6 1 2 yas--eval-for-string "" transform start-point ret empty-on-nil-p] 5 (#$ . 160223)])
1118#@91 Replace all occurrences from FROM to TO.
1119
1120With optional string TEXT do it in that string.\1f
1121(defalias 'yas--replace-all #[(from to &optional text) "\b\203\ e\0\303\304 !\n\b\305\211%\207eb\210\306 \307\305#\205#\0\310\n\305\211\b$\210\202\11\0\207" [text from to replace-regexp-in-string regexp-quote t search-forward nil replace-match] 6 (#$ . 161139)])
1122(byte-code "\300\301\302\303#\304\301\305\306#\207" [function-put yas--replace-all speed -1 put byte-optimizer byte-compile-inline-expand] 5)
1123(defalias 'yas--snippet-find-field #[(snippet number) "\302\303\304\b! >\204\11\0\305\306\307\bD\"\210\b\310H\"\207" [snippet cl-struct-yas--snippet-tags cl-find-if #[(field) "\b\303 !\n>\204\10\0\304\305\306 D\"\210 \307H=\207" [number field cl-struct-yas--field-tags type-of signal wrong-type-argument yas--field 1] 5] type-of signal wrong-type-argument yas--snippet 2] 6])
1124#@49 Sort the fields of SNIPPET in navigation order.\1f
1125(defalias 'yas--snippet-sort-fields #[(snippet) "\303\b! >\204\ f\0\304\305\306\bD\"\210\b\211\1a\307\310\303\b! >\204#\0\304\305\306\bD\"\210\b\307H\311\"I)\207" [snippet cl-struct-yas--snippet-tags #1=#:v type-of signal wrong-type-argument yas--snippet 2 sort yas--snippet-field-compare] 8 (#$ . 161996)])
1126#@185 Compare FIELD1 and FIELD2.
1127
1128The field with a number is sorted first. If they both have a
1129number, compare through the number. If neither have, compare
1130through the field's start point\1f
1131(defalias 'yas--snippet-field-compare #[(field1 field2) "\305\b! >\204\ f\0\306\307\310\bD\"\210\b\311H\305\n! >\204!\0\306\307\310\nD\"\210\n\311H\e\211\1c\203H\0\v\203A\0\v\312U\206w\0\f\312U?\205w\0\f\vW\202w\0\f\312U?\202w\0\v\203R\0\v\312U\202w\0\305\b! >\204a\0\306\307\310\bD\"\210\b\313H\305\n! >\204s\0\306\307\310\nD\"\210\n\313HW*\207" [field1 cl-struct-yas--field-tags field2 n2 n1 type-of signal wrong-type-argument yas--field 1 0 2] 6 (#$ . 162347)])
1132#@45 Guess if SNIPPET's FIELD should be skipped.\1f
1133(defalias 'yas--field-probably-deleted-p #[(snippet field) "\304\b! >\204\ f\0\305\306\307\bD\"\210\b\310H\304\b! >\204!\0\305\306\307\bD\"\210\b\311HZ\312U\205\302\0\304\b! >\2049\0\305\306\307\bD\"\210\b\313H\205\302\0\304\b! >\204N\0\305\306\307\bD\"\210\b\314H\204\230\0\b\315\304\n!\v>\204e\0\305\306\316\nD\"\210\n\310H!@=\205\302\0\304\b! >\204}\0\305\306\307\bD\"\210\b\310H\317\304\n!\v>\204\220\0\305\306\316\nD\"\210\n\320H!U\205\302\0\304\b! >\204\247\0\305\306\307\bD\"\210\b\321H\205\301\0\304\b! >\204\274\0\305\306\307\bD\"\210\b\321H\312U?\207" [field cl-struct-yas--field-tags snippet cl-struct-yas--snippet-tags type-of signal wrong-type-argument yas--field 2 3 0 7 4 last yas--snippet overlay-end 5 1] 6 (#$ . 162974)])
1134#@400 Return a sorted list of active snippets.
1135The most recently-inserted snippets are returned first.
1136
1137Only snippets overlapping the region BEG ... END are returned.
1138Overlapping has the same meaning as described in `overlays-in'.
1139If END is omitted, it defaults to (1+ BEG). If BEG is omitted,
1140it defaults to point. A non-nil, non-buffer position BEG is
1141equivalent to a range covering the whole buffer.\1f
1142(defalias 'yas-active-snippets #[(&optional beg end) "\b\204\ 6\0`\10\b\250\204\18\0\306\b!\204\18\0e\10d\11\202\1f\0 \204\1f\0\bT\11\be=\203-\0 d=\203-\0\n\207\307\e\310\b \"\307\1c\211\1d\203[\0\r@\14\311\f\312\"\211\1e\ f\203S\0\ e\ f\v>\204S\0\ e\ f\vB\13)\rA\211\15\204:\0*\313\v\314\315\316$)\207" [beg end yas--active-snippets snippets ov --dolist-tail-- markerp nil overlays-in overlay-get yas--snippet cl-sort >= :key yas--snippet-id snippet] 6 (#$ . 163724)])
1143(byte-code "\300\301\302\303#\210\304\301\302\305#\207" [defalias yas--snippets-at-point yas-active-snippets nil make-obsolete "0.12"] 4)
1144#@89 Try to expand a snippet at a key before point.
1145
1146Otherwise delegate to `yas-next-field'.\1f
1147(defalias 'yas-next-field-or-maybe-expand #[nil "\b\203\1a\0\304\305 \306\"\1a\e\n\205\18\0\307\n!?\205\18\0\310 *\207\310 \207" [yas-triggers-in-field yas--active-field-overlay active-field yas-fallback-behavior return-nil overlay-get yas--field yas-expand-from-trigger-key yas-next-field] 4 (#$ . 164674) nil])
1148#@72 Return non-nil if (yas-next-field ARG) would exit the current snippet.\1f
1149(defalias 'yas-next-field-will-exit-p #[(&optional arg) "\304 @\305\b\306\"\19\211\1a\205\13\0\307\v\n #?*\207" [yas--active-field-overlay active snippet arg yas-active-snippets overlay-get yas--field yas--find-next-field] 5 (#$ . 165068)])
1150#@55 Return the Nth field after the ACTIVE one in SNIPPET.\1f
1151(defalias 'yas--find-next-field #[(n snippet active) "\305\306\307\b! >\204\11\0\310\311\312\bD\"\210\b\313H\"\1a\314\v!\f\v\315Y\203$\0\n\202'\0\316\n!>8)\207" [snippet cl-struct-yas--snippet-tags live-fields n active cl-remove-if #[(field) "\b =?\205\v\0\303\n\b\"\207" [field active snippet yas--field-probably-deleted-p] 3] type-of signal wrong-type-argument yas--snippet 2 abs 0 reverse] 6 (#$ . 165377)])
1152#@71 Navigate to the ARGth next field.
1153
1154If there's none, exit the snippet.\1f
1155(defalias 'yas-next-field #[(&optional arg) "\b\204\ 6\0\306\10\307 \310\"\1a\311\312\n!\v>\204\e\0\313\314\310\nD\"\210\n\315H\312\n!\v>\204-\0\313\314\310\nD\"\210\n\316H\"@\1c\317\b\f\n#\1d\312\f!\ e\1a>\204I\0\313\314\320\fD\"\210\f\306H\1e\e\321\322\ e\e\"\1e\1c\321\323\ e\e\"\1e\1d\324\1e\1e\325\1e\1f\ e\1c\203\200\0\ e\1c\211A\16\1c\242\326\ e\1d\211A\16\1d\242DD\ e\1fB\16\1f\202b\0\327\330\ e\1f\237\331\326\ e\1eDDE!.\b\207" [arg yas--active-field-overlay active-field cl-struct-yas--field-tags snippet target-field 1 overlay-get yas--field yas-active-snippets type-of signal wrong-type-argument 2 3 yas--find-next-field yas--snippet mapcar car #[(v-f) "\301\bA@!\207" [v-f eval] 2] #[nil "\b\203\11\0\304\19\305\b!\203\10\0\306\n!\210)\v\203\1a\0\307\n\v\"\207\310\n!\207" [active-field yas-moving-away-p snippet target-field t yas--field-update-display yas--update-mirrors yas--move-to-field yas-exit-snippet] 3] nil quote eval let funcall cl-struct-yas--snippet-tags #1=#:envvar #2=#:syms #3=#:vals #4=#:body #5=#:binds] 6 (#$ . 165832) nil])
1156#@47 Correctly place overlays for SNIPPET's FIELD.\1f
1157(defalias 'yas--place-overlays #[(snippet field) "\303\b \"\210\b\304\305 !\n>\204\16\0\306\307\310 D\"\210 \311HS\305 !\n>\204)\0\306\307\310 D\"\210 \312HT\"@=\2057\0\313\b \"\207" [snippet field cl-struct-yas--field-tags yas--make-move-field-protection-overlays yas-active-snippets type-of signal wrong-type-argument yas--field 2 3 yas--make-move-active-field-overlay] 7 (#$ . 166863)])
1158#@78 Update SNIPPET to move to field FIELD.
1159
1160Also create some protection overlays\1f
1161(defalias 'yas--move-to-field #[(snippet field) "\306\b! >\204\ f\0\307\310\311\bD\"\210\b\312Hb\210\313\n\b\"\210\314\v\315\n#\210\314\v\311\b#\210\306\b! >\2044\0\307\310\311\bD\"\210\b\316H\211\1c\203\206\0\f\317U\203\206\0\320\306\b! >\204R\0\307\310\311\bD\"\210\b\321H!\210\306\n!\r>\204f\0\307\310\315\nD\"\210\n\211\1e\19\322\306\b! >\204z\0\307\310\311\bD\"\210\b\323H\206\201\0\324I)\202\327\0\306\n!\r>\204\225\0\307\310\315\nD\"\210\n\211\1e\1a\323\bI\210)\306\b! >\204\255\0\307\310\311\bD\"\210\b\325H?\205\327\0\326\b!\203\300\0\327\n!\202\327\0\306\b! >\204\317\0\307\310\311\bD\"\210\b\211\1e\e\325\330I))\207" [field cl-struct-yas--field-tags snippet yas--active-field-overlay number cl-struct-yas--snippet-tags type-of signal wrong-type-argument yas--field 2 yas--place-overlays overlay-put yas--snippet 1 0 set-mark 3 8 6 t 7 yas--field-update-display yas--update-mirrors nil #1=#:v #2=#:v #3=#:v] 7 (#$ . 167297)])
1162#@61 Navigate to prev field. If there's none, exit the snippet.\1f
1163(defalias 'yas-prev-field #[nil "\300\301!\207" [yas-next-field -1] 2 (#$ . 168260) nil])
1164(defalias 'yas-abort-snippet #[(&optional snippet) "\b\206\a\0\303 @\211\18\205\"\0\304\b! >\204\e\0\305\306\307\bD\"\210\b\211\1a\310\311I))\207" [snippet cl-struct-yas--snippet-tags #1=#:v yas-active-snippets type-of signal wrong-type-argument yas--snippet 8 t] 5 nil nil])
1165#@30 Goto exit-marker of SNIPPET.\1f
1166(defalias 'yas-exit-snippet #[(snippet) "\b\205\215\0\304\b! >\204\13\0\305\306\307\bD\"\210\b\211\1a\310\311I\210)\304\b! >\204*\0\305\306\307\bD\"\210\b\312H\203x\0\304\211\b! >\204@\0\305\306\307\bD\"\210\b\312H!\v>\204a\0\305\306\313\304\b! >\204[\0\305\306\307\bD\"\210\b\312HD\"\210\304\b! >\204p\0\305\306\307\bD\"\210\b\312H\314H\202\214\0\315\304\b! >\204\210\0\305\306\307\bD\"\210\b\316H!b\207" [snippet cl-struct-yas--snippet-tags #1=#:v cl-struct-yas--exit-tags type-of signal wrong-type-argument yas--snippet 8 t 3 yas--exit 1 overlay-end 5] 8 (#$ . 168679) (list (cl-first (yas-active-snippets)))])
1167#@20 Exit all snippets.\1f
1168(defalias 'yas-exit-all-snippets #[nil "\300\301\302\303!\"\207" [mapc #[(snippet) "\301\b!\210\302 \207" [snippet yas-exit-snippet yas--check-commit-snippet] 2] yas-active-snippets all] 4 (#$ . 169294) nil])
1169#@79 Bind this temporarily to non-nil to prevent running `yas--on-*-modification'.\1f
1170(defvar yas--inhibit-overlay-hooks nil (#$ . 169527))
1171#@51 Beginning position of the last snippet committed.\1f
1172(defvar yas-snippet-beg nil (#$ . 169665))
1173#@45 End position of the last snippet committed.\1f
1174(defvar yas-snippet-end nil (#$ . 169764))
1175#@87 Commit SNIPPET, but leave point as it is.
1176
1177This renders the snippet as ordinary text.\1f
1178(defalias 'yas--commit-snippet #[(snippet) "\306\b! >\204\ f\0\307\310\311\bD\"\210\b\312H\211\1a\203@\0\313\n!\203@\0\314\n!\13\315\n!\14\316\n!\210\306\b! >\2048\0\307\310\311\bD\"\210\b\211\1d\312\317I\210)\320\1e\1c\ e\1d\203M\0\316\ e\1d!\210\ e\1e\203X\0\321\316\ e\1e\"\210)\306\b! >\204h\0\307\310\311\bD\"\210\b\322H\1e\1f\f\203\7f\0\ e\1f\203\7f\0\323\ e\1f\f\ e A#\210)\324\b!\210\325\b\ e \"\16 \ e!\203\245\0\ e\"<\203\245\0\326\327\v\f\b\257\ 5\ e\"B\16\"\202\275\0\306\b! >\204\264\0\307\310\311\bD\"\210\b\211\1e#\330\317I\210))\331\332\333\306\b! >\204\320\0\307\310\311\bD\"\210\b\332H#\207" [snippet cl-struct-yas--snippet-tags control-overlay yas-snippet-beg yas-snippet-end #1=#:v type-of signal wrong-type-argument yas--snippet 5 overlay-buffer overlay-start overlay-end delete-overlay nil t mapc 7 yas--advance-end-maybe-previous-fields yas--markers-to-points delq apply yas--snippet-revive 2 yas--message 4 "Snippet %s exited." yas--inhibit-overlay-hooks yas--active-field-overlay yas--field-protection-overlays previous-field yas--active-snippets yas-snippet-revival buffer-undo-list #2=#:v] 8 (#$ . 169857)])
1179(defvar yas--snippets-to-move nil)
1180(make-variable-buffer-local 'yas--snippets-to-move)
1181#@55 Gather snippets in BEG..END for moving to POS in BUF.\1f
1182(defalias 'yas--prepare-snippets-for-move #[(beg end buf pos) "\306\307\b \"r\nq\210\310e\v\")\1c\1d\1e\12\r\205m\0\r\306\1e\13\211\1e\14\203_\0\ e\14@\16\13\311\312\ e\13\"\210\313\314\ e\13!\ e\15>\204>\0\315\316\317\ e\13D\"\210\ e\13\320H!\211\1e\16\f\ e\13E\ e\12B\16\12\321\ e\16@!\210)\ e\14A\211\16\14\204 \0*r\nq\210\ e\12\ e\17\244\211\16\17)+\207" [beg end buf pos dst-base-line snippets nil yas-active-snippets count-lines yas--snippet-map-markers #[(m) "\b\301\b!B\b\302\211\223\210\207" [m yas--snapshot-line-location nil] 4] yas--snapshot-overlay-line-location type-of signal wrong-type-argument yas--snippet 5 delete-overlay to-move snippet --dolist-tail-- cl-struct-yas--snippet-tags ctrl-ov yas--snippets-to-move] 6 (#$ . 171074)])
1183(defalias 'yas--on-buffer-kill #[nil "\306\211\18\19\n\205C\0\307\303!\203\12\0\v\204\1c\0\307\304!\205C\0\f\205C\0\310\307\305!\203'\0\r\206/\0\307\311!\205/\0\ e \211\11!\205C\0\312 !\211\10\205C\0\313ed\b $*\207" [org-buffer org-marker yas-minor-mode org-edit-src-from-org-mode org-src--from-org-mode org-edit-src-beg-marker nil boundp markerp org-src--beg-marker marker-buffer yas--prepare-snippets-for-move] 5])
1184(add-hook 'kill-buffer-hook 'yas--on-buffer-kill)
1185#@57 Finish job started in `yas--prepare-snippets-for-move'.\1f
1186(defalias 'yas--finish-moving-snippets #[nil "\b\19\306\211\1a\e\306\211\1c\1d\306\1e\f\307\1e\r :\203R\0 @\211\15\211A\15\242\12\r\211A\15\242\13\r@\14eb\210\vy\210`\16\f\310\311\f\"\210\ e\fb\210\312\ e\f\n\"\210\313\f!\210\f\ e\ eB\16\ e A\11\306\16\r\202\10\0.\a\306\211\10\207" [yas--snippets-to-move #1=#:--cl-var-- ctrl-ov base-line snippet #2=#:--cl-var-- nil t yas--snippet-map-markers #[(saved-location) "\b\211A\10\242\211\19\303\n\b\"\304\223\210 )\207" [saved-location m base-pos yas--goto-saved-line-location nil] 5] yas--restore-overlay-line-location yas--maybe-move-to-active-field base-pos #3=#:--cl-var-- yas--active-snippets] 4 (#$ . 172229)])
1187#@32 Call FUN and catch any errors.\1f
1188(defalias 'yas--safely-call-fun #[(fun) "\3021\b\0\b 0\207\19\303\304\305\b\306 !$)\207" [fun error (debug error) yas--message 2 "Error running %s: %s" error-message-string] 6 (#$ . 172892)])
1189#@85 Call HOOK's functions.
1190HOOK should be a symbol, a hook variable, as in `run-hooks'.\1f
1191(defalias 'yas--safely-run-hook #[(hook) "\b\303>?\205\b\0 \19\304\305\306\n\"!)\207" [yas-good-grace debug-on-error hook (t hooks) yas--safely-call-fun apply-partially run-hooks] 4 (#$ . 173115)])
1192#@105 Check if point exited the currently active field of the snippet.
1193
1194If so cleans up the whole snippet up.\1f
1195(defalias 'yas--check-commit-snippet #[nil "\306\211\18\19\n\e\f\306\1d\211\1e\17\203\210\0\ e\17@\15\307\r!\ e\18>\204#\0\310\311\312\rD\"\210\r\313H\1e\19\307\r!\ e\18>\2048\0\310\311\312\rD\"\210\r\314H\1e\1a\315\316\ e\1a\"\1e\e\315\317\ e\1a\"\1e\1c\320\1e\1d\306\1e\1e\ e\e\203o\0\ e\e\211A\16\e\242\321\ e\1c\211A\16\1c\242DD\ e\1eB\16\1e\202Q\0\322\323\ e\1e\237\324\321\ e\1dDDE!\210.\ 6\ e\17A\211\16\17\204\ f\0*\f\206\217\0 ??\205\241\0\b\203\233\0\325\b!\210\v\1a\326\302!)+\207" [snippet-exit-transform exited-snippets-p yas-after-exit-snippet-hook snippet-exit-hook yas--active-snippets snippet nil type-of signal wrong-type-argument yas--snippet 6 1 mapcar car #[(v-f) "\301\bA@!\207" [v-f eval] 2] #[nil "\306\b! >\204\ f\0\307\310\311\bD\"\210\b\312H\211\12\204!\0\v\203!\0\313\v!\204D\0\306\b! >\2040\0\307\310\311\bD\"\210\b\211\1c\312\314I\210)\r\16\12\315\b!\210\316\211\16\13\207\v\203_\0\ e\14\203T\0\317\ e\14!\204_\0\212\320\b\v\"\210\321\b!)\207\314\207" [snippet cl-struct-yas--snippet-tags snippet-exit-transform active-field #1=#:v yas-after-exit-snippet-hook type-of signal wrong-type-argument yas--snippet 8 yas--field-contains-point-p nil yas--commit-snippet t overlay-buffer yas--move-to-field yas--update-mirrors snippet-exit-hook exited-snippets-p yas--active-field-overlay] 5] quote eval let funcall yas--eval-for-effect yas--safely-run-hook --dolist-tail-- cl-struct-yas--snippet-tags active-field #2=#:envvar #3=#:syms #4=#:vals #5=#:body #6=#:binds] 7 (#$ . 173399)])
1196#@43 Save all markers of SNIPPET as positions.\1f
1197(defalias 'yas--markers-to-points #[(snippet) "\301\302\b\"\207" [snippet yas--snippet-map-markers #[(m) "\301\b!\b\302\211\223\210\207" [m marker-position nil] 4]] 3 (#$ . 174851)])
1198#@72 Restore SNIPPET's marker positions, saved by `yas--markers-to-points'.\1f
1199(defalias 'yas--points-to-markers #[(snippet) "\301\302\b\"\207" [snippet yas--snippet-map-markers copy-marker] 3 (#$ . 175079)])
1200#@74 Try to move to SNIPPET's active (or first) field and return it if found.\1f
1201(defalias 'yas--maybe-move-to-active-field #[(snippet) "\303\b! >\204\ f\0\304\305\306\bD\"\210\b\307H\206(\0\303\b! >\204$\0\304\305\306\bD\"\210\b\310H@\211\1a\2053\0\311\b\n\"\210\n)\207" [snippet cl-struct-yas--snippet-tags target-field type-of signal wrong-type-argument yas--snippet 6 2 yas--move-to-field] 5 (#$ . 175285)])
1202(defalias 'yas--field-contains-point-p #[(field &optional point) "\b\206\ 5\0`\211\18\303 !\n>\204\16\0\304\305\306 D\"\210 \307HY\2051\0\b\303 !\n>\204-\0\304\305\306 D\"\210 \310HX)\207" [point field cl-struct-yas--field-tags type-of signal wrong-type-argument yas--field 2 3] 6])
1203#@54 Return the propertized display text for field FIELD.\1f
1204(defalias 'yas--field-text-for-display #[(field) "\302\b! >\204\ f\0\303\304\305\bD\"\210\b\306H\302\b! >\204!\0\303\304\305\bD\"\210\b\307H{\207" [field cl-struct-yas--field-tags type-of signal wrong-type-argument yas--field 2 3] 5 (#$ . 175951)])
1205#@43 True if some kind of undo is in progress.\1f
1206(defalias 'yas--undo-in-progress #[nil "\b\206\r\0 \302=\206\r\0 \303=\207" [undo-in-progress this-command undo redo] 2 (#$ . 176249)])
1207#@77 Create the control overlay that surrounds the snippet and
1208holds the keymap.\1f
1209(defalias 'yas--make-control-overlay #[(snippet start end) "\306\b \307\211\310%\1a\311\n\312\v#\210\311\n\313\f#\210\311\n\314\r#\210\n)\207" [start end overlay yas-keymap yas-overlay-priority snippet make-overlay nil t overlay-put keymap priority yas--snippet] 6 (#$ . 176428)])
1210#@36 Return the currently active field.\1f
1211(defalias 'yas-current-field #[nil "\b\205\ e\0\301\b!\205\ e\0\302\b\303\"\207" [yas--active-field-overlay overlay-buffer overlay-get yas--field] 3 (#$ . 176786)])
1212#@111 Return CMD if at start of unmodified snippet field.
1213Use as a `:filter' argument for a conditional keybinding.\1f
1214(defalias 'yas--maybe-clear-field-filter #[(cmd) "\303 \211\18\2057\0\304\b! >\204\16\0\305\306\307\bD\"\210\b\310H?\2057\0`\311\304\b! >\204.\0\305\306\307\bD\"\210\b\312H!=\2057\0\n)\207" [field cl-struct-yas--field-tags cmd yas-current-field type-of signal wrong-type-argument yas--field 7 marker-position 2] 7 (#$ . 176984)])
1215#@63 Clears unmodified FIELD if at field start, skips to next tab.\1f
1216(defalias 'yas-skip-and-clear-field #[(&optional field) "\301\b\206\a\0\302 !\210\303\304!\207" [field yas--skip-and-clear yas-current-field yas-next-field 1] 2 (#$ . 177415) nil])
1217#@44 Clears unmodified FIELD if at field start.\1f
1218(defalias 'yas-clear-field #[(&optional field) "\301\b\206\a\0\302 !\207" [field yas--skip-and-clear yas-current-field] 2 (#$ . 177661) nil])
1219#@129 Clears unmodified field if at field start, skips to next tab.
1220
1221Otherwise deletes a character normally by calling `delete-char'.\1f
1222(defalias 'yas-skip-and-clear-or-delete-char #[(&optional field) "\301\302!\203\13\0\303\b\206\r\0\304 !\210\305\306!\207\307\310!\207" [field yas--maybe-clear-field-filter t yas--skip-and-clear yas-current-field yas-next-field 1 call-interactively delete-char] 2 (#$ . 177850) nil])
1223#@140 Deletes the region of FIELD and sets it's modified state to t.
1224If given, FROM indicates position to start at instead of FIELD's beginning.\1f
1225(defalias 'yas--skip-and-clear #[(field &optional from) "\303\b!\210\304\b! >\204\13\0\305\306\307\bD\"\210\b\310H\304\b! >\204%\0\305\306\307\bD\"\210\b\311HU?\205V\0\n\206C\0\304\b! >\204@\0\305\306\307\bD\"\210\b\310H\304\b! >\204R\0\305\306\307\bD\"\210\b\311H|\207" [field cl-struct-yas--field-tags from yas--mark-this-and-children-modified type-of signal wrong-type-argument yas--field 2 3] 5 (#$ . 178263)])
1226(defalias 'yas--mark-this-and-children-modified #[(field) "\304\b! >\204\ f\0\305\306\307\bD\"\210\b\211\1a\310\311I\210)\304\b! >\204&\0\305\306\307\bD\"\210\b\312H\211\e\205Q\0\313\v!\205Q\0\313\v!\b=\203H\0\304\v! >\203H\0\314\v!\210\315\v!\211\13\204.\0\316)\207" [field cl-struct-yas--field-tags #1=#:v fom type-of signal wrong-type-argument yas--field 7 t 8 yas--fom-parent-field yas--mark-this-and-children-modified yas--fom-next nil] 5])
1227#@105 Place the active field overlay in SNIPPET's FIELD.
1228
1229Move the overlay, or create it if it does not exit.\1f
1230(defalias 'yas--make-move-active-field-overlay #[(snippet field) "\b\2032\0\305\b!\2032\0\306\b\307 !\n>\204\e\0\310\311\312 D\"\210 \313H\307 !\n>\204-\0\310\311\312 D\"\210 \314H#\207\315\307 !\n>\204B\0\310\311\312 D\"\210 \313H\307 !\n>\204T\0\310\311\312 D\"\210 \314H\316\211\317%\10\320\b\321\v#\210\320\b\322\323#\210\320\b\324\f#\210\320\b\325\326#\210\320\b\327\330#\210\320\b\331\332#\207" [yas--active-field-overlay field cl-struct-yas--field-tags yas-overlay-priority snippet overlay-buffer move-overlay type-of signal wrong-type-argument yas--field 2 3 make-overlay nil t overlay-put priority face yas-field-highlight-face yas--snippet modification-hooks (yas--on-field-overlay-modification) insert-in-front-hooks (yas--on-field-overlay-modification) insert-behind-hooks (yas--on-field-overlay-modification)] 7 (#$ . 179223)])
1231#@114 Tell if newly modified FIELD should be cleared and skipped.
1232BEG, END and LENGTH like overlay modification hooks.\1f
1233(defalias 'yas--skip-and-clear-field-p #[(field beg _end length) "\b\304U\2050\0 \305\n!\v>\204\16\0\306\307\310\nD\"\210\n\311HU\2050\0\305\n!\v>\204,\0\306\307\310\nD\"\210\n\312H?\207" [length beg field cl-struct-yas--field-tags 0 type-of signal wrong-type-argument yas--field 2 7] 5 (#$ . 180156)])
1234(defalias 'yas--merge-and-drop-dups #[(list1 list2 cmp key) "\304\305!\203\n\0\305\202\v\0\306\307\310\b \n\311\v&\ 6!\207" [list1 list2 cmp key fboundp delete-consecutive-dups delete-dups cl-merge list :key] 8])
1235(defvar yas--before-change-modified-snippets nil)
1236(make-variable-buffer-local 'yas--before-change-modified-snippets)
1237(defalias 'yas--gather-active-snippets #[(overlay beg end then-delete) "\306\b \"\n\v\236\1c\211\1d\203!\0\f\203!\0\f\211\1e\f\307\fA\r\310\311$\241)\202>\0\r\2034\0\ e\r\2040\0\n\rB\vB\13\r\202>\0\f\203=\0\fA\202>\0\312\ e\r\203H\0\313\f\v\"\13*\207" [beg end overlay yas--before-change-modified-snippets old new yas-active-snippets yas--merge-and-drop-dups >= yas--snippet-id nil delq #1=#:v then-delete] 7])
1238(defvar yas--todo-snippet-indent nil nil)
1239(make-variable-buffer-local 'yas--todo-snippet-indent)
1240#@184 Clears the field and updates mirrors, conditionally.
1241
1242Only clears the field if it hasn't been modified and point is at
1243field start. This hook does nothing if an undo is in progress.\1f
1244(defalias 'yas--on-field-overlay-modification #[(overlay after\? beg end &optional length) "\b\206\14\0\306 !?\206\14\0\307\n!?\206\14\0\310 ?\205\245\0\311\e\312\18\313\n\314\"\1c\313 \315\"\1d\316\r!\203\233\0\ e#\203\220\0\317 \1e$\320\216\321\r!\ e%>\204G\0\322\323\315\rD\"\210\r\324H\1e&\325\326\ e&\"\1e'\325\327\ e&\"\1e(\330\1e)\311\1e*\ e'\203~\0\ e'\211A\16'\242\331\ e(\211A\16(\242DD\ e*B\16*\202`\0\332\333\ e*\237\334\331\ e)DDE!.\a\202\244\0\335\n\ e+\ e,\311$\202\244\0\336\337\340\341#\210\342\n!,\207" [yas--inhibit-overlay-hooks yas--active-field-overlay overlay inhibit-modification-hooks field snippet overlayp overlay-buffer yas--undo-in-progress nil t overlay-get yas--field yas--snippet yas--snippet-live-p match-data #[nil "\301\b\302\"\207" [save-match-data-internal set-match-data evaporate] 3] type-of signal wrong-type-argument 1 mapcar car #[(v-f) "\301\bA@!\207" [v-f eval] 2] #[nil "\306\b \n\v$\203\ e\0\307\b\n\"\210\310\b!\f>\204\1d\0\311\312\313\bD\"\210\b\211\1d\314\315I\210)\316\b\317\ e\15!\320\ e\15 \n\315$#\210\321\1e\16\212\322\b!\210)\323\ e\17!\210)\ e\16\324=?\206P\0\ e\17\ e\18>?\205\\\0\ e\17\ e\18B\211\16\18\207" [field beg end length cl-struct-yas--field-tags #1=#:v yas--skip-and-clear-field-p yas--skip-and-clear type-of signal wrong-type-argument yas--field 7 t yas--advance-end-maybe-previous-fields overlay-end yas--gather-active-snippets nil yas--field-update-display yas--update-mirrors auto overlay yas-indent-line snippet yas--todo-snippet-indent] 9] quote eval let funcall yas--gather-active-snippets lwarn (yasnippet zombie) :warning "Killing zombie snippet!" delete-overlay after\? save-match-data-internal cl-struct-yas--snippet-tags #2=#:envvar #3=#:syms #4=#:vals #5=#:body #6=#:binds beg end] 6 (#$ . 181368)])
1245(defalias 'yas--do-todo-snippet-indent #[nil "\b\205$\0\212\b\19\303\1a :\203\1f\0 @\12\304\n\305\n!\"\210 A\211\11\202\n\0*\303\211\10)\207" [yas--todo-snippet-indent #1=#:--cl-var-- snippet nil yas--indent-mirrors-of-snippet yas--snippet-field-mirrors] 5])
1246(defalias 'yas--auto-fill #[nil "`\18\306 \210`\19\307 \210`\1a\310\n \"\e\311\211\1c\1d\v\311\1e/\211\1e0\203\200\0\ e0@\16/\312\ e/!\311\1e1\211\1e0\203Y\0\ e0@\161\n\ e1X\203P\0\ e1 X\203P\0\ e1\313\ e1\n #B\fB\14\ e0A\211\160\2041\0*\314\315\ e/!\ e2>\204m\0\316\317\320\ e/D\"\210\ e/\321H\n #\rB\15\ e0A\211\160\204\1f\0*\bb\210\322\1e3\ e\14\203\223\0\ e\14 \210\202_\ 1\322\323\324!DC\322\323\325!DC\326\1e4\1e5\1e6r\327 \1e7p\330p\ e7\"B\211\167)\311\1e8\211\1e0\203#\ 1\ e0@\211\168q\210\ e\14\ e6\236\1e9\ e\15\ e5\236\1e:\331\324!\203\367\0\ e9\203\355\0\ e9\ e8\ e9AB\241\210\202\367\0\ e\14\ e8D\ e6B\166\331\325!\203\19\ 1\ e:\203\ f\ 1\ e:\ e8\ e:AB\241\210\202\19\ 1\ e\15\ e8D\ e5B\165*\ e0A\211\160\204\277\0+\332\333\334\335p\ e6\ e5\336\337!\203Q\ 1\340\341\322\"\1e;\342\216\ e;\1e;\343\344\ e<\"\210)r\ e;q\210\345 +\202R\ 1\346&\a\210\347\350!\210\351\352\353\"\210+)\212\306 \210`\11\307 \210`\12)\212\214\n }\210\f\311\1e=\211\1e0\203\224\ 1\ e0@\211\16=@\354\ e=A!\311\223\210\ e0A\211\160\204|\ 1*\343\355\r\"\210)\343\356\v\".\a\207" [orig-point end beg snippets remarkers reoverlays forward-paragraph backward-paragraph yas-active-snippets nil yas--collect-snippet-markers yas--snapshot-location yas--snapshot-overlay-location type-of signal wrong-type-argument yas--snippet 5 t default-value yas--original-auto-fill-function auto-fill-function 3 buffer-list remq local-variable-p lwarn (yasnippet auto-fill bug) :error "`yas--original-auto-fill-function' unexpectedly nil in %S! Disabling auto-fill.\n %S\n `auto-fill-function': %S\n%s" fboundp backtrace--print-frame generate-new-buffer " *string-output*" #[nil "\301\b!\207" [standard-output kill-buffer] 2] mapc #[(frame) "\301\302\b\"\207" [frame apply backtrace--print-frame] 3] buffer-string "" auto-fill-mode -1 add-to-list warning-suppress-types (yasnippet auto-fill bug) yas--goto-saved-location yas--restore-overlay-location #[(snippet) "\306\b! >\204\ f\0\307\310\311\bD\"\210\b\312H\1a\313\314\n\"\e\313\315\n\"\1c\316\1d\317\1e\14\v\203;\0\v\211A\13\242\320\f\211A\14\242DD\ e\14B\16\14\202\"\0\321\322\ e\14\237\323\320\rDDE!-\207" [snippet cl-struct-yas--snippet-tags #1=#:envvar #2=#:syms #3=#:vals #4=#:body type-of signal wrong-type-argument yas--snippet 1 mapcar car #[(v-f) "\301\bA@!\207" [v-f eval] 2] #[nil "\301\b!\207" [snippet yas--update-mirrors] 2] nil quote eval let funcall #5=#:binds] 6] snippet --dolist-tail-- m cl-struct-yas--snippet-tags yas--inhibit-overlay-hooks print-length fill-fun-values yas--fill-fun-values bufs buf yf-cell af-cell standard-output yas--watch-auto-fill-backtrace remarker] 11])
1247#@112 Place protection overlays surrounding SNIPPET's FIELD.
1248
1249Move the overlays, or create them if they do not exit.\1f
1250(defalias 'yas--make-move-field-protection-overlays #[(snippet field) "\306\b! >\204\ f\0\307\310\311\bD\"\210\b\312H\306\b! >\204!\0\307\310\311\bD\"\210\b\313H\1a\e\314 \nW\2037\0\212\315\1cdb\210\316 \210*\r\203U\0\317\320\r\"\203U\0\321\r@\vS\v#\210\321\rA@\n\211T#\202\227\0\322\vS\v\323\315\323%\322\n\211T\323\315\323%D\211\15\323\1e\1a\211\1e\e\205\226\0\ e\e@\16\1a\324\ e\1a\325\326#\210\324\ e\1a\327\ e\1c#\210\324\ e\1a\330\331#\210\ e\eA\211\16\e\204q\0\323**\207" [field cl-struct-yas--field-tags end start yas--inhibit-overlay-hooks yas--field-protection-overlays type-of signal wrong-type-argument yas--field 2 3 buffer-size t newline cl-every overlay-buffer move-overlay make-overlay nil overlay-put face yas--field-debug-face yas--snippet modification-hooks (yas--on-protection-overlay-modification) ov --dolist-tail-- snippet] 8 (#$ . 185808)])
1251#@63 Commit the snippet if the protection overlay is being killed.\1f
1252(defalias 'yas--on-protection-overlay-modification #[(_overlay after\? beg end &optional length) "\b\206\17\0 \206\17\0\n?\206\17\0\v\f\rZU\206\17\0\306 ?\205F\0\307 \1e\r\310\311\312\"\210\ e\r\1e\ e\313\1e\ f\ e\ e:\203D\0\ e\ e@\16\ f\314\ e\ f!\210\ e\ eA\211\16\ e\202-\0+\313\207" [yas--inhibit-overlay-hooks yas-inhibit-overlay-modification-protection after\? length end beg yas--undo-in-progress yas-active-snippets yas--message 2 "Committing snippets. Action would destroy a protection overlay." nil yas--commit-snippet snippets #1=#:--cl-var-- snippet] 4 (#$ . 186723)])
1253(add-to-list 'debug-ignored-errors "^Exit the snippet first!$")
1254#@431 Expand SNIPPET at current point.
1255
1256Text between START and END will be deleted before inserting
1257template. EXPAND-ENV is a list of (SYM VALUE) let-style dynamic
1258bindings considered when expanding the snippet. If omitted, use
1259SNIPPET's expand-env field.
1260
1261SNIPPET may be a snippet structure (e.g., as returned by
1262`yas-lookup-snippet'), or just a snippet body (which is a string
1263for normal snippets, and a list for command snippets).\1f
1264(defalias 'yas-expand-snippet #[(snippet &optional start end expand-env) "\b\203\n\0\306 >\204\11\0\307\310\311\312\211$\210\313\314!\210\n\205#\0\315\n!\205#\0\316\n\317\"\211\e\2052\0\320\v``\321$\2052\0\v)\1c\r\206]\0\322 \203B\0\323 \202]\0\f\203\\\0\324\f!\ e3>\204V\0\325\326\317\fD\"\210\f\327H\202]\0`\1d\ e4\206\210\0\322 \203m\0\330 \202\210\0\f\203\207\0\324\f!\ e3>\204\201\0\325\326\317\fD\"\210\f\331H\202\210\0`\211\1e4\rV\205\225\0\332\r\ e4\"\1e5\ e6\206\250\0\322 \205\250\0\f?\205\250\0\ e5\1e6\rb\210i\167\ e5\203\272\0\r\ e4|\210\324\ e8!\ e9>\203\335\0\324\ e8!\ e9>\204\326\0\325\326\333\ e8D\"\210\ e8\327H\202\337\0\ e8\1e:\ e;\204\b\ 1\324\ e8!\ e9>\203\b\ 1\324\ e8!\ e9>\204\ 2\ 1\325\326\333\ e8D\"\210\ e8\334H\16;\ e:<\203\15\ 1\335\ e:!\202@\ 2i\16<\336\1e=\337\ e:\ e;\r`$\168)\n\2054\ 1\315\n!\2054\ 1\316\n\317\"\211\1e>\203b\ 1\324\ e8!\ e?>\204L\ 1\325\326\340\ e8D\"\210\ e8\211\1e@\341\ e>I\210)\342\ e>\343\n!\ eAA#\210)\324\ e8!\ e?>\204u\ 1\325\326\340\ e8D\"\210\ e8\327H\204\201\ 1\344\ e8!\210\324\ e8!\ e?>\204\223\ 1\325\326\340\ e8D\"\210\ e8\327H@\211\1eB\203#\ 2\345\321!\210\324\ e8!\ e?>\204\264\ 1\325\326\340\ e8D\"\210\ e8\346H\1eC\347\350\ eC\"\1eD\347\351\ eC\"\1eE\352\1eF\312\1eG\ eD\203\354\ 1\ eD\211A\16D\242\353\ eE\211A\16E\242DD\ eGB\16G\202\316\ 1\354\355\ eG\237\356\353\ eFDDE!\210-\324\ eB!\ e3>\204\r\ 2\325\326\317\ eBD\"\210\ eB\346H\321=\203#\ 2\357\ eB!G\321V\203#\ 2\312\16H)\360\361\362\324\ e8!\ e?>\2049\ 2\325\326\340\ e8D\"\210\ e8\361H#\210\336.\ 6\207" [yas-minor-mode post-command-hook yas--active-field-overlay field clear-field start yas--post-command-handler cl--assertion-failed (and yas-minor-mode (memq 'yas--post-command-handler post-command-hook)) "[yas] `yas-expand-snippet' needs properly setup `yas-minor-mode'" nil run-hooks yas-before-expand-snippet-hook overlay-buffer overlay-get yas--field yas--skip-and-clear-field-p 0 region-active-p region-beginning type-of signal wrong-type-argument 2 region-end 3 buffer-substring-no-properties yas--template 5 yas--eval-for-effect t yas--snippet-create yas--snippet 7 yas--advance-end-maybe-previous-fields overlay-end yas-exit-snippet sit-for 1 mapcar car #[(v-f) "\301\bA@!\207" [v-f eval] 2] #[nil "\302\b \"\207" [snippet first-field yas--move-to-field] 3] quote eval let funcall yas--field-text-for-display yas--message 4 "snippet %d expanded." cl-struct-yas--field-tags end to-delete yas-selected-text yas--indent-original-column snippet cl-struct-yas--template-tags content expand-env yas--start-column yas--inhibit-overlay-hooks existing-field cl-struct-yas--snippet-tags #1=#:v yas--active-snippets first-field #2=#:envvar #3=#:syms #4=#:vals #5=#:body #6=#:binds deactivate-mark] 8 (#$ . 187381)])
1265#@113 Commits SNIPPET, which in turn pushes an undo action for reviving it.
1266
1267Meant to exit in the `buffer-undo-list'.\1f
1268(defalias 'yas--take-care-of-redo #[(snippet) "\302\b! >\204\ f\0\303\304\305\bD\"\210\b\306H\205\18\0\307\b!\207" [snippet cl-struct-yas--snippet-tags type-of signal wrong-type-argument yas--snippet 2 yas--commit-snippet] 4 (#$ . 190304)])
1269#@334 Revives SNIPPET and creates a control overlay from BEG to END.
1270
1271BEG and END are, we hope, the original snippets boundaries.
1272All the markers/points exiting existing inside SNIPPET should point
1273to their correct locations *at the time the snippet is revived*.
1274
1275After revival, push the `yas--take-care-of-redo' in the
1276`buffer-undo-list'\1f
1277(defalias 'yas--snippet-revive #[(beg end snippet) "\306\b!\210\307\b!\205P\0\310\b! >\204\19\0\311\312\313\bD\"\210\b\211\1a\314\315\b\v\f#I\210)\316\310\b! >\2045\0\311\312\313\bD\"\210\b\314H\313\b#\210\b\rB\15\ e\11<\205P\0\317\320\bE\ e\11B\211\16\11\207" [snippet cl-struct-yas--snippet-tags #1=#:v beg end yas--active-snippets yas--points-to-markers yas--maybe-move-to-active-field type-of signal wrong-type-argument yas--snippet 5 yas--make-control-overlay overlay-put apply yas--take-care-of-redo buffer-undo-list] 7 (#$ . 190654)])
1278#@96 Create a snippet from a template inserted at BEGIN to END.
1279
1280Returns the newly created snippet.\1f
1281(defalias 'yas--snippet-create #[(content expand-env begin end) "\214\306\307\b\310\211\311 \310\211\211\211& \19\b\1a\312\313\n\"\e\312\314\n\"\1c\315\1d\310\1e\12\v\2039\0\v\211A\13\242\316\f\211A\14\242DD\ e\12B\16\12\202 \0\317\320\ e\12\237\321\316\rDDE!.\a\207" [expand-env snippet #1=#:envvar #2=#:syms #3=#:vals #4=#:body record yas--snippet nil yas--snippet-next-id mapcar car #[(v-f) "\301\bA@!\207" [v-f eval] 2] #[nil "\306\18 b\210\307\304 \n#\210\310\211\e\1c\rc\210 `}\210eb\210\311\ e\14!\210*\307\303ed\n Z$\210)\b<\2034\0edB\bB\10\312\ e\14!\210\b<\203F\0\313\314\ e\14E\bB\10\315\ e\14!\210\316\ e\14!\ e\15>\204]\0\317\320\321\ e\14D\"\210\ e\14\211\1e\16\322\323\ e\14ed#I\210)db\210\ e\14\ e\17B\16\17\ e\14\207" [buffer-undo-list begin end after-change-functions before-change-functions content t run-hook-with-args nil yas--snippet-parse-create yas--indent apply yas--take-care-of-redo yas--snippet-sort-fields type-of signal wrong-type-argument yas--snippet 5 yas--make-control-overlay snippet cl-struct-yas--snippet-tags #5=#:v yas--active-snippets] 7] quote eval let funcall #6=#:binds] 10 (#$ . 191499)])
1282(defalias 'yas--fom-start #[(fom) "\304\b! >\203\e\0\304\b! >\204\17\0\305\306\307\bD\"\210\b\310H\207\304\b!\n>\2036\0\304\b!\n>\2042\0\305\306\311\bD\"\210\b\312H\207\304\b!\v>\204E\0\305\306\313\bD\"\210\b\312H\207" [fom cl-struct-yas--field-tags cl-struct-yas--mirror-tags cl-struct-yas--exit-tags type-of signal wrong-type-argument yas--field 2 yas--mirror 1 yas--exit] 4])
1283(defalias 'yas--fom-end #[(fom) "\304\b! >\203\e\0\304\b! >\204\17\0\305\306\307\bD\"\210\b\310H\207\304\b!\n>\2036\0\304\b!\n>\2042\0\305\306\311\bD\"\210\b\312H\207\304\b!\v>\204E\0\305\306\313\bD\"\210\b\314H\207" [fom cl-struct-yas--field-tags cl-struct-yas--mirror-tags cl-struct-yas--exit-tags type-of signal wrong-type-argument yas--field 3 yas--mirror 2 yas--exit 1] 4])
1284(defalias 'yas--fom-next #[(fom) "\304\b! >\203\e\0\304\b! >\204\17\0\305\306\307\bD\"\210\b\310H\207\304\b!\n>\2036\0\304\b!\n>\2042\0\305\306\311\bD\"\210\b\312H\207\304\b!\v>\204E\0\305\306\313\bD\"\210\b\314H\207" [fom cl-struct-yas--field-tags cl-struct-yas--mirror-tags cl-struct-yas--exit-tags type-of signal wrong-type-argument yas--field 8 yas--mirror 5 yas--exit 2] 4])
1285(defalias 'yas--fom-parent-field #[(fom) "\303\b! >\203\e\0\303\b! >\204\17\0\304\305\306\bD\"\210\b\307H\207\303\b!\n>\2036\0\303\b!\n>\2042\0\304\305\310\bD\"\210\b\307H\207\311\207" [fom cl-struct-yas--field-tags cl-struct-yas--mirror-tags type-of signal wrong-type-argument yas--field 4 yas--mirror nil] 4])
1286#@177 Calculate adjacencies for fields or mirrors of SNIPPET.
1287
1288This is according to their relative positions in the buffer, and
1289has to be called before the $-constructs are deleted.\1f
1290(defalias 'yas--calculate-adjacencies #[(snippet) "\306\18\307\19\b\1a\310\e\311\f!\r>\204\17\0\312\313\314\fD\"\210\f\315H\2032\0\311\f!\r>\204,\0\312\313\314\fD\"\210\f\315H\vB\13\311\f!\r>\204A\0\312\313\314\fD\"\210\f\316H\310\1e\13\211\1e\14\203\221\0\ e\14@\211\16\13\vB\13\311\ e\13!\ e\15>\204h\0\312\313\317\ e\13D\"\210\ e\13\320H\310\1e\16\211\1e\14\203\207\0\ e\14@\211\16\16\vB\13\ e\14A\211\16\14\204u\0*\ e\14A\211\16\14\204M\0*\321\v \"\211\13\205\237\0\322\n\v\",\207" [fom-set-next-fom compare-fom-begs link-foms soup snippet cl-struct-yas--snippet-tags #[(fom nextfom) "\306\b! >\203\1f\0\306\b! >\204\17\0\307\310\311\bD\"\210\b\211\1a\312\vI)\207\306\b!\f>\203>\0\306\b!\f>\2046\0\307\310\313\bD\"\210\b\211\1d\314\vI)\207\306\b!\ e\ f>\204N\0\307\310\315\bD\"\210\b\211\1e\10\316\vI)\207" [fom cl-struct-yas--field-tags #1=#:v nextfom cl-struct-yas--mirror-tags #2=#:v type-of signal wrong-type-argument yas--field 8 yas--mirror 5 yas--exit 2 cl-struct-yas--exit-tags #3=#:v] 5] #[(fom1 fom2) "\303\b!\303 !U\203\14\0\304\b!\n>\205\e\0\305\207\303\b!\303 !Y\207" [fom2 fom1 cl-struct-yas--mirror-tags yas--fom-start type-of t] 3] nil type-of signal wrong-type-argument yas--snippet 3 2 yas--field 5 sort cl-reduce field --dolist-tail-- cl-struct-yas--field-tags mirror] 5 (#$ . 193998)])
1291#@198 Discover if FOM is parented by some field in SNIPPET.
1292
1293Use the tightest containing field if more than one field contains
1294the mirror. Intended to be called *before* the dollar-regions are
1295deleted.\1f
1296(defalias 'yas--calculate-simple-fom-parentage #[(snippet fom) "ed\18\19\306\n\307\v!\f>\204\15\0\310\311\312\vD\"\210\v\313H\"\314\1d\211\1e\13\205\ 2\ 1\ e\13@\15\307\r!\ e\14>\2045\0\310\311\315\rD\"\210\r\313H\316\n!X\203\370\0\317\n!\307\r!\ e\14>\204R\0\310\311\315\rD\"\210\r\320HX\203\370\0 \307\r!\ e\14>\204j\0\310\311\315\rD\"\210\r\313HW\203\370\0\307\r!\ e\14>\204\201\0\310\311\315\rD\"\210\r\320H\bW\203\370\0\307\r!\ e\14>\204\231\0\310\311\315\rD\"\210\r\313H\11\307\r!\ e\14>\204\255\0\310\311\315\rD\"\210\r\320H\10\307\n!\ e\14>\203\326\0\307\n!\ e\14>\204\312\0\310\311\315\nD\"\210\n\211\1e\15\321\rI\210)\202\370\0\307\n!\ e\16>\203\370\0\307\n!\ e\16>\204\357\0\310\311\322\nD\"\210\n\211\1e\17\321\rI\210)\ e\13A\211\16\13\204!\0\314,\207" [max min fom snippet cl-struct-yas--snippet-tags field remq type-of signal wrong-type-argument yas--snippet 2 nil yas--field yas--fom-start yas--fom-end 3 4 yas--mirror --dolist-tail-- cl-struct-yas--field-tags #1=#:v cl-struct-yas--mirror-tags #2=#:v] 7 (#$ . 195348)])
1297#@356 Maybe advance FOM's end to NEWEND if it needs it.
1298
1299If it does, also:
1300
1301* call `yas--advance-start-maybe' on FOM's next fom.
1302
1303* in case FOM is field call `yas--advance-end-maybe' on its parent
1304 field
1305
1306Also, if FOM is an exit-marker, always call
1307`yas--advance-start-maybe' on its next fom. This is because
1308exit-marker have identical start and end markers.\1f
1309(defalias 'yas--advance-end-maybe #[(fom newend) "\b\203!\0\303\b! W\203!\0\303\b! \304\223\210\305\306\b! \"\210\307\310\b! \"\207\311\b!\n>\205/\0\305\306\b! \"\207" [fom newend cl-struct-yas--exit-tags yas--fom-end nil yas--advance-start-maybe yas--fom-next yas--advance-end-of-parents-maybe yas--fom-parent-field type-of] 3 (#$ . 196465)])
1310#@74 Call `yas--advance-end-maybe' on FIELD, and previous fields on SNIPPETS.\1f
1311(defalias 'yas--advance-end-maybe-previous-fields #[(field end snippets) "\b\306\19\211\1a\205F\0\n@\11\v\307 !\f>\204\e\0\310\311\312 D\"\210 \313H>\204&\0\314\315!\210\316\v\r\"\210\307 !\f>\204:\0\310\311\312 D\"\210 \317H\13\nA\211\12\204\b\0\306*\207" [snippets snippet --dolist-tail-- field cl-struct-yas--snippet-tags end nil type-of signal wrong-type-argument yas--snippet 2 cl--assertion-failed (memq field (yas--snippet-fields snippet)) yas--advance-end-maybe 7] 6 (#$ . 197160)])
1312#@111 Maybe advance FOM's start to NEWSTART if it needs it.
1313
1314If it does, also call `yas--advance-end-maybe' on FOM.\1f
1315(defalias 'yas--advance-start-maybe #[(fom newstart) "\b\205\17\0\302\b! W\205\17\0\302\b! \303\223\210\304\b \"\207" [fom newstart yas--fom-start nil yas--advance-end-maybe] 3 (#$ . 197710)])
1316#@181 Like `yas--advance-end-maybe' but for parent fields.
1317
1318Only works for fields and doesn't care about the start of the
1319next FOM. Works its way up recursively for parents of parents.\1f
1320(defalias 'yas--advance-end-of-parents-maybe #[(field newend) "\b\205F\0\303\b! >\204\13\0\304\305\306\bD\"\210\b\307H\nW\205F\0\303\b! >\204*\0\304\305\306\bD\"\210\b\307H\n\310\223\210\311\303\b! >\204A\0\304\305\306\bD\"\210\b\312H\n\"\207" [field cl-struct-yas--field-tags newend type-of signal wrong-type-argument yas--field 3 nil yas--advance-end-of-parents-maybe 4] 5 (#$ . 198010)])
1321#@85 When expanding the snippet the "parse-create" functions add
1322cons cells to this var.\1f
1323(defvar yas--dollar-regions nil (#$ . 198570))
1324#@41 List of markers for manual indentation.\1f
1325(defvar yas--indent-markers nil (#$ . 198707))
1326#@163 Parse a recently inserted snippet template, creating all
1327necessary fields, mirrors and exit points.
1328
1329Meant to be called in a narrowed buffer, does various passes\1f
1330(defalias 'yas--snippet-parse-create #[(snippet) "\306`\18\19\306\211\1a\13\307\306\310\"\210\bb\210\311 \11\307 \210\bb\210\312 \210\bb\210\313\f!\210\bb\210\314\f!\210\bb\210\315\f!\210\316\b!\210)\317\f!\210\r\ e!\1e\"\1e#\214~\210\320\v!\210)\321\ e\"!\210*\322\f!\ e$>\204_\0\323\324\325\fD\"\210\f\326H\211\1e%\203\201\0\322\ e%!\ e&>\204z\0\323\324\327\ e%D\"\210\ e%\330H\202\202\0db\210)\ e'\331=\203\217\0\332\16'\ e'\203\240\0\ e(\203\240\0\ e(c\210\202\272\0\333\ e'!\203\272\0\334\ e'!\203\272\0\334\ e'!\335\ e'\306\"\210c\210\336 !\210\bb\210\337 \210\340\f!\210\bb*\207" [parse-start saved-quotes syntax-propertize-function yas--dollar-regions snippet most-positive-fixnum nil yas--protect-escapes (96) yas--save-backquotes yas--indent-parse-create yas--field-parse-create yas--simple-fom-create yas--transform-mirror-parse-create syntax-ppss-flush-cache yas--calculate-adjacencies yas--delete-regions yas--remove-misc-free-from-undo type-of signal wrong-type-argument yas--snippet 3 yas--exit 1 cua 48 characterp get-register set-register yas--restore-backquotes yas--restore-escapes yas--update-mirrors buffer-undo-list old-undo-list gc-cons-threshold cl-struct-yas--snippet-tags exit cl-struct-yas--exit-tags yas-wrap-around-region yas-selected-text] 5 (#$ . 198801)])
1331#@270 Returns info for restoring POSITIONS's location after indent.
1332The returned value is a list of the form (REGEXP WS-COUNT).
1333POSITION may be either a marker or just a buffer position. The
1334REGEXP matches text between BEG..END which default to the current
1335line if omitted.\1f
1336(defalias 'yas--snapshot-location #[(position &optional beg end) "\bb\210 \204\n\0\305 \11\n\204\11\0\306 \12\307\310 \b\"\311\312#\307\310\b\n\"\311\312#\e\1c\313\314\315\f\bC\244\v\244\313#P\316\nw\210`\bZ*D\207" [position beg end after before line-beginning-position line-end-position split-string buffer-substring-no-properties "[[:space:]\n]+" t "[[:space:]\n]*" mapconcat #[(s) "\b =\203\b\0\302\207\303\b!\207" [s position "\\(\\)" regexp-quote] 2] "[:space:]\n"] 5 (#$ . 200190)])
1337#@104 Like `yas--snapshot-location', but return also line number.
1338Returned format is (LINE REGEXP WS-COUNT).\1f
1339(defalias 'yas--snapshot-line-location #[(position &optional beg end) "\bb\210\303e\304 \"\305\b \n#B\207" [position beg end count-lines line-beginning-position yas--snapshot-location] 5 (#$ . 200934)])
1340#@218 Like `yas--snapshot-location' for overlays.
1341The returned format is (OVERLAY (RE WS) (RE WS)). Either of
1342the (RE WS) lists may be nil if the start or end, respectively,
1343of the overlay is outside the range BEG .. END.\1f
1344(defalias 'yas--snapshot-overlay-location #[(overlay beg end) "\305\b!\306\b!\19\1a\b\v\nX\205\1a\0\n\fW\205\1a\0\307\n\v\f#\v X\205+\0 \fW\205+\0\307 \v\f#E*\207" [overlay oend obeg beg end overlay-start overlay-end yas--snapshot-location] 6 (#$ . 201245)])
1345#@118 Return info for restoring OVERLAY's line based location.
1346The returned format is (OVERLAY (LINE RE WS) (LINE RE WS)).\1f
1347(defalias 'yas--snapshot-overlay-line-location #[(overlay) "\b\301\302\b!!\301\303\b!!E\207" [overlay yas--snapshot-line-location overlay-start overlay-end] 5 (#$ . 201709)])
1348#@131 Move to and return point saved by `yas--snapshot-location'.
1349Buffer must be narrowed to BEG..END used to create the snapshot info.\1f
1350(defalias 'yas--goto-saved-location #[(re-count) "\b\211A\10\242\b\211A\10\242\19\1aeb\210\303\n!\204\1f\0\304\305\306\307\n$\210\202-\0\310\224b\210\311\312w\210\311` Zx\210`*\207" [re-count ws-count regexp looking-at lwarn (yasnippet re-marker) :warning "Couldn't find: %S" 1 "[:space:]\n" nil] 5 (#$ . 202005)])
1351#@140 Restores marker based on info from `yas--snapshot-overlay-location'.
1352Buffer must be narrowed to BEG..END used to create the snapshot info.\1f
1353(defalias 'yas--restore-overlay-location #[(ov-locations) "\b\211\19G\305U\203\11\0 \211A\11\242\202\18\0\306\307\310 GD\"\1a \211A\11\242\e \242\1c\311\n\v\204.\0\312\n!\2021\0\313\v!\f\204;\0\314\n!\202>\0\313\f!#,\207" [ov-locations #1=#:--cl-rest-- overlay loc-beg loc-end 3 signal wrong-number-of-arguments (overlay loc-beg loc-end) move-overlay overlay-start yas--goto-saved-location overlay-end] 6 (#$ . 202443)])
1354#@145 Move to and return point saved by `yas--snapshot-line-location'.
1355Additionally requires BASE-POS to tell where the line numbers are
1356relative to.\1f
1357(defalias 'yas--goto-saved-line-location #[(base-pos l-re-count) "\bb\210 \211A\11\242y\210\214\302 \303 }\210\304 !)\207" [base-pos l-re-count line-beginning-position line-end-position yas--goto-saved-location] 2 (#$ . 202986)])
1358#@75 Restores marker based on info from `yas--snapshot-overlay-line-location'.\1f
1359(defalias 'yas--restore-overlay-line-location #[(base-pos ov-locations) "\b\211\19G\306U\203\11\0 \211A\11\242\202\18\0\307\310\311 GD\"\1a \211A\11\242\e \242\1c\312\n\313\r\v\"\313\r\f\"#,\207" [ov-locations #1=#:--cl-rest-- overlay beg-l-r-w end-l-r-w base-pos 3 signal wrong-number-of-arguments (overlay beg-l-r-w end-l-r-w) move-overlay yas--goto-saved-line-location] 7 (#$ . 203363)])
1360#@108 Indent the lines between FROM and TO with `indent-according-to-mode'.
1361The SNIPPET's markers are preserved.\1f
1362(defalias 'yas--indent-region #[(from to snippet) "\212\b \1a\e\214~\210\306\f!\1d\307 \ e\13\310\223\1e\13\ e\14b\210\310\211\1e\15\1e\16\311\1e\17\312 \16\15\313 \16\16\ e\18\2046\0\ e\15\ e\16U\204{\0\310\1e\19\r\310\1e\1a\211\1e\e\203q\0\ e\e@\16\1a\ e\15\ e\1aX\203h\0\ e\1a\ e\16X\203h\0\ e\1a\314\ e\1a\ e\15\ e\16#B\ e\19B\16\19\ e\eA\211\16\e\204C\0*\315\216\316 \210\317 \210*\320y\321U\203\217\0`\ e\13W\203\217\0\310\16\17\202!\0.\ 6\310\322\n!\210+\207" [most-positive-fixnum buffer-undo-list old-undo-list gc-cons-threshold snippet snippet-markers yas--collect-snippet-markers make-marker nil t line-beginning-position line-end-position yas--snapshot-location #[nil "\214\b\304 }\210 \305\1a\211\e\205\"\0\v@\211\12@\306\nA!\305\223\210\vA\211\13\204\ e\0\305+\207" [bol remarkers remarker --dolist-tail-- line-end-position nil yas--goto-saved-location] 4] back-to-indentation indent-according-to-mode 1 0 yas--remove-misc-free-from-undo to from bol eol #1=#:--cl-var-- yas-also-indent-empty-lines remarkers m --dolist-tail--] 6 (#$ . 203814)])
1363(defvar yas--indent-original-column nil)
1364(defalias 'yas--indent #[(snippet) "\212\b\306\19\211\1a\203)\0\n@\11\v\307=\204\1d\0 b\210\310\311 \312 \f#\210 \306\211\223\210\nA\211\12\204 \0*\306\10)\212\306\7f\210\v\313\267\202_\0\314y\315U\205`\0\316\1d\310\311 d\f#)\202`\0\ e\ f\204V\0\314y\315U\205`\0\310\311 d\f#\202`\0\306)\207" [yas--indent-markers marker --dolist-tail-- yas-indent-line snippet indent-line-function nil auto yas--indent-region line-beginning-position line-end-position #s(hash-table size 2 test eq rehash-size 1.5 rehash-threshold 0.8125 purecopy t data (fixed 55 auto 74)) 1 0 #[nil "\301 \210\bj\207" [yas--indent-original-column beginning-of-line] 1] yas-also-auto-indent-first-line] 5])
1365#@49 Make a list of all the markers used by SNIPPET.\1f
1366(defalias 'yas--collect-snippet-markers #[(snippet) "\302\18\303\304 \"\210\b)\207" [markers snippet nil yas--snippet-map-markers #[(m) "\b B\11\b\207" [m markers] 2]] 3 (#$ . 205520)])
1367(defalias 'yas--escape-string #[(escaped) "\301\302\303\b\"\304Q\207" [escaped "YASESCAPE" format "%d" "PROTECTGUARD"] 4])
1368#@126 Protect all escaped characters with their numeric ASCII value.
1369
1370With optional string TEXT do it in string instead of buffer.\1f
1371(defalias 'yas--protect-escapes #[(&optional text escaped) "\b\211\19\1a\305\306\v\206\v\0\f\"\210\n*\207" [text text-provided-p changed-text escaped yas--escaped-characters mapc #[(escaped) "\306\307\b!P\310\b! \205\r\0\n\e\1c\1d\v\203 \0\311\312\r!\f\v\313\211%\2025\0eb\210\314\r\315\313#\2055\0\316\f\313\211\v$\210\202#\0+\211\12\207" [escaped text-provided-p changed-text text to from "\\" char-to-string yas--escape-string replace-regexp-in-string regexp-quote t search-forward nil replace-match] 6]] 3 (#$ . 205876)])
1372#@130 Restore all escaped characters from their numeric ASCII value.
1373
1374With optional string TEXT do it in string instead of the buffer.\1f
1375(defalias 'yas--restore-escapes #[(&optional text escaped) "\b\211\19\1a\305\306\v\206\v\0\f\"\210\n*\207" [text text-provided-p changed-text escaped yas--escaped-characters mapc #[(escaped) "\306\b!\307\b! \205\v\0\n\e\1c\1d\v\203\1e\0\310\311\r!\f\v\312\211%\2023\0eb\210\313\r\314\312#\2053\0\315\f\312\211\v$\210\202!\0+\211\12\207" [escaped text-provided-p changed-text text to from yas--escape-string char-to-string replace-regexp-in-string regexp-quote t search-forward nil replace-match] 6]] 3 (#$ . 206506)])
1376#@135 Save all "\=`(lisp-expression)\=`"-style expressions.
1377Return a list of (MARKER . STRING) entires for each backquoted
1378Lisp expression.\1f
1379(defalias 'yas--save-backquotes #[nil "\306\18p\19\306\1a\307\e\310\f\306\311#\203v\0\312\313!\306\1d\1e\1e\ e\1f\ e \1e!\1e\"\214~\210\314\224\314\225|\210)\315\ e!!\210*\v\ e#B\1e#\316\317\320\ e\1e\321\"!!\15)\314\224b\210\r\203r\0\322 \1e$\ e\1f\ e \1e!\1e\"\214~\210\323c\210\ e$`\306\223\210\323c\210)\315\ e!!\210*\ e$\rB\bB\10)*\202\b\0\n\203\237\0\324\325\326\327\ e%\203\234\0\330\ e%!\ e&>\204\225\0\331\332\333\ e%D\"\210\ e%\334H\202\235\0\335$\210\b,\207" [saved-quotes yas--snippet-buffer yas--change-detected detect-change yas--backquote-lisp-expression-regexp transformed nil #[(_beg _end) "p\b=\205 \0\302\211\11\207" [yas--snippet-buffer yas--change-detected t] 2] re-search-forward t match-string-no-properties 1 0 yas--remove-misc-free-from-undo yas--eval-for-string yas--read-lisp yas--restore-escapes (96) make-marker "Y" lwarn (yasnippet backquote-change) :warning "`%s' modified buffer in a backquote expression.\n To hide this warning, add (yasnippet backquote-change) to `warning-suppress-types'." type-of signal wrong-type-argument yas--template 3 "Snippet" current-string most-positive-fixnum buffer-undo-list old-undo-list gc-cons-threshold before-change-functions marker yas--current-template cl-struct-yas--template-tags] 8 (#$ . 207130)])
1380#@118 Replace markers in SAVED-QUOTES with their values.
1381SAVED-QUOTES is the in format returned by `yas--save-backquotes'.\1f
1382(defalias 'yas--restore-backquotes #[(saved-quotes) "\b\19\306\211\1a\e :\203@\0 @\211\12\211A\12\242\13\212\vb\210\f\r\1e\v\1e\f\214~\210\307\310!\210\nc\210\307\311!\210)\312\ e\v!\210*\v\306\211\223\210) A\211\11\202\a\0+\306\207" [saved-quotes #1=#:--cl-var-- string marker most-positive-fixnum buffer-undo-list nil delete-char -1 1 yas--remove-misc-free-from-undo old-undo-list gc-cons-threshold] 4 (#$ . 208462)])
1383(defalias 'yas--scan-sexps #[(from count) "\3061\1f\0\307 \18\310\216\311 p\19\1a\312\216\313\314 !\210\315\e\316\f\r\".\ 60\207\210\315\207" [save-match-data-internal #1=#:buffer #2=#:table parse-sexp-lookup-properties from count (error) match-data #[nil "\301\b\302\"\207" [save-match-data-internal set-match-data evaporate] 3] syntax-table #[nil "r\bq\210\302 !)\207" [#1# #2# set-syntax-table] 2] set-syntax-table standard-syntax-table nil scan-sexps] 3])
1384#@58 Create a marker at POS with nil `marker-insertion-type'.\1f
1385(defalias 'yas--make-marker #[(pos) "\302 \b\303\223\19\304 \303\"\210 )\207" [pos marker make-marker nil set-marker-insertion-type] 3 (#$ . 209422)])
1386#@51 Parse the "$>" indentation markers just inserted.\1f
1387(defalias 'yas--indent-parse-create #[nil "\301\10\302\303\301\304#\203\1a\0\305\224\305\225|\210\306\307 !\bB\10\202\ 2\0\b\237\211\10\207" [yas--indent-markers nil search-forward "$>" t 0 yas--make-marker line-beginning-position] 4 (#$ . 209633)])
1388(defalias 'yas--scan-for-field-end #[nil "\300\301!\210`Sf\302=\203\11\0\303 \204\0\0`\207" [re-search-forward "\\${\\|}" 123 yas--scan-for-field-end] 2])
1389#@483 Parse most field expressions in SNIPPET, except for the simple one "$n".
1390
1391The following count as a field:
1392
1393* "${n: text}", for a numbered field with default text, as long as N is not 0;
1394
1395* "${n: text$(expression)}, the same with a Lisp expression;
1396 this is caught with the curiously named `yas--multi-dollar-lisp-expression-regexp'
1397
1398* the same as above but unnumbered, (no N:) and number is calculated automatically.
1399
1400When multiple expressions are found, only the last one counts.\1f
1401(defalias 'yas--field-parse-create #[(snippet &optional parent-field) "\212\306\b\307\310#\203\352\0\311 \19\312\216\313\224b\210\314 *\211\1a\206\e\0`Sf\315=\203&\0\n\202'\0`\e\316\317!\2053\0\320\316\317!!\1c\v\205m\0\321\316\313!\307\310\1d\322\ 3\ 3\ 3#)\266\203?\205m\0\f\323\313\224!\323\vS!\ e#\1e#\1e$\1e%\1c\324\325\f\ e%\ e$\ e#\307\211\211\211& ,\211\1e&\203\346\0\vb\210\vS\vB\ e'B\16'\326\224\313\224B\ e'B\16'\327\ e(!\ e)>\204\233\0\330\331\332\ e(D\"\210\ e(\211\1e*\313\ e&\ e*\313HBI\210)\212\214\327\ e&!\ e+>\204\277\0\330\331\325\ e&D\"\210\ e&\313H\327\ e&!\ e+>\204\325\0\330\331\325\ e&D\"\210\ e&\333H}\210eb\210\334\ e(\ e&\"\210*,\202\ 1\0)\ e#\205V\ 1\212\306\ e,\307\310#\205U\ 1\335\317\224\317\"\211\1e-\203Q\ 1\326\224\ e-B\ e'\235\204Q\ 1\317\224S\206\17\ 1`Sf\336=\204Q\ 1\337\317\224\ e-\"\1e.\327\ e#!\ e+>\2048\ 1\330\331\325\ e#D\"\210\ e#\211\1e/\340\341\342\ e.!!I\210*\326\224\ e-B\ e'B\16')\202\361\0)\207" [yas--field-regexp save-match-data-internal brace-scan real-match-end-0 number inhibit-changing-match-data re-search-forward nil t match-data #[nil "\301\b\302\"\207" [save-match-data-internal set-match-data evaporate] 3] 2 yas--scan-for-field-end 125 match-string-no-properties 1 string-to-number "\\`\\$[ \n]*(" string-match yas--make-marker record yas--field 0 type-of signal wrong-type-argument yas--snippet 3 yas--field-parse-create yas--scan-sexps 58 buffer-substring-no-properties 6 yas--read-lisp yas--restore-escapes parent-field end start brand-new-field yas--dollar-regions snippet cl-struct-yas--snippet-tags #1=#:v cl-struct-yas--field-tags yas--multi-dollar-lisp-expression-regexp real-match-end-1 lisp-expression-string #2=#:v] 11 (#$ . 210076)])
1402#@72 Parse the "${n:$(lisp-expression)}" mirror transformations in SNIPPET.\1f
1403(defalias 'yas--transform-mirror-parse-create #[(snippet) "\306\b\307\310#\205\211\0\311\312\224T\313\"\19\314\315\313!!\211\1a\205$\0\n\312U?\205$\0\316\v\n\"\1c \205Q\0\f\205Q\0\317\312\224!\317\312\224!\320\321\322\323\224 S\"!!\1d\1e\1c\1e\1d\324\325\ e\1d\ e\1c\r\307\211\211&\a+\211\1e\1e\203\205\0\326\f!\ e\1f>\204g\0\327\330\331\fD\"\210\f\211\1e \332\ e\1e\ e \332HBI\210)\333\v\ e\1e\"\210\312\224 B\ e!B\16!,\202\0\0\207" [yas--transform-mirror-regexp real-match-end-0 number snippet field transform re-search-forward nil t yas--scan-sexps 0 1 string-to-number match-string-no-properties yas--snippet-find-field yas--make-marker yas--read-lisp yas--restore-escapes buffer-substring-no-properties 2 record yas--mirror type-of signal wrong-type-argument yas--field 5 yas--calculate-simple-fom-parentage end start brand-new-mirror cl-struct-yas--field-tags #1=#:v yas--dollar-regions] 9 (#$ . 212130)])
1404#@62 Parse the simple "$n" fields/mirrors/exitmarkers in SNIPPET.\1f
1405(defalias 'yas--simple-fom-create #[(snippet) "\306\b\307\310#\205+\ 1\311\312\313!!\211\19\314U\203\206\0\315\n!\v>\204#\0\316\317\320\nD\"\210\n\211\1c\321\322\314\225!\1d\323\324\r\307#)I\210)\314\224\315\211\n!\v>\204G\0\316\317\320\nD\"\210\n\321H!\ e\e>\204i\0\316\317\324\315\n!\v>\204c\0\316\317\320\nD\"\210\n\321HD\"\210\315\n!\v>\204x\0\316\317\320\nD\"\210\n\321H\313HB\ e\1cB\16\1c\202'\ 1\325\n \"\307\1e\1d\211\1e\1e\203\326\0\322\314\224!\322\314\224!\1e\1f\1e \323\326\ e \ e\1f\307\211\211\211&\a*\211\16\1d\1e!\315\ e\1e!\ e\">\204\303\0\316\317\327\ e\1eD\"\210\ e\1e\211\1e#\330\ e!\ e#\330HBI\210*\202\16\ 1 \322\314\224!\322\314\224!\1e\1f\1e \19\323\327 \ e \ e\1f\307\211\211\211\211& +\211\16\1d\1e$\315\n!\v>\204\a\ 1\316\317\320\nD\"\210\n\211\1e%\331\ e$\ e%\331HBI\210*\332\n\ e\1d\"\210*\314\224\314\225B\ e\1cB\16\1c)\202\0\0\207" [yas--simple-mirror-regexp number snippet cl-struct-yas--snippet-tags #1=#:v marker re-search-forward nil t string-to-number match-string-no-properties 1 0 type-of signal wrong-type-argument yas--snippet 3 yas--make-marker record yas--exit yas--snippet-find-field yas--mirror yas--field 5 2 yas--calculate-simple-fom-parentage cl-struct-yas--exit-tags yas--dollar-regions fom field end start #2=#:x cl-struct-yas--field-tags #3=#:v #4=#:x #5=#:v] 11 (#$ . 213057)])
1406#@65 Sort disjuct REGIONS by start point, then delete from the back.\1f
1407(defalias 'yas--delete-regions #[(regions) "\301\302\303\b\304\"\"\207" [regions mapc #[(reg) "\b@\bA|\207" [reg] 2] sort #[(r1 r2) "\b@ @Y\207" [r1 r2] 2]] 5 (#$ . 214323)])
1408(defalias 'yas--calculate-mirror-depth #[(mirror &optional traversed) "\306\b! >\204\ f\0\307\310\311\bD\"\210\b\312H\211\1a\205)\0\306\n!\v>\204&\0\307\310\313\nD\"\210\n\314H\1c\306\b! >\2049\0\307\310\311\bD\"\210\b\315H\206z\0\306\b! >\204N\0\307\310\311\bD\"\210\b\211\1d\315\b\ e\14>\203]\0\316\202x\0\n\203o\0\f\203o\0\317\320\f\321\322$T\202x\0\n\203w\0\323\202x\0\316I)*\207" [mirror cl-struct-yas--mirror-tags parent cl-struct-yas--field-tags parents-mirrors #1=#:v type-of signal wrong-type-argument yas--mirror 4 yas--field 5 6 0 cl-reduce max :key #[(m) "\303\b \nB\"\207" [m mirror traversed yas--calculate-mirror-depth] 4] 1 traversed] 8])
1409(defalias 'yas--snippet-field-mirrors #[(snippet) "\302\303\304\305\b! >\204\12\0\306\307\310\bD\"\210\b\311H\"\312\313\314$\207" [snippet cl-struct-yas--snippet-tags cl-sort cl-mapcan #[(field) "\302\303\304\b! >\204\11\0\305\306\307\bD\"\210\b\310H\"\207" [field cl-struct-yas--field-tags mapcar #[(mirror) "\b B\207" [field mirror] 2] type-of signal wrong-type-argument yas--field 5] 6] type-of signal wrong-type-argument yas--snippet 2 > :key #[(fm) "\301\bA!\207" [fm yas--calculate-mirror-depth] 2]] 7])
1410(defalias 'yas--indent-mirrors-of-snippet #[(snippet &optional f-ms) "\b\306=\205<\0\307\19\310\311\312\n\206\12\0\313\v!\"\314\315\316$\1c\317\211\1d\1e\11\f:\203:\0\f@\211\15\211A\15\242\16\11\320\ e\11\r\v#\210\fA\211\14\202\1e\0,\317\207" [yas-indent-line yas--inhibit-overlay-hooks f-ms snippet #1=#:--cl-var-- end auto t cl-sort mapcar #[(f-m) "\bA\19\303 !\n>\204\12\0\304\305\306 D\"\210 \307H\303 !\n>\204$\0\304\305\306 D\"\210 \310H)B\207" [f-m mirror cl-struct-yas--mirror-tags type-of signal wrong-type-argument yas--mirror 1 2] 5] yas--snippet-field-mirrors < :key car nil yas--indent-region beg] 6])
1411#@36 Update all the mirrors of SNIPPET.\1f
1412(defalias 'yas--update-mirrors #[(snippet) "\b \1a\e\214~\210\212\306\f!\211\1d\1e\15\307\211\1e\16\1e\17\ e\15:\203~\0\ e\15@\211\16\16\211A\16\16\242\16\17\310\ e\16!\ e\18>\204:\0\311\312\313\ e\16D\"\210\ e\16\314H\211\1e\19\203M\0\315\ e\16\316\ e\19!\"\210)\317\ e\16\ e\17\"\210\310\f!\ e\1a>\204e\0\311\312\320\fD\"\210\f\321H\211\1e\e\203t\0\322\f\ e\e\"\210)\ e\15A\211\16\15\202\17\0+\323\f\r\"+\324\n!\210*\207" [most-positive-fixnum buffer-undo-list old-undo-list gc-cons-threshold snippet f-ms yas--snippet-field-mirrors nil type-of signal wrong-type-argument yas--mirror 4 yas--advance-start-maybe yas--fom-start yas--mirror-update-display yas--snippet 6 yas--place-overlays yas--indent-mirrors-of-snippet yas--remove-misc-free-from-undo #1=#:--cl-var-- mirror field cl-struct-yas--mirror-tags parent-field cl-struct-yas--snippet-tags active-field] 5 (#$ . 216250)])
1413#@58 Update MIRROR according to FIELD (and mirror transform).\1f
1414(defalias 'yas--mirror-update-display #[(mirror field) "\306\b! >\204\ f\0\307\310\311\bD\"\210\b\312H\211\1a\205)\0\306\n!\v>\204&\0\307\310\313\nD\"\210\n\314H?\2058\0\315\b\f\316#\2068\0\317\f!\211\1d\205\342\0\r\320\306\b! >\204N\0\307\310\311\bD\"\210\b\321H\306\b! >\204`\0\307\310\311\bD\"\210\b\322H\"\230?\205\342\0\306\b! >\204x\0\307\310\311\bD\"\210\b\321Hb\210\323\1e\18\rc\210)\306\b! >\204\223\0\307\310\311\bD\"\210\b\322H`V\203\262\0`\306\b! >\204\253\0\307\310\311\bD\"\210\b\322H|\202\342\0\306\b! >\204\301\0\307\310\311\bD\"\210\b\322H`\324\223\210\325\306\b! >\204\330\0\307\310\311\bD\"\210\b\326H`\"\210\327\n`\"*\207" [mirror cl-struct-yas--mirror-tags mirror-parent-field cl-struct-yas--field-tags field reflection type-of signal wrong-type-argument yas--mirror 4 yas--field 7 yas--apply-transform empty-on-nil yas--field-text-for-display buffer-substring-no-properties 1 2 t nil yas--advance-start-maybe 5 yas--advance-end-of-parents-maybe yas--inhibit-overlay-hooks] 8 (#$ . 217072)])
1415#@57 Much like `yas--mirror-update-display', but for fields.\1f
1416(defalias 'yas--field-update-display #[(field) "\305\b! >\204\ f\0\306\307\310\bD\"\210\b\311H\205\360\0\305\b! >\204$\0\306\307\310\bD\"\210\b\312H\313=?\2051\0\314\b\211\"\211\1a\205\357\0\n\315\305\b! >\204G\0\306\307\310\bD\"\210\b\316H\305\b! >\204Y\0\306\307\310\bD\"\210\b\317H\"\230?\205\357\0\305\b! >\204q\0\306\307\310\bD\"\210\b\211\e\320\321I\210)\305\b! >\204\210\0\306\307\310\bD\"\210\b\316Hb\210\321\1c\nc\210\305\b! >\204\241\0\306\307\310\bD\"\210\b\317H`V\203\301\0`\305\b! >\204\271\0\306\307\310\bD\"\210\b\317H|\210\202\355\0\305\b! >\204\320\0\306\307\310\bD\"\210\b\317H`\322\223\210\323\305\b! >\204\347\0\306\307\310\bD\"\210\b\324H`\"\210)\321)\207" [field cl-struct-yas--field-tags transformed #1=#:v yas--inhibit-overlay-hooks type-of signal wrong-type-argument yas--field 6 1 0 yas--apply-transform buffer-substring-no-properties 2 3 7 t nil yas--advance-start-maybe 8] 8 (#$ . 218094)])
1417#@58 Handles various yasnippet conditions after each command.\1f
1418(defalias 'yas--post-command-handler #[nil "\b\2035\0\306\307!\2035\0 \2045\0\n\310=\2035\0\311\312\313\314\315\316\317\"\e\320\216\v\e\321\307\b\"\210)r\vq\210\322 +$\210\323\324\325\"\210\326 \210\3271\223\0\330 \210\f\331=\203\211\0\332 @\211\1d\205z\0\333\334\335\336\337\r!\ e(>\204a\0\340\341\342\rD\"\210\r\343H\337\r!\ e(>\204t\0\340\341\342\rD\"\210\r\344HB\"\"\211\1e)\205\205\0\345\r\ e)\"*\202\221\0\346 ?\205\221\0\347 0\207\1e*\340\ e*@\ e*A\")\207" [yas--watch-auto-fill-backtrace yas--original-auto-fill-function auto-fill-function standard-output this-command snippet fboundp backtrace--print-frame yas--auto-fill lwarn (yasnippet auto-fill bug) :error "`yas--original-auto-fill-function' unexpectedly nil! Please report this backtrace\n%S" generate-new-buffer " *string-output*" t #[nil "\301\b!\207" [standard-output kill-buffer] 2] mapc buffer-string add-to-list warning-suppress-types (yasnippet auto-fill bug) yas--do-todo-snippet-indent (debug error) yas--finish-moving-snippets undo yas-active-snippets cl-find-if-not #[(field) "\302\b \"\207" [snippet field yas--field-probably-deleted-p] 3] remq nil type-of signal wrong-type-argument yas--snippet 6 2 yas--move-to-field yas--undo-in-progress yas--check-commit-snippet cl-struct-yas--snippet-tags target-field err] 10 (#$ . 219021)])
1419(put 'yas-expand 'function-documentation '(yas--expand-from-trigger-key-doc t))
1420#@59 A doc synthesizer for `yas--expand-from-trigger-key-doc'.\1f
1421(defalias 'yas--expand-from-trigger-key-doc #[(context) "\b\205\ 5\0 \211\19\304\267\202%\0\305 \211\1a\203\1c\0\306\307\310\n!\"\206\1d\0\311)\202&\0\312\202&\0\313\e\314\v\315Q*\207" [context yas-fallback-behavior fallback fallback-description #s(hash-table size 2 test eq rehash-size 1.5 rehash-threshold 0.8125 purecopy t data (call-other-command 12 return-nil 33)) yas--keybinding-beyond-yasnippet format "call command `%s'." pp-to-string "do nothing (`yas-expand' doesn't override\nanything)." "do nothing." "defer to `yas-fallback-behavior' (which see)." "Expand a snippet before point. If no snippet\nexpansion is possible, " "\n\nOptional argument FIELD is for non-interactive use and is an\nobject satisfying `yas--field-p' to restrict the expansion to."] 5 (#$ . 220431)])
1422(put 'yas-expand-from-keymap 'function-documentation '(yas--expand-from-keymap-doc t))
1423#@54 A doc synthesizer for `yas--expand-from-keymap-doc'.\1f
1424(defalias 'yas--expand-from-keymap-doc #[(context) "\306\307\310\"\210\311\b\205:\0 \312=\205:\0\313 \1a\314\315\316 \"\e\317\1c\320\n!\1d\321\v\205*\0\322\323\v!\324Q\r\2037\0\325\326\327\r!\"\2068\0\330Q,P\207" [context this-command vec templates yas--direct-keymaps fallback add-hook temp-buffer-show-hook yas--snippet-description-finish-runonce "Expand/run snippets from keymaps, possibly falling back to original binding.\n" describe-key this-single-command-keys cl-mapcan #[(table) "\302\b \"\207" [table vec yas--fetch] 3] yas--get-snippet-tables nil key-binding "In this case, " "these snippets are bound to this key:\n" yas--template-pretty-list "\n\nIf none of these expands, " format "fallback `%s' will be called." pp-to-string "no fallback keybinding is called."] 7 (#$ . 221347)])
1425(defalias 'yas--template-pretty-list #[(templates) "\305\306\18\19\n\305\e\211\1c\203$\0\f@\13 \307\310\311\v@\312Q\313\vA#Q\11\fA\211\14\204\f\0* *\207" [yas-buffer-local-condition acc templates plate --dolist-tail-- nil always "\n*) " propertize "\\\\snippet `" "'" yasnippet] 7])
1426(byte-code "\300\301\302\303\304\305\306\307\310!&\a\207" [define-button-type help-snippet-def :supertype help-xref help-function #[(template) "\301\b!\207" [template yas--visit-snippet-file-1] 2] help-echo purecopy "mouse-2, RET: find snippets's definition"] 9)
1427#@68 Final adjustments for the help buffer when snippets are concerned.\1f
1428(defalias 'yas--snippet-description-finish-runonce #[nil "\300 \210\301\302\303\"\207" [yas--create-snippet-xrefs remove-hook temp-buffer-show-hook yas--snippet-description-finish-runonce] 3 (#$ . 222710)])
1429(defalias 'yas--create-snippet-xrefs #[nil "\212eb\210\301\302\303\304#\205,\0\305\306\224\307\"\211\18\203(\0\310\306\311\b#\210\306\225\312\225|\210\312\224\306\224|\210)\202\ 4\0)\207" [template search-forward-regexp "\\\\\\\\snippet[ ]+`\\([^']+\\)'" nil t get-text-property 1 yasnippet help-xref-button help-snippet-def 0] 5])
1430(eldoc-add-command 'yas-next-field-or-maybe-expand 'yas-next-field 'yas-prev-field 'yas-expand 'yas-expand-from-keymap 'yas-expand-from-trigger-key)
1431#@76 Log level for `yas--message' 4 means trace most anything, 0 means nothing.\1f
1432(defvar yas-verbosity 3 (#$ . 223465))
1433#@66 When LEVEL is at or below `yas-verbosity', log MESSAGE and ARGS.\1f
1434(defalias 'yas--message #[(level message &rest args) "\b Y\205\ e\0\302\304\305\306\n\v#\"\207" [yas-verbosity level message args "%s" apply yas--format] 6 (#$ . 223585)])
1435(defalias 'yas--warning #[(format-control &rest format-args) "\303\304\b #\1a\305\306\n\307#\210\310\311\n\")\207" [format-control format-args msg apply format display-warning yasnippet :warning yas--message 1] 4])
1436(defalias 'yas--format #[(format-control &rest format-args) "\302\303\304\bP #\207" [format-control format-args apply format "[yas] "] 4])
1437#@52 Disable minor modes when calling `unload-feature'.\1f
1438(defalias 'yasnippet-unload-function #[nil "\305\306!\210r\307 \310\18\211\19\203#\0 @\211\10q\210\n\203\1c\0\302\306!\210 A\211\11\204\ e\0+\v\310\1c\211\19\203C\0 @\211\14\242\311=\203<\0\312\fA\310\"\210 A\211\11\204,\0*\310\207" [buffer --dolist-tail-- yas-minor-mode unload-function-defs-list def yas-global-mode -1 buffer-list nil defun setplist] 4 (#$ . 224173)])
1439#@63 For backward compatibility, enable `yas-minor-mode' globally.\1f
1440(defalias 'yas-initialize #[nil "\300\301!\207" [yas-global-mode 1] 2 (#$ . 224574)])
1441(make-obsolete 'yas-initialize "Use (yas-global-mode 1) instead." "0.8")
1442#@69 Backported yasnippet symbols.
1443
1444They are mapped to "yas/*" variants.\1f
1445(defvar yas--backported-syms '(yas-snippet-dirs yas-prompt-functions yas-indent-line yas-also-auto-indent-first-line yas-snippet-revival yas-triggers-in-field yas-fallback-behavior yas-choose-keys-first yas-choose-tables-first yas-use-menu yas-trigger-symbol yas-wrap-around-region yas-good-grace yas-visit-from-menu yas-expand-only-for-last-commands yas-field-highlight-face yas-keymap yas-verbosity yas-extra-modes yas-key-syntaxes yas-after-exit-snippet-hook yas-before-expand-snippet-hook yas-buffer-local-condition yas-dont-activate yas-x-prompt yas-ido-prompt yas-no-prompt yas-completing-prompt yas-dropdown-prompt yas-expand yas-minor-mode yas-global-mode yas-direct-keymaps-reload yas-minor-mode-on yas-load-directory yas-reload-all yas-compile-directory yas-recompile-all yas-about yas-expand-from-trigger-key yas-expand-from-keymap yas-insert-snippet yas-visit-snippet-file yas-new-snippet yas-load-snippet-buffer yas-tryout-snippet yas-describe-tables yas-next-field-or-maybe-expand yas-next-field yas-prev-field yas-abort-snippet yas-exit-snippet yas-exit-all-snippets yas-skip-and-clear-or-delete-char yas-initialize yas-expand-snippet yas-define-snippets yas-define-menu yas-snippet-beg yas-snippet-end yas-modified-p yas-moving-away-p yas-substr yas-choose-value yas-key-to-value yas-throw yas-verify-value yas-field-value yas-text yas-selected-text yas-default-from-field yas-inside-string yas-unimplemented yas-define-condition-cache yas-hippie-try-expand) (#$ . 224801))
1446(byte-code "\b\203O\0 \305\1a\211\e\203C\0\v@\12\306\307\310\311\312\n!#!\1c\313\n!\203*\0\314\f\n\315#\210\316\f\n\"\210\317\n!\203;\0\320\f\n\315#\210\321\f\n\"\210)\vA\211\13\204\f\0*\320\322\323\315#\210\316\322\323\"\210\305\207" [yas-alias-to-yas/prefix-p yas--backported-syms sym --dolist-tail-- backported nil intern replace-regexp-in-string "\\`yas-" "yas/" symbol-name boundp make-obsolete-variable "yasnippet 0.8" defvaralias fboundp make-obsolete defalias yas/root-directory yas-snippet-dirs] 7)
1447#@195 Exported yasnippet symbols.
1448
1449i.e. the ones with "yas-" single dash prefix. I will try to
1450keep them in future yasnippet versions and other elisp libraries
1451can more or less safely rely upon them.\1f
1452(defvar yas--exported-syms (byte-code "\301\18\302\303!\210\b)\207" [exported nil mapatoms #[(atom) "\303\b!\203\f\0\b\304N\203\19\0\305\b!\2050\0\b\306N?\2050\0\307\310\b!\311\312\19\313\ 3\ 3\ 3#)\266\203\2050\0\b\nB\211\12\207" [atom inhibit-changing-match-data exported boundp byte-obsolete-variable fboundp byte-obsolete-info "\\`yas-[^-]" symbol-name nil t string-match] 7]] 2) (#$ . 226857))
1453(provide 'yasnippet)