File: semantic.el.html
API for providing the semantic content of a buffer.
The Semantic API provides an interface to a series of different parser implementations. Each parser outputs a parse tree in a similar format designed to handle typical functional and object oriented languages.
To enable Semantic, turn on semantic-mode(var)/semantic-mode(fun), a global minor mode
(M-x semantic-mode RET, or "Source Code Parsers" from the Tools
menu). To enable it at startup, put (semantic-mode 1) in your init
file.
Defined variables (31)
semantic--before-fetch-tags-hook | Hooks run before a buffer is parsed for tags. |
semantic--buffer-cache | A cache of the fully parsed buffer. |
semantic--completion-cache | Internal variable used by ‘semantic-complete-symbol’. |
semantic--parse-table | Variable that defines how to parse top level items in a buffer. |
semantic-after-toplevel-cache-change-hook | Hooks run after the buffer tag list has changed. |
semantic-before-toplevel-cache-flush-hook | Hooks run before the toplevel tag cache is flushed. |
semantic-case-fold | Value for ‘case-fold-search’ when parsing. |
semantic-default-submodes | List of auxiliary Semantic minor modes enabled by ‘semantic-mode’. |
semantic-dump-parse | When non-nil, dump parsing information. |
semantic-edebug | When non-nil, activate the interactive parsing debugger. |
semantic-edits-are-safe | When non-nil, modifications do not require a reparse. |
semantic-inhibit-functions | List of functions to call with no arguments before Semantic is setup. |
semantic-init-db-hook | Hook run when a buffer is initialized with a parsing table for DBs. |
semantic-init-hook | Hook run when a buffer is initialized with a parsing table. |
semantic-init-mode-hook | Hook run when a buffer of a particular mode is initialized. |
semantic-load-system-cache-loaded | Non-nil when the Semantic system caches have been loaded. |
semantic-minimum-working-buffer-size | The minimum size of a buffer before working messages are displayed. |
semantic-mode | Non-nil if Semantic mode is enabled. |
semantic-mode-hook | Hook run after entering or leaving ‘semantic-mode’. |
semantic-new-buffer-setup-functions | Alist of functions to call to set up Semantic parsing in the buffer. |
semantic-parse-tree-state | State of the current parse tree. |
semantic-parser-name | Optional name of the parser used to parse input stream. |
semantic-parser-warnings | A list of parser warnings since the last full reparse. |
semantic-submode-list | List of auxiliary minor modes in the Semantic package. |
semantic-symbol->name-assoc-list | Association between symbols returned, and a string. |
semantic-symbol->name-assoc-list-for-type-parts | Like ‘semantic-symbol->name-assoc-list’ for type parts. |
semantic-unmatched-syntax-cache | A cached copy of unmatched syntax tokens. |
semantic-unmatched-syntax-cache-check | Non-nil if the unmatched syntax cache is out of date. |
semantic-unmatched-syntax-hook | Hooks run when Semantic detects syntax not matched in a grammar. |
semantic-version | Current version of Semantic. |
semantic-working-type | The type of working message to use when parsing. |