| Server IP : 217.160.0.212 / Your IP : 216.73.216.141 Web Server : Apache System : Linux www 6.18.51-i1-ampere #1196 SMP Fri Sep 11 20:43:55 CEST 2026 aarch64 User : sws1073854427 ( 1073854427) PHP Version : 8.4.23 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /usr/share/emacs/28.2/lisp/cedet/semantic/ |
Upload File : |
;ELC
;;; Compiled
;;; in Emacs version 28.2
;;; with all optimizations.
(byte-code "\300\301!\210\300\302!\210\300\303!\210\300\304!\210\300\305\306\307#\204 \310\311!\210\300\312!\210\300\313!\210\300\314!\207" [require semantic semantic/wisent semantic/ctxt semantic/format semantic/grammar-wy nil t load "semantic/grm-wy-boot" semantic/idle help-fns semantic/analyze] 4)
#@44 Regexp matching C-like character literals.
(defconst semantic-grammar-lex-c-char-re "'\\s\\?.'" (#$ . 387))
#@37 Detect and create a prologue token.
(defconst semantic-grammar-lex-prologue '((looking-at "\\<%{") (semantic-lex-push-token (semantic-lex-token 'PROLOGUE (point) (save-excursion (semantic-lex-unterminated-syntax-protection 'PROLOGUE (forward-char) (forward-sexp 1) (point)))))) (#$ . 501))
#@37 Detect and create a prologue token.
(defalias 'semantic-grammar-lex-prologue #[0 "\306``dB\307\310\311!\203k \312`\212\203* \203* \306u\210\313\314!\210`\202K \3151: \306u\210\313\314!\210`0\202K \210\312@A#b\210`\211\262)BB
B\211@\211\211A@\247\204c \211AA\262\202g \211A\262A\262
-\207" [semantic-lex-depth semantic-lex-maximum-depth semantic-lex-current-depth semantic-lex-analysis-bounds semantic-lex-end-point semantic-lex-token-stream nil 0 looking-at "\\<%{" PROLOGUE forward-sexp 1 (error) debug-on-error semantic-lex-debug-analyzers semantic-lex-unterminated-syntax-end-function] 8 (#$ . 797)])
#@52 Return the start position of the grammar epilogue.
(defalias 'semantic-grammar-epilogue-start #[0 "\212eb\210\300\301\302\303\304$\203 \305\224\202 dT)\207" [re-search-forward "^\\s-*\\<%%\\>\\s-*$" nil t 2 0] 5 (#$ . 1429)])
(byte-code "\300\301\302\303#\304\301\305\306#\207" [function-put semantic-grammar-epilogue-start speed -1 put byte-optimizer byte-compile-inline-expand] 5)
#@57 Detect and create an epilogue or percent-percent token.
(defconst semantic-grammar-lex-epilogue '((looking-at "\\<%%\\>") (let ((start (match-beginning 0)) (end (match-end 0)) (class 'PERCENT_PERCENT)) (when (>= start (semantic-grammar-epilogue-start)) (setq class 'EPILOGUE end (point-max))) (semantic-lex-push-token (semantic-lex-token class start end)))) (#$ . 1820))
#@57 Detect and create an epilogue or percent-percent token.
(defalias 'semantic-grammar-lex-epilogue #[0 "\306``dB\307\310\311!\203[ \307\224\307\225\312\212eb\210\313\314\306\315\316$\203* \307\224\202, dT)Y\2037 \317\262d\262\211BB
B\211@\211\211A@\247\204Q \211AA\262\202U \211A\262A\262\266
-\207" [semantic-lex-depth semantic-lex-maximum-depth semantic-lex-current-depth semantic-lex-analysis-bounds semantic-lex-end-point semantic-lex-token-stream nil 0 looking-at "\\<%%\\>" PERCENT_PERCENT re-search-forward "^\\s-*\\<%%\\>\\s-*$" t 2 EPILOGUE] 10 (#$ . 2197)])
#@184 Lexical analyzer that handles Semantic grammar buffers.
It ignores whitespaces, newlines and comments.
See `semantic-lex' for more information.
(fn START END &optional DEPTH LENGTH)
(defalias 'semantic-grammar-lexer #[1026 "\306\307\310#\210`\306\211\211\311\206
@BA\306BdV\203. \312\313d#\210\314 p\315\316#\216\317C!\210b\210`W\203\203R GX\203\320\321!\203^ \311\225\202\234\320\322!\203j \311\225\202\234\320\323!\203\316 \324`\212D\203\210 E\203\210 \306u\210\325\326!\210`\202\253 \3271\230 \306u\210\325\326!\210`0\202\253 \210\324FA@AA#b\210`\211\262)BB B\211@\211\211A@\247\204\303 \211AA\262\202\307 \211A\262A\262\202\234\320\330!\203 \311\224\311\225\331\212eb\210\332\333\306\334\335$\203\354 \311\224\202\356 dT)Y\203\371 \336\262d\262\211BB B\211@\211\211A@\247\204\211AA\262\202\211A\262A\262\266\202\234\320\337!\203u\340\311!\211\341G!\205;\211;\205;\342G\"\262\211\262\205E\211J\262\211\205p\211\311\224\311\225BB B\211@\211\211A@\247\204g\211AA\262\202k\211A\262A\262\211\262\204\234\320\343!\203\321\340\311!\311\224\311\225\344\306\203\245\211\204\245\345@A\"\203\236@@\262\202\204A\262\202\204\211\206\252\346BB B\211@\211\211A@\247\204\303\211AA\262\202\307\211A\262A\262\211\266\205\204\234\320H!\203\377\347\311\224\311\225BB B\211@\211\211A@\247\204\364\211AA\262\202\370\211A\262A\262\202\234\320\350!\203]\351`\212D\203E\203\325\326!\210`\202:\3521'\325\326!\210`0\202:\210\351FA@AA#b\210`\211\262)BB B\211@\211\211A@\247\204R\211AA\262\202V\211A\262A\262\202\234\320I!\203\217`\353\326!\210`=\203x\354\355\356 \"\210\202n\203\357u\210`=\203\211\312\360!\210`\210\202\234\320\361!\203\355\362`\212D\203\252E\203\252\325\326!\210`\202\312\3631\267\325\326!\210`0\202\312\210\362FA@AA#b\210`\211\262)BB B\211@\211\211A@\247\204\342\211AA\262\202\346\211A\262A\262\202\234\320\364!\203V\340\311!\311\224\311\225\211Z\365\306\311V\203\366\"\211\262\204S\262\311O\262\202\377\211\203*\211@\262\\\262\211\206/\367BB B\211@\211\211A@\247\204H\211AA\262\202L\211A\262A\262\211\266\206\204\234\320\370!\203A\340\311!\371\306\372@\"\211\262\203@\203x\f@W\203\247\fT\211A@\311\224\311\225BB B\211@\211\211A@\247\204\231\211AA\262\202\235\211A\262A\262\211\266\203\202>\3358\311\224\212D\203\277E\203\277\373\326!\210`\202\341\3741\314\373\326!\210`0\202\341\210\3358FA@AA#b\210`\211\262)BB B\211@\211\211A@\247\204\371\211AA\262\202\375\211A\262A\262\211\266\203\202>\372A\"\211\262\205<\fS\211A@\311\224\311\225BB B\211@\211\211A@\247\2043\211AA\262\2027\211A\262A\262\211\266\203\204\234\320\375!\203\234\376`\212D\203\\E\203\\\325\326!\210`\202|\3771i\325\326!\210`0\202|\210\376FA@AA#b\210`\211\262)BB B\211@\211\211A@\247\204\224\211AA\262\202\230\211A\262A\262=\203\253\312\201M @#\210\262b\210J\203\335\201N \204\323r\201O K!q\210\212Kb\210\201P *\203\335\201Q J\201R \"\210 @L\205 \306C\315\201S \"\216\203\371\211\201T !\240\210\201U \201V \201W \f#!)\262\266\202@ )\266\n\203I\n\211A\242\211\211\2036\201X \201Y @A@#\210\n\211A\242\262\202@FA@AA#b\210`\211\266b\210 \237.\207" [semantic-lex-block-streams semantic-lex-token-stream semantic-lex-block-stack semantic-lex-end-point semantic-lex-current-depth semantic-lex-depth nil run-hook-with-args semantic-lex-reset-functions 0 error "semantic-grammar-lexer: end (%d) > point-max (%d)" syntax-table make-closure #[0 "r\301q\210\302\300!)\207" [V0 V1 set-syntax-table] 2] set-syntax-table looking-at "\\s-*\\(\n\\|\\s>\\)" "\\s-+" "\\<%{" PROLOGUE forward-sexp 1 (error) "\\<%%\\>" PERCENT_PERCENT re-search-forward "^\\s-*\\<%%\\>\\s-*$" t 2 EPILOGUE "\\(\\sw\\|\\s_\\)+" match-string obarrayp intern-soft ":?\\(\\sw\\|\\s_\\)+" ((PERCENT_PERCENT . "\\`%%\\'")) string-match SYMBOL CHARACTER "\\s\"" STRING (error) forward-comment skip-syntax-forward "-.'" point-at-eol -1 "Strange comment syntax prevents lexical analysis" "\\s'\\s-*(" PREFIXED_LIST (error) "\\(\\s.\\|\\s$\\|\\s'\\)+" ((GT . ">") (LT . "<") (OR . "|") (SEMI . ";") (COLON . ":")) rassoc punctuation "\\s(\\|\\s)" ((("(" LPAREN PAREN_BLOCK) ("{" LBRACE BRACE_BLOCK)) (")" RPAREN) ("}" RBRACE)) assoc forward-list (error) "\\=" SEXP (error) semantic-lex-maximum-depth semantic-lex-analysis-bounds parse-sexp-lookup-properties semantic-lex-syntax-table debug-on-error semantic-lex-debug-analyzers semantic-lex-unterminated-syntax-end-function semantic-flex-keywords-obarray semantic-grammar-lex-c-char-re semantic-lex-comment-regex semantic-current-input-throw-symbol semantic--on-input-start-marker semantic-lex-debug "semantic-grammar-lexer: endless loop at %d, after %S" input-pending-p marker-buffer accept-process-output throw lex #[0 "\300\242\205 \301\300\242!\207" [V0 delete-overlay] 2] semantic-lex-highlight-token read-event format "%S :: Depth: %d :: SPC - continue" message "semantic-grammar-lexer: `%s' block from %S is unterminated"] 19 (#$ . 2787)])
#@47 Run `semantic-grammar-lex' on current buffer.
(defalias 'semantic-grammar-lex-buffer #[0 "\301 \210\302\303ed\"r\304\305!q\210\306 \210\307p\"\210eb\210\310p!)\207" [semantic-lex-analyzer semantic-lex-init semantic-grammar-lexer semantic-lex get-buffer-create "*semantic-grammar-lex*" erase-buffer pp pop-to-buffer] 4 (#$ . 7940) nil])
#@98 Return expansion of built-in ASSOC expression.
ARGS are ASSOC's key value list.
(fn &rest ARGS)
(defalias 'semantic-grammar-ASSOC #[128 "\300C\301\302\303\304\"\"B\207" [t semantic-tag-make-plist mapcar make-closure #[257 "\300\242\203 \301D\202\f \211\300\211\242?\240\210\207" [V0 quote] 4 "\n\n(fn I)"]] 7 (#$ . 8284)])
#@67 Return non-nil if SYM is bound to the `quote' function.
(fn SYM)
(defalias 'semantic-grammar-quote-p #[257 "\3001
\301!\301\302!=0\207\210\303\207" [(error) indirect-function quote nil] 4 (#$ . 8618)])
(byte-code "\300\301\302\303#\304\301\305\306#\207" [function-put semantic-grammar-quote-p speed -1 put byte-optimizer byte-compile-inline-expand] 5)
#@71 Return non-nil if SYM is bound to the `backquote' function.
(fn SYM)
(defalias 'semantic-grammar-backquote-p #[257 "\3001
\301!\301\302!=0\207\210\303\207" [(error) indirect-function backquote nil] 4 (#$ . 8979)])
(byte-code "\300\301\302\303#\304\301\305\306#\207" [function-put semantic-grammar-backquote-p speed -1 put byte-optimizer byte-compile-inline-expand] 5)
#@114 Return the children of tag TAG.
Override `semantic-tag-components' in `semantic-grammar-mode'
buffers.
(fn TAG)
(defalias 'semantic-tag-components-semantic-grammar-mode #[257 "\211\300\301\3028\262\"\207" [:children plist-get 2] 7 (#$ . 9357)])
(byte-code "\300\301\302\303#\210\304\305\306\307#\207" [put semantic-tag-components-semantic-grammar-mode definition-name semantic-tag-components mode-local-bind ((semantic-tag-components . semantic-tag-components-semantic-grammar-mode)) (override-flag t) semantic-grammar-mode] 4)
#@109 Return the name of the first tag of class CLASS found.
Warn if other tags of class CLASS exist.
(fn CLASS)
(defalias 'semantic-grammar-first-tag-name #[257 "\300p!\301\203! @\211A@\262=\203 @B\262A\262\202 \211\237\266\202\211\2059 \211@\211@\262A\2039 \302\303\"\210\207" [semantic-something-to-tag-table nil message "*** Ignore all but first declared %s"] 6 (#$ . 9897)])
#@135 Return the list of symbols defined in tags of class CLASS.
That is tag names plus names defined in tag attribute `:rest'.
(fn CLASS)
(defalias 'semantic-grammar-tag-symbols #[257 "\300p!\301\203! @\211A@\262=\203 @B\262A\262\202 \211\237\266\202\302\303\304\305\"\"\207" [semantic-something-to-tag-table nil apply append mapcar #[257 "\300\301\211@\262\302\303\3048\262\"\266\202B\"\207" [mapcar intern :rest plist-get 2] 10 "\n\n(fn TAG)"]] 7 (#$ . 10293)])
#@53 Return the readable string form of ITEM.
(fn ITEM)
(defalias 'semantic-grammar-item-text #[257 "\301\"\203 \302\303\304OP\207\207" [semantic-grammar-lex-c-char-re string-match "?" 1 -1] 5 (#$ . 10778)])
(byte-code "\300\301\302\303#\304\301\305\306#\207" [function-put semantic-grammar-item-text speed -1 put byte-optimizer byte-compile-inline-expand] 5)
#@61 Return symbol or character value of ITEM string.
(fn ITEM)
(defalias 'semantic-grammar-item-value #[257 "\301\"\203 \302\303\304\305OP!\207\306!\207" [semantic-grammar-lex-c-char-re string-match read "?" 1 -1 intern] 6 (#$ . 11144)])
(byte-code "\300\301\302\303#\304\301\305\306#\207" [function-put semantic-grammar-item-value speed -1 put byte-optimizer byte-compile-inline-expand] 5)
#@49 Return grammar prologue code as a string value.
(defalias 'semantic-grammar-prologue #[0 "\300\301\302p!\303\203# @\211A@\262\304=\203 @B\262A\262\202 \211\237\266\202\"\211\203t \212\211\211\3058\262\306!\203B \307!\266\202\202G \211\310H\266\202b\210\311\303w\210`\211\3058\262\306!\203c \312!\266\202\202h \211\313H\266\202b\210\314\303x\210`{\315P)\207\316\207" [semantic-find-first-tag-by-name "prologue" semantic-something-to-tag-table nil code 4 overlayp overlay-start 0 "%{
\n " overlay-end 1 "
\n %}" "\n" ""] 6 (#$ . 11543)])
#@49 Return grammar epilogue code as a string value.
(defalias 'semantic-grammar-epilogue #[0 "\300\301\302p!\303\203# @\211A@\262\304=\203 @B\262A\262\202 \211\237\266\202\"\211\203 \212\211\211\3058\262\306!\203B \307!\266\202\202G \211\310H\266\202b\210\311\303w\210`\211\3058\262\306!\203c \312!\266\202\202h \211\313H\266\202b\210\314\303x\210\315\316\317 \320#\210\314\303x\210`{\321P)\207\322\207" [semantic-find-first-tag-by-name "epilogue" semantic-something-to-tag-table nil code 4 overlayp overlay-start 0 "%
\n " overlay-end 1 "
\n " re-search-backward "^;;;\\s-+\\S-+\\s-+ends here" point-at-bol t "\n" ""] 6 (#$ . 12106)])
#@140 Return name of file sans directory BUFFER is visiting.
No argument or nil as argument means use the current buffer.
(fn &optional BUFFER)
(defalias 'semantic-grammar-buffer-file #[256 "\300\301!!\207" [file-name-nondirectory buffer-file-name] 4 (#$ . 12766)])
(byte-code "\300\301\302\303#\304\301\305\306#\207" [function-put semantic-grammar-buffer-file speed -1 put byte-optimizer byte-compile-inline-expand] 5)
#@263 Return the %package value as a string.
If there is no %package statement in the grammar, return a default
package name derived from the grammar file name. For example, the
default package name for the grammar file foo.wy is foo-wy, and for
foo.by it is foo-by.
(defalias 'semantic-grammar-package #[0 "\300\301!\206! \302\303\304!!\262\305!\306\307\310\"\"\311O\312Q\266\203\207" [semantic-grammar-first-tag-name package nil file-name-nondirectory buffer-file-name file-name-extension string-match format "\\([.]\\)%s\\'" 0 "-"] 6 (#$ . 13189)])
#@70 Return the number of expected shift/reduce conflicts in the package.
(defalias 'semantic-grammar-expected-conflicts #[0 "\300\301!\207" [semantic-grammar-tag-symbols expectedconflicts] 2 (#$ . 13750)])
#@61 Return the %languagemode value as a list of symbols or nil.
(defalias 'semantic-grammar-languagemode #[0 "\300\301!\207" [semantic-grammar-tag-symbols languagemode] 2 (#$ . 13958)])
(byte-code "\300\301\302\303#\304\301\305\306#\207" [function-put semantic-grammar-languagemode speed -1 put byte-optimizer byte-compile-inline-expand] 5)
#@54 Return the %start value as a list of symbols or nil.
(defalias 'semantic-grammar-start #[0 "\300\301!\207" [semantic-grammar-tag-symbols start] 2 (#$ . 14301)])
(byte-code "\300\301\302\303#\304\301\305\306#\207" [function-put semantic-grammar-start speed -1 put byte-optimizer byte-compile-inline-expand] 5)
#@50 Return the %scopestart value as a symbol or nil.
(defalias 'semantic-grammar-scopestart #[0 "\300\301\302!\206 \303!\207" [intern semantic-grammar-first-tag-name scopestart "nil"] 3 (#$ . 14616)])
(byte-code "\300\301\302\303#\304\301\305\306#\207" [function-put semantic-grammar-scopestart speed -1 put byte-optimizer byte-compile-inline-expand] 5)
#@49 Return the %quotemode value as a symbol or nil.
(defalias 'semantic-grammar-quotemode #[0 "\300\301\302!\206 \303!\207" [intern semantic-grammar-first-tag-name quotemode "nil"] 3 (#$ . 14973)])
(byte-code "\300\301\302\303#\304\301\305\306#\207" [function-put semantic-grammar-quotemode speed -1 put byte-optimizer byte-compile-inline-expand] 5)
#@172 Return the language keywords.
That is an alist of (VALUE . TOKEN) where VALUE is the string value of
the keyword and TOKEN is the terminal symbol identifying the keyword.
(defalias 'semantic-grammar-keywords #[0 "\300\301\302p!\303\203# @\211A@\262\304=\203 @B\262A\262\202 \211\237\266\202\"\207" [mapcar #[257 "\211\300\301\3028\262\"\266\202\303\211@\262!B\207" [:value plist-get 2 intern] 7 "\n\n(fn KEY)"] semantic-something-to-tag-table nil keyword] 6 (#$ . 15327)])
(byte-code "\300\301\302\303#\304\301\305\306#\207" [function-put semantic-grammar-keywords speed -1 put byte-optimizer byte-compile-inline-expand] 5)
#@56 Return the list of KEYWORDS properties.
(fn KEYWORDS)
(defalias 'semantic-grammar-keyword-properties #[257 "\300p!\301\203! @\211A@\262\302=\203 @B\262A\262\202 \211\237\266\202\301\211\211\211\211\211\211\211\203\246 @\262A\262 \303\304 \211@\262\n\305\306\3078\262\"\266\202B\"\262\203- @\262A\262\310\"\262\203V @\262\311\306\3078\262\"\266\202\262\203V \304@@!\262\312@A!\262EB\262A\262\202\205 \207" [semantic-something-to-tag-table nil put mapcar intern :rest plist-get 2 rassq :value read] 19 (#$ . 15973)])
#@244 Return defined lexical tokens.
That is an alist (TYPE . DEFS) where type is a %token <type> symbol
and DEFS is an alist of (TOKEN . VALUE). TOKEN is the terminal symbol
identifying the token and VALUE is the string value of the token or
nil.
(defalias 'semantic-grammar-tokens #[0 "\301\211\211\211\211\211\211\211\302p!\301\203) @\211A@\262\303=\203\"