-
Notifications
You must be signed in to change notification settings - Fork 17
/
Copy pathparse-lambda-list.elc
40 lines (34 loc) · 3.89 KB
/
parse-lambda-list.elc
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
;ELC
;;; Compiled by toups@deluge on Tue Aug 30 14:21:49 2011
;;; from file /home/toups/elisp/utils/parse-lambda-list.el
;;; in Emacs version 23.2.1
;;; with all optimizations.
;;; This file uses dynamic docstrings, first added in Emacs 19.29.
;;; This file does not contain utf-8 non-ASCII characters,
;;; and so can be loaded in Emacs versions earlier than 23.
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
(byte-code "\300\301!\210\300\302!\210\303\304!\207" [require utils multi-methods provide parse-lambda-list] 2)
#@40 Initial state for lambda-list parsing.
(defvar *default-parse-state* (alist>> :state :normal) (#$ . 625))
#@51 Detects whether a token indicates a state change.
(defalias 'state-changer-p #[(possible-new-state) "\301=\203 \302\207\303=\203 \304\207\305=\203 \306\207\307\207" [possible-new-state &rest :rest &optional :optional &key :key nil] 2 (#$ . 737)])
#@190 Detects a state change but also makes sure that the change is valid for a lambda list. Any state
may follow after normal arguments, but only keywords can follow after optional arguments.
(defalias 'state-changer-p-with-checking #[(possible-new-state old-state) "\304!\211\205B \n D\211\305\232\203 \202A \306\232\203 \202A \307\232\203* \202A \310\232\2034 \202A \311\232\203>