%PDF- %PDF-
Direktori : /usr/local/share/emacs/27.2/lisp/emacs-lisp/ |
Current File : //usr/local/share/emacs/27.2/lisp/emacs-lisp/rx.elc |
;ELC ;;; Compiled ;;; in Emacs version 27.2 ;;; with all optimizations. ;;; This file contains utf-8 non-ASCII characters, ;;; and so cannot be loaded into Emacs 22 or earlier. (and (boundp 'emacs-version) (< (aref emacs-version (1- (length emacs-version))) ?A) (string-lessp emacs-version "23") (error "`%s' was compiled for Emacs 23 or later" #$)) ;;;;;;;;;;;;;;;;;;;;;;;;;;;;; #@80 Alist mapping rx symbols to character classes. Most of the names are from SRE. (defconst rx--char-classes '((digit . digit) (numeric . digit) (num . digit) (control . cntrl) (cntrl . cntrl) (hex-digit . xdigit) (hex . xdigit) (xdigit . xdigit) (blank . blank) (graphic . graph) (graph . graph) (printing . print) (print . print) (alphanumeric . alnum) (alnum . alnum) (letter . alpha) (alphabetic . alpha) (alpha . alpha) (ascii . ascii) (nonascii . nonascii) (lower . lower) (lower-case . lower) (punctuation . punct) (punct . punct) (space . space) (whitespace . space) (white . space) (upper . upper) (upper-case . upper) (word . word) (wordchar . word) (unibyte . unibyte) (multibyte . multibyte)) (#$ . 408)) #@684 Alist of old-style rx extensions, for compatibility. For new code, use `rx-define', `rx-let' or `rx-let-eval'. Each element is (SYMBOL . DEF). If DEF is a symbol, then SYMBOL is an alias of DEF. If DEF is a string, then SYMBOL is a plain rx symbol defined as the regexp string DEF. If DEF is a list on the form (FUN MIN-ARGS MAX-ARGS PRED), then SYMBOL is an rx form with at least MIN-ARGS and at most MAX-ARGS arguments. If MAX-ARGS is nil, then there is no upper limit. FUN is a function taking the entire rx form as single argument and returning the translated regexp string. If PRED is non-nil, it is a predicate that all actual arguments must satisfy. (defvar rx-constituents nil (#$ . 1129)) #@266 Alist of dynamic local rx definitions. Each entry is: (NAME DEF) -- NAME is an rx symbol defined as the rx form DEF. (NAME ARGS DEF) -- NAME is an rx form with arglist ARGS, defined as the rx form DEF (which can contain members of ARGS). (defvar rx--local-definitions nil (#$ . 1860)) #@77 Current definition of NAME: (DEF) or (ARGS DEF), or nil if none. (fn NAME) (defalias 'rx--lookup-def #[257 "\211\236A\206\n \211\301N\207" [rx--local-definitions rx-definition] 3 (#$ . 2178)]) (put 'rx--lookup-def 'byte-optimizer 'byte-compile-inline-expand) #@77 FORM expanded (once) if a user-defined construct; otherwise nil. (fn FORM) (defalias 'rx--expand-def #[257 "\2119\203% \211\211\236A\206 \211\301N\262\211\205$ \211A\203\"