%PDF- %PDF-
Direktori : /usr/local/share/emacs/27.2/lisp/cedet/semantic/ |
Current File : //usr/local/share/emacs/27.2/lisp/cedet/semantic/grammar.elc |
;ELC ;;; Compiled ;;; in Emacs version 27.2 ;;; 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. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; (byte-code "\300\301!\210\300\302!\210\300\303!\210\300\304!\210\300\305!\210\300\306!\210\300\307!\210\300\310!\207" [require semantic semantic/wisent semantic/ctxt semantic/format semantic/grammar-wy semantic/idle help-fns semantic/analyze] 2) #@44 Regexp matching C-like character literals. (defconst semantic-grammar-lex-c-char-re "'\\s\\?.'" (#$ . 654)) #@37 Detect and create a prologue token. (defvar semantic-grammar-lex-prologue nil (#$ . 768)) (defalias 'semantic-grammar-lex-prologue #[nil "\300\207" [nil] 1]) (byte-code "\301\300\302M\207" [semantic-grammar-lex-prologue ((looking-at #1="\\<%{") (semantic-lex-push-token (semantic-lex-token 'PROLOGUE (point) (save-excursion (semantic-lex-unterminated-syntax-protection 'PROLOGUE (forward-char) (forward-sexp 1) (point)))))) #[nil "\306``dB\307\310\311!\203i \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\204a \211AA\202c \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 #1# PROLOGUE forward-sexp 1 (error) debug-on-error semantic-lex-debug-analyzers semantic-lex-unterminated-syntax-end-function] 8 "Detect and create a prologue token."]] 2) #@52 Return the start position of the grammar epilogue. (defalias 'semantic-grammar-epilogue-start #[nil "\212eb\210\300\301\302\303\304$\203 \305\224\202 dT)\207" [re-search-forward "^\\s-*\\<%%\\>\\s-*$" nil t 2 0] 5 (#$ . 1771)]) (put 'semantic-grammar-epilogue-start 'byte-optimizer 'byte-compile-inline-expand) #@57 Detect and create an epilogue or percent-percent token. (defvar semantic-grammar-lex-epilogue nil (#$ . 2090)) (defalias 'semantic-grammar-lex-epilogue #[nil "\300\207" [nil] 1]) (byte-code "\301\300\302M\207" [semantic-grammar-lex-epilogue ((looking-at #1="\\<%%\\>") (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)))) #[nil "\306``dB\307\310\311!\203a \307\224\307\225\312\211\212eb\210\313\314\306\315\316$\2030 \307\224\2022 dT)Y\203= \317dBB B\211@\211\211A@\247\204X \211AA\202Z \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 #1# PERCENT_PERCENT re-search-forward "^\\s-*\\<%%\\>\\s-*$" t 2 EPILOGUE class end start] 7 "Detect and create an epilogue or percent-percent token."]] 2) #@145 Lexical analyzer that handles Semantic grammar buffers. It ignores whitespaces, newlines and comments. See `semantic-lex' for more information. (defalias 'semantic-grammar-lexer #[(start end &optional depth length) "\306\307\310 \n#\210`\306\211 @ A\311BC\206 DE \nBF\306G\ndV\2034 \312\313\nd#\210\314 pHI\315\216\316J!\210 b\210`\nW\203hK\203X \fGKX\203h\317\320!\203e \311\225A\202\341\317\321!\203r \311\225A\202\341\317\322!\203\326 \323`\212L\203\220 M\203\220 \306u\210\324\325!\210`\202\264 \3261\240 \306u\210\324\325!\210`0\202\264 \210\323NF@FA#b\210`\211A\262)BB\fB\211@\211\211A@\247\204\312 \211AA\202\314 \211A\262A\262A\202\341\317\327!\203*\311\224\311\225\330O\211\212eb\210\331\332\306\333\334$\203\370 \311\224\202\372 dT)Y\203\335OdO \nBB\fB\211@\211\211A@\247\204\211AA\202\211A\262A\262A+\202\341\317\336!\203\200\337\311!\211\340P!\205E\211;\205E\341P\"\262\211\262\205O\211J\262\211Q\205|Q\311\224\311\225BB\fB\211@\211\211A@\247\204r\211AA\202t\211A\262A\262\211A)\204\341\317\342!\203\355\337\311!R\311\224S\311\225T\343U\306VU\203\300V\204\300\344U@AR\"\203\267U@@V\202\231UA\211U\204\236V\206\306\345STBB\fB\211@\211\211A@\247\204\337\211AA\202\341\211A\262A\262\211A-\204\341\317W!\203\346\311\224\311\225BB\fB\211@\211\211A@\247\204\211AA\202\211A\262A\262A\202\341\317\347!\203x\350`\212L\2035M\2035\324\325!\210`\202V\3511B\324\325!\210`0\202V\210\350NF@FA#b\210`\211A\262)BB\fB\211@\211\211A@\247\204l\211AA\202n\211A\262A\262A\202\341\317X!\203\257`Y\352\325!\210`Y=\203\226\353\354\355 \"\210\202\235n\203\235\356u\210`Y=\203\250\312\357!\210`A)\202\341\317\360!\203 \361`\212L\203\312M\203\312\324\325!\210`\202\353\3621\327\324\325!\210`0\202\353\210\361NF@FA#b\210`\211A\262)BB\fB\211@\211\211A@\247\204\211AA\202\211A\262A\262A\202\341\317\363!\203\217\337\311!Z\311\224[\311\225\211\\[Z]\364^\306_]\311V\203P\365Z^\"\211_\204P]S]\366Z\311]#Z\202,_\203a_@_[]\\\\_\206g\367[\\BB\fB\211@\211\211A@\247\204\200\211AA\202\202\211A\262A\262\211A.\204\341\317\370!\203\206\337\311!\371\306`ab\372ba@\"\211`\203IE\203\272BEW\203\351BTB`A@\311\224\311\225BB\fB\211@\211\211A@\247\204\334\211AA\202\336\211A\262A\262\211A\202\202\334`8\311\224\212L\203M\203\373\325!\210`\202&\3741\373\325!\210`0\202&\210\334`8NF@FA#b\210`\211A\262)BB\fB\211@\211\211A@\247\204<\211AA\202>\211A\262A\262\211A\202\202\372baA\"\211`\205\202BSB`A@\311\224\311\225BB\fB\211@\211\211A@\247\204x\211AA\202z\211A\262A\262\211A+\204\341\317\375!\203\341\376`\212L\203\241M\203\241\324\325!\210`\202\302\3771\256\324\325!\210`0\202\302\210\376NF@FA#b\210`\211A\262)BB\fB\211@\211\211A@\247\204\330\211AA\202\332\211A\262A\262AA@=\203\363\312\201h @\f@#\210A@Ab\210c\203'\201i \204r\201j d!q\210\212db\210\201k *\203'\201l c\201m \"\210\f@e\205c\306C\201n \311\201o \201p \201q !\201r \"\334$\216\203R\211\201s !\240\210\201t \201u \201v B#!)\262\266\202E + \203\253 \211A\242\211f\211g\203\225\201w \201x g@gA@#\210 \211A\242\211g\204{f@NF@FA#b\210`\211A\266*b\210\f\237. \207" [semantic-lex-block-streams start end starting-position semantic-lex-token-stream semantic-lex-block-stack nil run-hook-with-args semantic-lex-reset-functions 0 error "semantic-grammar-lexer: end (%d) > point-max (%d)" syntax-table #[nil "rq\210\302 !)\207" [#1=#:buffer #2=#:table 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 substring punctuation "\\s(\\|\\s)" ((("(" LPAREN PAREN_BLOCK) ("{" LBRACE BRACE_BLOCK)) (")" RPAREN) ("}" RBRACE)) assoc forward-list (error) "\\=" SEXP (error) tmp-start semantic-lex-end-point semantic-lex-current-depth depth semantic-lex-depth semantic-lex-maximum-depth semantic-lex-analysis-bounds parse-sexp-lookup-properties #1# #2# semantic-lex-syntax-table length debug-on-error semantic-lex-debug-analyzers semantic-lex-unterminated-syntax-end-function class semantic-flex-keywords-obarray #3=#:key #4=#:val #5=#:pos #6=#:end #7=#:lst #8=#:elt semantic-grammar-lex-c-char-re semantic-lex-comment-regex comment-start-point #9=#:val #10=#:pos #11=#:end #12=#:len #13=#:lst #14=#:elt #15=#:elt #16=#:lst #17=#:val semantic-current-input-throw-symbol semantic--on-input-start-marker semantic-lex-debug last blk "semantic-grammar-lexer: endless loop at %d, after %S" input-pending-p marker-buffer accept-process-output throw lex make-byte-code "\300\242\205 \301\300\242!\207" vconcat vector [delete-overlay] semantic-lex-highlight-token read-event format "%S :: Depth: %d :: SPC - continue" message "semantic-grammar-lexer: `%s' block from %S is unterminated"] 9 (#$ . 3142)]) #@47 Run `semantic-grammar-lex' on current buffer. (defalias 'semantic-grammar-lex-buffer #[nil "\302 \210\303\304ed\"r\305\306!q\210\307 \210\310 p\"\210eb\210\311p!*\207" [semantic-lex-analyzer token-stream semantic-lex-init semantic-grammar-lexer semantic-lex get-buffer-create "*semantic-grammar-lex*" erase-buffer pp pop-to-buffer] 3 (#$ . 8543) nil]) #@81 Return expansion of built-in ASSOC expression. ARGS are ASSOC's key value list. (defalias 'semantic-grammar-ASSOC #[(&rest args) "\302\303\304\305 \")B\207" [key args t semantic-tag-make-assoc-list mapcar #[(i) "\203\n \302 D\202 ?\207" [key i quote] 2]] 4 (#$ . 8903)]) #@57 Return non-nil if SYM is bound to the `quote' function. (defalias 'semantic-grammar-quote-p #[(sym) "\3011 \302!\302\303!=0\207\210\304\207" [sym (error) indirect-function quote nil] 3 (#$ . 9186)]) (put 'semantic-grammar-quote-p 'byte-optimizer 'byte-compile-inline-expand) #@61 Return non-nil if SYM is bound to the `backquote' function. (defalias 'semantic-grammar-backquote-p #[(sym) "\3011 \302!\302\303!=0\207\210\304\207" [sym (error) indirect-function backquote nil] 3 (#$ . 9469)]) (put 'semantic-grammar-backquote-p 'byte-optimizer 'byte-compile-inline-expand) #@103 Return the children of tag TAG. Override semantic-tag-components in `semantic-grammar-mode' buffers. (defalias 'semantic-tag-components-semantic-grammar-mode #[(tag) "\302\303\3048) \"*\207" [tag attribute :children plist-get 2] 3 (#$ . 9769)]) (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) #@97 Return the name of the first tag of class CLASS found. Warn if other tags of class CLASS exist. (defalias 'semantic-grammar-first-tag-name #[(class) "\304p!\305\211\203\"