Next: , Previous: , Up: Semantic Internals   [Contents][Index]
3.4 Analyzer Internals  The Semantic analyzer is a complex
engine which has been broken down across several modules. When
the Semantic analyzer fails, start with semantic-analyze-debug-
assist, then dive into some of these files.   The core analyzer
for defining the current context. The current context is an
object that contains references to aspects of the local context
including the current prefix, and a tag list defining what the
prefix means.   Provides semantic-analyze-possible-completions.
The analyzer debugger. Useful when attempting to get everything
configured.   Various support functions needed by the analyzer.
Local context parser. Contains overloadable functions used to
move around through different scopes, get local variables, and
collect the current prefix used when doing completion.
Calculate scope for a location in a buffer. The scope includes
local variables, and tag lists in scope for various reasons,
such as C++ using stat