slang::analysis::PendingAnalysis class

Represents a pending analysis for a particular AST symbol, such as a module or interface instance, a class type, etc.

Constructors, destructors, conversion operators

PendingAnalysis(AnalysisManager& analysisManager, const ast::Symbol& symbol)
Constructs a new AnalyzedInstance object.

Public functions

auto tryGet() const -> const AnalyzedScope*
Returns the analyzed body of the symbol if available, or nullptr if the symbol has not been analyzed yet.

Public variables

not_null<const ast::Symbol*> symbol
The symbol that was analyzed.