| 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/srecode/ |
Upload File : |
;ELC
;;; Compiled
;;; in Emacs version 28.2
;;; with all optimizations.
(byte-code "\300\301!\210\300\302!\210\300\303!\207" [require semantic semantic/tag-ls srecode/dictionary] 2)
#@1440 Calculate the context at the current point.
The returned context is a list, with the top-most context first.
Each returned context is a string that would show up in a `context'
statement in an `.srt' file.
Some useful context values used by the provided srecode templates are:
"file" - Templates that for a file (such as an empty file.)
"empty" - The file is empty
"declaration" - Top-level declarations in a file.
"include" - In or near include statements
"package" - In or near provide statements
"function" - In or near function statements
"NAME" - Near functions within NAME namespace or class
"variable" - In or near variable statements.
"type" - In or near type declarations.
"comment" - In a comment
"classdecl" - Declarations within a class/struct/etc.
"variable" - In or near class fields
"function" - In or near methods/functions
"virtual" - Nearby items are virtual
"pure" - and those virtual items are pure virtual
"type" - In or near type declarations.
"comment" - In a comment in a block of code
-- these items show up at the end of the context list. --
"public", "protected", "private" -
In or near a section of public/protected/private entries.
"code" - In a block of code.
"string" - In a string in a block of code
"comment" - In a comment in a block of code
... More later.
(defalias 'srecode-calculate-context #[0 "\303\211\304\305\306!\304\204\"