]> crepu.dev Git - config.git/blame - djavu-asus/elpa/elpy-20230803.1455/snippets/python-mode/.yas-setup.elc
Actualizado el Readme
[config.git] / djavu-asus / elpa / elpy-20230803.1455 / snippets / python-mode / .yas-setup.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#@106 Regular expression matching an argument of a python function.
9First group should give the argument name.\1f
10(defvar elpy-snippet-split-arg-arg-regex "\\([[:alnum:]*]+\\)\\(:[[:blank:]]*[[:alpha:]]*\\)?\\([[:blank:]]*=[[:blank:]]*[[:alnum:]]*\\)?" (#$ . 85))
11#@66 Regular expression matching the separator in a list of argument.\1f
12(defvar elpy-snippet-split-arg-separator "[[:blank:]]*,[[:blank:]]*" (#$ . 346))
13#@77 Split the python argument string ARG-STRING into a tuple of argument names.\1f
14(defalias 'elpy-snippet-split-args #[(arg-string) "\302\303\304\b \305#\"\207" [arg-string elpy-snippet-split-arg-separator mapcar #[(x) "\302\b \"\205\v\0\303\304 \"\207" [elpy-snippet-split-arg-arg-regex x string-match match-string-no-properties 1] 3] split-string t] 6 (#$ . 498)])
15#@47 Return information on the current definition.\1f
16(defalias 'elpy-snippet-current-method-and-args #[nil "\306 \212\307 \210\310\311\312\313#\205 \0`\18\314u\210\315 \210`S\19\316\317\b \"!*)\312\211\211\1a\e\1c\1d\1e\18\r\2040\0\320\15\ e\18\203L\0\321\322\ e\18\"\203L\0\323\324\ e\18\"\14\323\325\ e\18\"\13\202P\0\326\14\327\13\f\v\rE-\207" [start end args method class current-arglist python-info-current-defun python-nav-beginning-of-defun re-search-forward "(" nil t -1 forward-sexp elpy-snippet-split-args buffer-substring-no-properties ("self") string-match "^\\(.*\\)\\.\\(.*\\)$" match-string 1 2 "Class" "method" current-defun] 5 (#$ . 861)])
17#@70 Return the typical __init__ assignments for arguments in ARG-STRING.\1f
18(defalias 'elpy-snippet-init-assignments #[(arg-string) "\303\212\bb\210\304 )\305\"\19\306\307\310\n!\311#)\207" [start-point indentation arg-string make-string current-indentation 32 mapconcat #[(arg) "\302\303\b\"\203 \0\304\207\305\306\b\211 $\207" [arg indentation string-match "^\\*" #1="" format "self.%s = %s\n%s"] 5] elpy-snippet-split-args #1#] 4 (#$ . 1467)])
19#@73 Return (Class, first-arg).method if Py2.
20Else return ().method for Py3.\1f
21(defalias 'elpy-snippet-super-form #[nil "\306 \211\18@\19\bA@\1a\307\b8\211\e@\1c\310\1d\311\ e\11\rP!\312\313O\1e\12\314\ e\12\315\"\203/\0\316\317 \f\n$\2023\0\316\320\n\".\a\207" [defun-info class method args first-arg py-version-command elpy-snippet-current-method-and-args 2 " -c 'import sys ; print(sys.version_info.major)'" shell-command-to-string 0 1 string-match "2" format "(%s, %s).%s" "().%s" elpy-rpc-python-command py-version-num] 6 (#$ . 1907)])
22#@50 Return the argument list for the current method.\1f
23(defalias 'elpy-snippet-super-arguments #[nil "\300\301\302\303 8A\304#\207" [mapconcat #[(x) "\b\207" [x] 1] 2 elpy-snippet-current-method-and-args ", "] 4 (#$ . 2418)])