slang::analysis::AnalysisContext class

Holds various bits of state needed to perform analysis.

Constructors, destructors, conversion operators

AnalysisContext(AnalysisManager& manager) explicit
Constructs a new AnalysisContext object.

Public functions

Diagnostic& addDiag(const ast::Symbol& symbol, DiagCode code, SourceLocation location)
Issues a new diagnostic.
Diagnostic& addDiag(const ast::Symbol& symbol, DiagCode code, SourceRange sourceRange)
Issues a new diagnostic.

Public variables

not_null<AnalysisManager*> manager
The analysis manager that owns this context.
BumpAllocator alloc
An allocator used for analysis-specific data structures.
Diagnostics diagnostics
Diagnostics collected during analysis.
TaggedLSPMap::allocator_type taggedLSPAlloc
An allocator for LSP interval maps that contain a tag bit.