sun::semantic_analysis::passes::BodyAnalysisPass

sun::semantic_analysis::passes::BodyAnalysisPass

class · Source (opens in a new tab)

class sun::semantic_analysis::passes::BodyAnalysisPass

Check source bodies after imported bundles have been prepared.

Public Functions

BodyAnalysisPass

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

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

Borrow the analysis session's analyzer.

Related: SemanticAnalyzer

run

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

void sun::semantic_analysis::passes::BodyAnalysisPass::run(sun::ast::BlockExprAST &block) const

Check source bodies after imported bundles have been prepared.

Related: sun::ast::BlockExprAST

Private Functions

getSourceRoots

private · function · static · Source (opens in a new tab)

std::vector< ExprAST * > sun::semantic_analysis::passes::BodyAnalysisPass::getSourceRoots(const sun::ast::BlockExprAST &block)

Borrow source roots, including the bundle being built, excluding imports.

Related: sun::ast::ExprAST, sun::ast::BlockExprAST

Private Fields

analyzer_

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

SemanticAnalyzer& sun::semantic_analysis::passes::BodyAnalysisPass::analyzer_

No documentation comment.

Related: SemanticAnalyzer