Function: edebug--match-&-spec-op
edebug--match-&-spec-op is a byte-compiled function defined in
edebug.el.gz.
Signature
(edebug--match-&-spec-op OP CURSOR SPECS)
Documentation
Handle &foo spec operators.
&foo spec operators operate on all the subsequent SPECS.
Implementations
(edebug--match-&-spec-op (_ (eql '&name)) CURSOR SPECS) in `edebug.el'.
Compute the name for `&name SPEC FUN` spec operator.
The full syntax of that operator is: &name [PRESTRING] SPEC [POSTSTRING] FUN ARGS...
Extracts the head of the data by matching it against SPEC, and then get the new name to use by calling (FUN ARGS... OLDNAME [PRESTRING] HEAD [POSTSTRING]) FUN should return either a string or a symbol. FUN can be missing in which case it defaults to concatenating the new name to the end of the old with an "@" char between the two. PRESTRING and POSTSTRING are optional strings that get prepended or appended to the actual name.
(edebug--match-&-spec-op (_ (eql '&define)) CURSOR SPECS) in `edebug.el'.
Undocumented
(edebug--match-&-spec-op (_ (eql '&error)) CURSOR SPECS) in `edebug.el'.
Undocumented
(edebug--match-&-spec-op (_ (eql '&key)) CURSOR SPECS) in `edebug.el'.
Undocumented
(edebug--match-&-spec-op (_ (eql '¬)) CURSOR SPECS) in `edebug.el'.
Undocumented
(edebug--match-&-spec-op (_ (eql '&interpose)) CURSOR SPECS) in `edebug.el'.
Compute the specs for `&interpose SPEC FUN ARGS...'. SPECS is a list (SPEC FUN ARGS...), where SPEC is an edebug specification, FUN is the function from the &interpose form which transforms the edebug spec, and the optional ARGS is a list of final arguments to be supplied to FUN.
Extracts the head of the data by matching it against SPEC, and then matches the rest by calling (FUN HEAD PF ARGS...). PF is the parsing function which FUN must call exactly once, passing it one argument, the specs that it needs to match. FUN's value must be the value of this PF call, which in turn will be the value of this function.
Note that HEAD will always be a list, since specs is defined to match a sequence of elements.
(edebug--match-&-spec-op (_ (eql '&or)) CURSOR SPECS) in `edebug.el'.
Undocumented
(edebug--match-&-spec-op (_ (eql '&rest)) CURSOR SPECS) in `edebug.el'.
Undocumented
(edebug--match-&-spec-op (_ (eql '&optional)) CURSOR SPECS) in `edebug.el'.
Undocumented
Source Code
;; Defined in /usr/src/emacs/lisp/emacs-lisp/edebug.el.gz
(cl-defmethod edebug--match-&-spec-op ((_ (eql '&optional)) cursor specs)
;; Keep matching until one spec fails.
(edebug-&optional-wrapper cursor specs #'edebug-&optional-wrapper))