sun::semantic_analysis::passes::ImportCompletionPass

sun::semantic_analysis::passes::ImportCompletionPass

class · Source (opens in a new tab)

class sun::semantic_analysis::passes::ImportCompletionPass

Complete imported interfaces, enums, and bindings without checking compiled bodies.

Public Functions

ImportCompletionPass

public · function · Source (opens in a new tab)

sun::semantic_analysis::passes::ImportCompletionPass::ImportCompletionPass(SemanticAnalyzer &analyzer)

Borrow the analysis session's analyzer.

Related: SemanticAnalyzer

run

public · function · Source (opens in a new tab)

void sun::semantic_analysis::passes::ImportCompletionPass::run(const std::vector< sun::ast::MoonScopeAST * > &imports) const

Complete imported interfaces, enums, and bindings without checking compiled bodies.

Borrows imported scopes without changing AST ownership or loading files.

Related: sun::ast::MoonScopeAST

Private Fields

analyzer_

private · variable · Source (opens in a new tab)

SemanticAnalyzer& sun::semantic_analysis::passes::ImportCompletionPass::analyzer_

No documentation comment.

Related: SemanticAnalyzer