%PDF- %PDF-
Direktori : /usr/local/share/emacs/27.2/lisp/cedet/srecode/ |
Current File : //usr/local/share/emacs/27.2/lisp/cedet/srecode/cpp.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\305\306\307\310\311\301%\210\312\313\314\315\311\306\316\317&\207" [require srecode srecode/dictionary srecode/semantic semantic/tag custom-declare-group srecode-cpp nil "C++-specific Semantic Recoder settings." :group custom-declare-variable srecode-cpp-namespaces '("std" "boost") "List expansion candidates for the :using-namespaces argument.\nA dictionary entry of the named PREFIX_NAMESPACE with the value\nNAMESPACE:: is created for each namespace unless the current\nbuffer contains a using NAMESPACE; statement." :type (repeat string)] 8) #@191 Add macros into the dictionary DICT based on the current C file. Adds the following: FILENAME_SYMBOL - filename converted into a C compat symbol. HEADER - Shown section if in a header file. (defalias 'srecode-semantic-handle-:c #[(dict) "\303\304 !\305\306\307 \"\203 \310\n\311\"\210\202 \310\n\312\"\210\313\314\315 #\316\n\317 #*\207" [case-fold-search fsym dict file-name-nondirectory buffer-file-name t string-match "\\.\\(h\\|hh\\|hpp\\|h\\+\\+\\)$" srecode-dictionary-show-section "HEADER" "NOTHEADER" replace-regexp-in-string "[^a-zA-Z0-9_]" "_" srecode-dictionary-set-value "FILENAME_SYMBOL"] 4 (#$ . 1022)]) #@140 Add macros into the dictionary DICT based on the current c file. Calls `srecode-semantic-handle-:c'. Also adds the following: - nothing - (defalias 'srecode-semantic-handle-:cpp #[(dict) "\301!\207" [dict srecode-semantic-handle-:c] 2 (#$ . 1652)]) #@150 Add macros into the dictionary DICT based on used namespaces. Adds the following: PREFIX_NAMESPACE - for each NAMESPACE in `srecode-cpp-namespaces'. (defalias 'srecode-semantic-handle-:using-namespaces #[(dict) "\306\307 !\310\211\203# @\211A@)\311=\203 @B A\211\204 \237*\310\211\205\212 @\312\313\f\226\"\312\314\f\"\315#\210 \310\211\203\201 @\211\316\317\n\320\n8)\"*\321=\203z \n\211@)\f\230\203z \315\322#\210 A\211\204P , A\211\204/ \310+\207" [result tags tag srecode-cpp-namespaces name --dolist-tail-- semantic-something-to-tag-table semantic-fetch-tags nil using format "PREFIX_%s" "%s::" srecode-dictionary-set-value :kind plist-get 2 namespace "" prefix variable dict attribute] 5 (#$ . 1910)]) #@486 Apply C and C++ specific features from TAG-WRAPPER into DICT. Calls `srecode-semantic-apply-tag-to-dict-default' first. Adds special behavior for tag of classes include, using and function. This function cannot be split into C and C++ specific variants, as the way the tags are created from the parser does not distinguish either. The side effect is that you could get some C++ tag properties specified in a C file. Override srecode-semantic-apply-tag-to-dict in `c-mode' buffers. (defalias 'srecode-semantic-apply-tag-to-dict-c-mode #[(tag-wrapper dict) "\306 \"\210\307\310\"\211\211A@)\211\311\267\202V\n\211\312\313\n\314\n8)\f\"+\2031 \315 \316\"\202W\315 \317\"\202W\n\320\313\n\314\n8)\f\"*\321 \322\",\323\324,\211@)\325,# \"\210*\n\326\313\n\314\n8)\f\"*\327=\205W\315 \330\"\202W\331\n\332\313\n\314\n8)\f\"*\n\211\333\313\n\314\n8)\f\"+-./\n\211\334\313\n\314\n8)\f\"+\203\264 \315 \335\"\210\n\211\336\313\n\314\n8)\f\"+\203\314 \315 \337\"\210-\3400\2111\203\364 1@0\321 \341\"2\3422\3430#\210)1A\2111\204\327 *\344 .\"\210/\205+\n\345\313\n\314\n8)\f\"*\203\315 \346\"\210\n\347\313\n\314\n8)\f\"*\205+\315 \350\"+\202W\351\n\352\"\204=\351\n\353\"\205W\n\332\313\n\314\n8)\f\"*.\344 .\")\202W\340*\207" [tag-wrapper dict tag class attribute value-dict srecode-semantic-apply-tag-to-dict-default eieio-oref prime #s(hash-table size 4 test eq rehash-size 1.5 rehash-threshold 0.8125 purecopy t data (include 23 using 56 function 119 type 303)) :system-flag plist-get 2 srecode-dictionary-show-section "SYSTEM" "LOCAL" :value srecode-dictionary-add-section-dictionary "VALUE" srecode-semantic-apply-tag-to-dict srecode-semantic-tag :prime :kind namespace "NAMESPACE" t :template :typemodifiers :constructor-flag "CONSTRUCTOR" :destructor-flag "DESTRUCTOR" nil "MODIFIERS" srecode-dictionary-set-value "NAME" srecode-c-apply-templates :methodconst-flag "CONST" :pure-virtual-flag "PURE" semantic-tag-of-type-p "class" "struct" value-tag modifiers templates member modifier --dolist-tail-- modifier-dict] 6 (#$ . 2669)]) (byte-code "\300\301\302\303#\210\304\305\306\307#\207" [put srecode-semantic-apply-tag-to-dict-c-mode definition-name srecode-semantic-apply-tag-to-dict mode-local-bind ((srecode-semantic-apply-tag-to-dict . srecode-semantic-apply-tag-to-dict-c-mode)) (override-flag t) c-mode] 4) #@49 Add section dictionaries for TEMPLATES to DICT. (defalias 'srecode-c-apply-templates #[(dict templates) "\2051 \306 \307\"\310\211\2050 \f@\306\n\311\"\312\313\211 @)\314# \"\210)\fA\211\204 \310+\207" [templates dict templates-dict template --dolist-tail-- template-dict srecode-dictionary-add-section-dictionary "TEMPLATES" nil "ARGS" srecode-semantic-apply-tag-to-dict srecode-semantic-tag :prime tag] 6 (#$ . 5066)]) (provide 'srecode/cpp)