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-hookHooks run before a buffer is parsed for tags.
semantic--buffer-cacheA cache of the fully parsed buffer.
semantic--completion-cacheInternal variable used by ‘semantic-complete-symbol’.
semantic--parse-tableVariable that defines how to parse top level items in a buffer.
semantic-after-toplevel-cache-change-hookHooks run after the buffer tag list has changed.
semantic-before-toplevel-cache-flush-hookHooks run before the toplevel tag cache is flushed.
semantic-case-foldValue for ‘case-fold-search’ when parsing.
semantic-default-submodesList of auxiliary Semantic minor modes enabled by ‘semantic-mode’.
semantic-dump-parseWhen non-nil, dump parsing information.
semantic-edebugWhen non-nil, activate the interactive parsing debugger.
semantic-edits-are-safeWhen non-nil, modifications do not require a reparse.
semantic-inhibit-functionsList of functions to call with no arguments before Semantic is setup.
semantic-init-db-hookHook run when a buffer is initialized with a parsing table for DBs.
semantic-init-hookHook run when a buffer is initialized with a parsing table.
semantic-init-mode-hookHook run when a buffer of a particular mode is initialized.
semantic-load-system-cache-loadedNon-nil when the Semantic system caches have been loaded.
semantic-minimum-working-buffer-sizeThe minimum size of a buffer before working messages are displayed.
semantic-modeNon-nil if Semantic mode is enabled.
semantic-mode-hookHook run after entering or leaving ‘semantic-mode’.
semantic-new-buffer-setup-functionsAlist of functions to call to set up Semantic parsing in the buffer.
semantic-parse-tree-stateState of the current parse tree.
semantic-parser-nameOptional name of the parser used to parse input stream.
semantic-parser-warningsA list of parser warnings since the last full reparse.
semantic-submode-listList of auxiliary minor modes in the Semantic package.
semantic-symbol->name-assoc-listAssociation between symbols returned, and a string.
semantic-symbol->name-assoc-list-for-type-partsLike ‘semantic-symbol->name-assoc-list’ for type parts.
semantic-unmatched-syntax-cacheA cached copy of unmatched syntax tokens.
semantic-unmatched-syntax-cache-checkNon-nil if the unmatched syntax cache is out of date.
semantic-unmatched-syntax-hookHooks run when Semantic detects syntax not matched in a grammar.
semantic-versionCurrent version of Semantic.
semantic-working-typeThe type of working message to use when parsing.

Defined functions (35)

bovinate(&optional CLEAR)
semantic--set-buffer-cache(TAGTABLE)
semantic--umatched-syntax-needs-refresh-p()
semantic-bovinate-from-nonterminal(START END NONTERM &optional DEPTH LENGTH)
semantic-clear-parser-warnings()
semantic-clear-toplevel-cache()
semantic-clear-unmatched-syntax-cache()
semantic-dump-parser-warnings()
semantic-elapsed-time(START END)
semantic-error-if-unparsed()
semantic-fetch-available-tags()
semantic-fetch-tags()
semantic-fetch-tags-fast()
semantic-force-refresh()
semantic-mode(&optional ARG)
semantic-new-buffer-fcn()
semantic-parse-changes()
semantic-parse-region(START END &optional NONTERMINAL DEPTH RETURNONERROR)
semantic-parse-region-default(START END &optional NONTERMINAL DEPTH RETURNONERROR)
semantic-parse-stream(STREAM NONTERMINAL)
semantic-parse-tree-needs-rebuild-p()
semantic-parse-tree-needs-update-p()
semantic-parse-tree-set-needs-rebuild()
semantic-parse-tree-set-needs-update()
semantic-parse-tree-set-up-to-date()
semantic-parse-tree-unparseable()
semantic-parse-tree-unparseable-p()
semantic-parse-tree-up-to-date-p()
semantic-parser-working-message(&optional ARG)
semantic-push-parser-warning(WARNING START END)
semantic-refresh-tags-safe()
semantic-repeat-parse-whole-stream(STREAM NONTERM &optional RETURNONERROR)
semantic-require-version(MAJOR MINOR &optional BETA)
semantic-set-unmatched-syntax-cache(UNMATCHED-SYNTAX)
semantic-unmatched-syntax-tokens()

Defined faces (0)