compiler/stage2_l0/src/analysis.l0

Module analysis

Overview Symbols grouped by source file: compiler/stage2_l0/src/analysis.l0

Module: analysis

Source: compiler/stage2_l0/src/analysis.l0 Language: Dea/L0

Imports / Includes

  • name_resolver
  • std.string
  • std.hashmap
  • std.vector
  • util.diag
  • driver
  • types
  • expr_types
  • locals
  • sem_context
  • util.log
  • std.text
  • signatures
  • source_paths

Symbols

Function analysis_copy_driver_diags

func analysis_copy_driver_diags(dst: DiagCollector*, src: DriverState*)

Copies diagnostic messages from the driver state to a diagnostic collector.

Parameters:

  • dst: The destination diagnostic collector.
  • src: The source driver state containing diagnostics.

Function analysis_signature_summary

func analysis_signature_summary(sigs: SignatureTables*) -> string

Format the Stage 1-style signature-resolution summary text.

Parameters:

  • sigs: Resolved signature tables.

Returns: Summary string for verbose logging.

Function analysis_analyze_entry

func analysis_analyze_entry(search_paths: SourceSearchPaths*, entry_module: string, cfg: LogConfig*) -> AnalysisResult*

Analyzes the entry module and its dependencies.

Parameters:

  • search_paths: The source search paths configuration.
  • entry_module: The name of the entry module.
  • cfg: The logging configuration.

Returns: The complete analysis result including semantic context.