MMCT TEAM
Server IP : 111.118.215.189  /  Your IP : 13.59.31.221
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/emacs-lisp/

[  Home  ][  C0mmand  ][  Upload File  ]

Current File : //usr/share/emacs/24.3/lisp/emacs-lisp/syntax.elc
;ELC
;;; Compiled by mockbuild@buildfarm06-new.corp.cloudlinux.com on Fri Oct 11 10:12:50 2024
;;; from file /builddir/build/BUILD/emacs-24.3/lisp/emacs-lisp/syntax.el
;;; in Emacs version 24.3
;;; 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.

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;


#@673 Mode-specific function to apply `syntax-table' text properties.
The value of this variable is a function to be called by Font
Lock mode, prior to performing syntactic fontification on a
stretch of text.  It is given two arguments, START and END: the
start and end of the text to be fontified.  Major modes can
specify a custom function to apply `syntax-table' properties to
override the default syntax table in special cases.

The specified function may call `syntax-ppss' on any position
before END, but it should not call `syntax-ppss-flush-cache',
which means that it should not call `syntax-ppss' on some
position and later modify the buffer on some earlier position.
(defvar syntax-propertize-function nil (#$ . 559))
(defvar syntax-propertize-chunk-size 500)
#@723 Special hook run just before proceeding to propertize a region.
This is used to allow major modes to help `syntax-propertize' find safe buffer
positions as beginning and end of the propertized region.  Its most common use
is to solve the problem of /identification/ of multiline elements by providing
a function that tries to find such elements and move the boundaries such that
they do not fall in the middle of one.
Each function is called with two arguments (START and END) and it should return
either a cons (NEW-START . NEW-END) or nil if no adjustment should be made.
These functions are run in turn repeatedly until they all return nil.
Put first the functions more likely to cause a change and cheaper to compute.
(defvar syntax-propertize-extend-region-functions '(syntax-propertize-wholelines) (#$ . 1331))
(make-variable-buffer-local 'syntax-propertize-extend-region-functions)
(defalias 'syntax-propertize-wholelines #[514 "b\210\300 b\210n\203`\202\300\301!B\207" [line-beginning-position 2] 5 "\n\n(fn START END)"])
#@87 Let `syntax-propertize' pay attention to the syntax-multiline property.

(fn BEG END)
(defalias 'syntax-propertize-multiline #[514 "eV\203\300S\301\"\203\302\301\"\206e\262\300\303\"\203+\304d\301\305$\206)d\262B\207" [get-text-property syntax-multiline previous-single-property-change font-lock-multiline text-property-any nil] 7 (#$ . 2373)])
#@61 Position up to which syntax-table properties have been set.
(defvar syntax-propertize--done -1 (#$ . 2741))
(make-variable-buffer-local 'syntax-propertize--done)
(defalias 'syntax-propertize--shift-groups #[514 "\300\301\302\303\304\305\306!\307\"\310\311%\312\211%\207" [replace-regexp-in-string "\\\\(\\?\\([0-9]+\\):" make-byte-code 257 "\301\302\300\303\304\305\"!\\!\306\211\305%\207" vconcat vector [replace-match number-to-string string-to-number match-string 1 t] 8 "\n\n(fn S)" t] 10 "\n\n(fn RE N)"])
#@351 Return a precompiled form of RULES to pass to `syntax-propertize-rules'.
The arg RULES can be of the same form as in `syntax-propertize-rules'.
The return value is an object that can be passed as a rule to
`syntax-propertize-rules'.
I.e. this is useful only when you want to share rules among several
`syntax-propertize-function's.

(fn &rest RULES)
(defalias 'syntax-propertize-precompile-rules '(macro . #[128 "\300D\207" [quote] 3 (#$ . 3265)]))
(put 'syntax-propertize-precompile-rules 'edebug-form-spec 'syntax-propertize-rules)
#@1464 Make a function that applies RULES for use in `syntax-propertize-function'.
The function will scan the buffer, applying the rules where they match.
The buffer is scanned a single time, like "lex" would, rather than once
per rule.

Each RULE can be a symbol, in which case that symbol's value should be,
at macro-expansion time, a precompiled set of rules, as returned
by `syntax-propertize-precompile-rules'.

Otherwise, RULE should have the form (REGEXP HIGHLIGHT1 ... HIGHLIGHTn), where
REGEXP is an expression (evaluated at time of macro-expansion) that returns
a regexp, and where HIGHLIGHTs have the form (NUMBER SYNTAX) which means to
apply the property SYNTAX to the chars matched by the subgroup NUMBER
of the regular expression, if NUMBER did match.
SYNTAX is an expression that returns a value to apply as `syntax-table'
property.  Some expressions are handled specially:
- if SYNTAX is a string, then it is converted with `string-to-syntax';
- if SYNTAX has the form (prog1 EXP . EXPS) then the value returned by EXP
  will be applied to the buffer before running EXPS and if EXP is a string it
  is also converted with `string-to-syntax'.
The SYNTAX expression is responsible to save the `match-data' if needed
for subsequent HIGHLIGHTs.
Also SYNTAX is free to move point, in which case RULES may not be applied to
some parts of the text or may be applied several times to other parts.

Note: back-references in REGEXPs do not work.

(fn &rest RULES)
(defalias 'syntax-propertize-rules '(macro . #[128 "\211C\300@\2033@@9\203#\301@\211@A\240\210@J@\"\240\210\202@\211@A\240\210@B\262\202\237\240\266\302C\300C\303\304\305\306\307\310#\311\"\312\313%@\314#\315\316\317\320\321\322\323\324BBE\325@\237BEF\266\203\207" [nil append 0 mapconcat make-byte-code 257 "\304@!\211\305\236\203\300@A\203\301\211@T\240\210\306\307Q\262\310\301@\"\262\311\305\236\203=\312\301@!\2036\313\202h\314\301@D\202h\211AA)\204U\314\301@\211A@)@\\D\202h\315\316\317\320\321\322\323\301!\324\"\325\326%A\"B\313\301@\312!\204\253A\211\203\216\211@\211\211A@);\204\207\311\262A\266\202\202t\210\204\253\327\330\331\332\333T\334_\335BBE\336BBBB\262\305\262A\211\203\211@\211\211AA)\203\303\337\340\341C\"\210@\\A@\211;\203\343\342\314D\343D\344\345\346!D\257C\202E\211\242\347=\203\357\211A\202E\211\242\350=\2032\211A@;\203\342\314D\343D\351\345\346A@!D\257AAB\202E\327\352\314DD\353\343DD\354A@DE\355AABBBC\202E\327\352\314DD\353\343DD\354DE\356BBC\211AA)\203U\312!\203_\211\237	\244\262	\202v\357\314DA\204m@\202p\360BE	B\262	\266A\266\202\202\256\210\302\237B\302@B\240\266\301\211@\361!\\\240\210\207" vconcat vector [x eval 0 "\\(" "\\)" syntax-propertize--shift-groups nil zerop t match-beginning or mapcar make-byte-code 257 "\301\300@@\\D\207" vconcat vector [match-beginning] 4 "\n\n(fn CASE)" let ((md (match-data 'ints))) setcdr (cdr md) nthcdr 2 (md) ((set-match-data md)) signal cl-assertion-failed (null (cddr case)) put-text-property match-end 'syntax-table quote string-to-syntax ignore prog1 'syntax-table mb me syntax (if syntax (put-text-property mb me 'syntax-table syntax)) ((if syntax (put-text-property mb me 'syntax-table syntax))) if progn regexp-opt-depth] 19 "\n\n(fn RULE)" "\\|" lambda (start end) (goto-char start) while and (< (point) end) re-search-forward (end t) cond] 14 (#$ . 3808)]))
(put 'syntax-propertize-rules 'edebug-form-spec '(&rest &or symbolp (form &rest (numberp [&or stringp ("prog1" [&or stringp def-form] def-body) def-form]))))
#@216 Propertize for syntax in START..END using font-lock syntax.
KEYWORDS obeys the format used in `font-lock-syntactic-keywords'.
The return value is a function suitable for `syntax-propertize-function'.

(fn KEYWORDS)
(defalias 'syntax-propertize-via-font-lock #[257 "\211C\300\301\302\303\304!\305\"\306\307%\207" [make-byte-code 514 "\300@\302\"\210\300	\240)\207" vconcat vector [font-lock-syntactic-keywords font-lock-fontify-syntactic-keywords-region] 5 "\n\n(fn START END)"] 8 (#$ . 7409)])
#@66 Ensure that syntax-table properties are set until POS.

(fn POS)
(defalias 'syntax-propertize #[257 "\205\212	W\205\212\306\302!\210\307\212\310 \307\211\307\311\211\311\312\313\314\315\316\317!\320\"\321\322%DC\216	e]d\\^]\211\203w\211A\262@\"\211\203s\211@Y\203_\211AX\204s\211@\262\211A\262A=\204s\262\210\202@\323\324#\210\"\266\203.\262)\207" [syntax-propertize-function syntax-propertize--done parse-sexp-lookup-properties buffer-undo-list inhibit-read-only inhibit-modification-hooks make-local-variable t buffer-modified-p nil funcall make-byte-code 0 "\300?\205\301\302!\207" vconcat vector [restore-buffer-modified-p nil] 2 "\n\n(fn)" remove-text-properties (syntax-table nil syntax-multiline nil) deactivate-mark buffer-file-name buffer-file-truename syntax-propertize-chunk-size syntax-propertize-extend-region-functions] 10 (#$ . 7913)])
(defalias 'syntax-ppss-depth #[257 "\211@\207" [] 2 "\n\n(fn PPSS)"])
(put 'syntax-ppss-depth 'byte-optimizer 'byte-compile-inline-expand)
#@432 Get the latest syntactically outermost position found in a syntactic scan.
PPSS is a scan state, as returned by `parse-partial-sexp' or `syntax-ppss'.
An "outermost position" means one that it is outside of any syntactic entity:
outside of any parentheses, comments, or strings encountered in the scan.
If no such position is recorded in PPSS (because the end of the scan was
itself at the outermost level), return nil.

(fn PPSS)
(defalias 'syntax-ppss-toplevel-pos #[257 "\3008@\206\n\3018\207" [9 8] 3 (#$ . 8963)])
(defalias 'syntax-ppss-context #[257 "\3008\203\301\207\3028\203\303\207\304\207" [3 string 4 comment nil] 3 "\n\n(fn PPSS)"])
(put 'syntax-ppss-context 'byte-optimizer 'byte-compile-inline-expand)
#@181 Threshold below which cache info is deemed unnecessary.
We try to make sure that cache entries are at least this far apart
from each other, to avoid keeping too much useless info.
(defvar syntax-ppss-max-span 20000 (#$ . 9696))
#@174 Function to move back outside of any comment/string/paren.
This function should move the cursor back to some syntactically safe
point (where the PPSS is equivalent to nil).
(defvar syntax-begin-function nil (#$ . 9931))
#@54 List of (POS . PPSS) pairs, in decreasing POS order.
(defvar syntax-ppss-cache nil (#$ . 10157))
(make-variable-buffer-local 'syntax-ppss-cache)
#@34 Cache of (LAST-POS . LAST-PPSS).
(defvar syntax-ppss-last nil (#$ . 10308))
(byte-code "\300\301!\210\302\303\304\"\207" [make-variable-buffer-local syntax-ppss-last defalias syntax-ppss-after-change-function syntax-ppss-flush-cache] 3)
#@84 Flush the cache of `syntax-ppss' starting at position BEG.

(fn BEG &rest IGNORED)
(defalias 'syntax-ppss-flush-cache #[385 "^	\203	\211@@)V\203	A\211\204@\206!\304W\205?\305A!\2064\3068\2064\304X\203<\307\211\207\307\240\207" [syntax-propertize--done syntax-ppss-cache x syntax-ppss-last 0 syntax-ppss-toplevel-pos 3 nil] 6 (#$ . 10551)])
(defvar syntax-ppss-stats [(0 . 0.0) (0 . 0.0) (0 . 0.0) (0 . 0.0) (0 . 0.0) (1 . 2500.0)])
(defalias 'syntax-ppss-stats #[0 "\301\302\"\207" [syntax-ppss-stats mapcar #[257 "\300\301\302\303\304\305\306!\307\"\310\311%D\312\301\313\300EDC\217\207" [#1=#:err funcall make-byte-code 0 "\300@\301\300A\300@\245!B\207" vconcat vector [truncate] 4 "\n\n(fn)" error #[257 "\300\207" [nil] 2 "\n\n(fn IGNORED)"]] 9 "\n\n(fn X)"]] 3 "\n\n(fn)"])
#@310 Parse-Partial-Sexp State at POS, defaulting to point.
The returned value is the same as that of `parse-partial-sexp'
run from point-min to POS except that values at positions 2 and 6
in the returned list (counting from 0) cannot be relied upon.
Point is at POS when this function returns.

(fn &optional POS)
(defalias 'syntax-ppss #[256 "\211C\211@\204\211`\240\210\301@!\210A@C\302CeC@\203*@@V\203*\302\240\210\303\304\305\306\307\310\311%\312\"\313\314%D\315\304\305\316\317\310\311
!\320\"\321\322%\303EDC\217\266\204\207" [syntax-ppss-last syntax-propertize nil #1=#:err funcall make-byte-code 0 "\302@\203=\300@\302@Z
\306HA
\306H@T\245\307_W\203=
\310H\211@T\240\266
\310H\211A\300@\302@Z\\\241\266\311\302@\300@\312\211\301%\207\302@\204\214\301\203\214\304\313\301!\206P\307\3018\240\203\214\304@\300@X\203\214\300@\304@ZW\203\214
\314H\211@T\240\266
\314H\211A\300@\304@Z\\\241\266\303\311\304@\300@\"\240\210\202J\312ee\312\203\255\300@\211@@)W\203\255\262A\262\202\222\203\304\211@@)\262\303\211@A)\240\210\204\325\204\325\315\316\317\320\211$\210\302@\203\341\302@W\203\353\262\303@\262\202
\321H\211@T\240\266
\321H\211A\300@\302@Z\\\241\266\302@\262\301\262\204#\322\323!\203#\203#\324\325!\210\203d\300@b\210 \210`V\203d`\300@W\203d\326`\327\"\330>\204d
\306H\211@T\240\266
\306H\211A\300@`Z\\\241\266`\262\312\262\300@ZW\203\225
\307H\211@T\240\266
\307H\211A\300@Z\\\241\266\303\311\300@\312\211%\240\210\202H
\331H\211@T\240\266
\331H\211A\300@Z\\\241\266\300@Z\307_V\203\353\303\311\211\300@\\\307\245\211\262\312\211\303@%\240\210\303@B\203\341\211AB\241\266\202\347\211B\210\202\256\303\311\300@\312\211\303@%\240\210\300@\303@B\203#\211@@)\300@ZV\203\211AB\241\266\202G\240\210\202G\2039\211@@)\300@ZV\203B\211B\202G\240\210\210\266\300@\303@B\303@\207" vconcat vector [syntax-ppss-stats 5 2 0 parse-partial-sexp nil syntax-ppss-toplevel-pos 1 add-hook before-change-functions syntax-ppss-flush-cache t 4 boundp font-lock-beginning-of-syntax-function make-local-variable syntax-begin-function get-text-property face (font-lock-string-face font-lock-doc-face font-lock-comment-face) 3 syntax-ppss-max-span syntax-ppss-cache x syntax-ppss-last] 13 "\n\n(fn)" args-out-of-range 257 "\301e\300@\"\207" [parse-partial-sexp] 4 "\n\n(fn IGNORED)"] 18 (#$ . 11364)])
(defalias 'syntax-ppss-debug #[0 "\301\211\302e\301BC\"\211\203&\211@\203@ZB\262\211@\262A\266\202\202	\210\207" [syntax-ppss-cache nil append] 6 "\n\n(fn)"])
(provide 'syntax)

MMCT - 2023