Server IP : 111.118.215.189 / Your IP : 3.135.236.62 Web Server : Apache System : Linux md-in-83.webhostbox.net 4.19.286-203.ELK.el7.x86_64 #1 SMP Wed Jun 14 04:33:55 CDT 2023 x86_64 User : a1673wkz ( 2475) PHP Version : 8.2.25 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON Directory (0755) : /usr/share/emacs/24.3/lisp/nxml/ |
[ Home ] | [ C0mmand ] | [ Upload File ] |
---|
;ELC ;;; Compiled by mockbuild@buildfarm06-new.corp.cloudlinux.com on Fri Oct 11 10:08:33 2024 ;;; from file /builddir/build/BUILD/emacs-24.3/lisp/nxml/xmltok.el ;;; in Emacs version 24.3.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. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; (defvar xmltok-type nil) (defvar xmltok-start nil) (defvar xmltok-name-colon nil) (defvar xmltok-name-end nil) #@68 String containing replacement for a character or entity reference. (defvar xmltok-replacement nil (#$ . 665)) #@377 List containing attributes of last scanned element. Each member of the list is a vector representing an attribute, which can be accessed using the functions `xmltok-attribute-name-start', `xmltok-attribute-name-colon', `xmltok-attribute-name-end', `xmltok-attribute-value-start', `xmltok-attribute-value-end', `xmltok-attribute-raw-normalized-value', `xmltok-attribute-refs'. (defvar xmltok-attributes nil (#$ . 782)) #@110 List containing namespace declarations of last scanned element. List has same format as `xmltok-attributes'. (defvar xmltok-namespace-attributes nil (#$ . 1207)) #@1219 Information about the DTD used by `xmltok-forward'. `xmltok-forward-prolog' sets this up. It consists of an alist of general entity names vs definitions. The first member of the alist is t if references to entities not in the alist are well-formed (e.g. because there's an external subset that wasn't parsed). Each general entity name is a string. The definition is either nil, a symbol, a string, a cons cell. If the definition is nil, then it means that it's an internal entity but the result of parsing it is unknown. If it is a symbol, then the symbol is either `unparsed', meaning the entity is an unparsed entity, `external', meaning the entity is or references an external entity, `element', meaning the entity includes one or more elements, or `not-well-formed', meaning the replacement text is not well-formed. If the definition is a string, then the replacement text of the entity is that string; this happens only during the parsing of the prolog. If the definition is a cons cell (ER . AR), then ER specifies the string that results from referencing the entity in element content and AR is either nil, meaning the replacement text included a <, or a string which is the normalized attribute value. (defvar xmltok-dtd nil (#$ . 1377)) #@1474 List of descriptors of regions that a parsed token depends on. A token depends on a region if the region occurs after the token and a change in the region may require the token to be reparsed. This only happens with markup that is not well-formed. For example, if a <? occurs without a matching ?>, then the <? is returned as a not-well-formed token. However, this token is dependent on region from the end of the token to the end of the buffer: if this ever contains ?> then the buffer must be reparsed from the <?. A region descriptor is a list (FUN START END ARG ...), where FUN is a function to be called when the region changes, START and END are integers giving the start and end of the region, and ARG... are additional arguments to be passed to FUN. FUN will be called with 5 arguments followed by the additional arguments if any: the position of the start of the changed area in the region, the position of the end of the changed area in the region, the length of the changed area before the change, the position of the start of the region, the position of the end of the region. FUN must return non-nil if the region needs reparsing. FUN will be called in a `save-excursion' with match-data saved. `xmltok-forward', `xmltok-forward-special' and `xmltok-forward-prolog' may add entries to the beginning of this list, but will not clear it. `xmltok-forward' and `xmltok-forward-special' will only add entries when returning tokens of type not-well-formed. (defvar xmltok-dependent-regions nil (#$ . 2639)) #@375 List of errors detected by `xmltok-forward' and `xmltok-forward-prolog'. When `xmltok-forward' and `xmltok-forward-prolog' detect a well-formedness error, they will add an entry to the beginning of this list. Each entry is a vector [MESSAGE START END], where MESSAGE is a string giving the error message and START and END are integers indicating the position of the error. (defvar xmltok-errors nil (#$ . 4169)) (defalias 'xmltok-save '(macro . #[(&rest body) "\301\302BB\207" [body let (xmltok-type xmltok-start xmltok-name-colon xmltok-name-end xmltok-replacement xmltok-attributes xmltok-namespace-attributes xmltok-dependent-regions xmltok-errors)] 3])) (byte-code "\300\301\302\303#\210\300\301\304\305#\207" [put xmltok-save lisp-indent-function 0 edebug-form-spec t] 4) (defalias 'xmltok-attribute-name-start #[(att) "\301H\207" [att 0] 2]) (put 'xmltok-attribute-name-start 'byte-optimizer 'byte-compile-inline-expand) (defalias 'xmltok-attribute-name-colon #[(att) "\301H\207" [att 1] 2]) (put 'xmltok-attribute-name-colon 'byte-optimizer 'byte-compile-inline-expand) (defalias 'xmltok-attribute-name-end #[(att) "\301H\207" [att 2] 2]) (put 'xmltok-attribute-name-end 'byte-optimizer 'byte-compile-inline-expand) (defalias 'xmltok-attribute-value-start #[(att) "\301H\207" [att 3] 2]) (put 'xmltok-attribute-value-start 'byte-optimizer 'byte-compile-inline-expand) (defalias 'xmltok-attribute-value-end #[(att) "\301H\207" [att 4] 2]) (put 'xmltok-attribute-value-end 'byte-optimizer 'byte-compile-inline-expand) #@252 Return an object representing the normalized value of ATT. This can be t indicating that the normalized value is the same as the buffer substring from the start to the end of the value, or nil indicating that the value is not well-formed or a string. (defalias 'xmltok-attribute-raw-normalized-value #[(att) "\301H\207" [att 5] 2 (#$ . 5706)]) (put 'xmltok-attribute-raw-normalized-value 'byte-optimizer 'byte-compile-inline-expand) #@277 Return a list of the entity and character references in ATT. Each member is a vector [TYPE START END] where TYPE is either char-ref or entity-ref and START and END are integers giving the start and end of the reference. Nested entity references are not included in the list. (defalias 'xmltok-attribute-refs #[(att) "\301H\207" [att 6] 2 (#$ . 6147)]) (put 'xmltok-attribute-refs 'byte-optimizer 'byte-compile-inline-expand) (defalias 'xmltok-attribute-prefix #[(att) "\211\302H)\211\205 \303\211\304H) \")\207" [att colon 1 buffer-substring-no-properties 0] 4]) (defalias 'xmltok-attribute-local-name #[(att) "\211\302H)\303 \203 T\202 \211\304H)\211\305H)\")\207" [att colon 1 buffer-substring-no-properties 0 2] 5]) (defalias 'xmltok-attribute-value #[(att) "\211\302H)\211\205\"