compiler/stage1_py/l0_cli_diagnostics.py
Module l0_cli_diagnostics
Overview Symbols grouped by source file: compiler/stage1_py/l0_cli_diagnostics.py
Source: compiler/stage1_py/l0_cli_diagnostics.py Language: Python
Module Members
_load_file_lines:list[str] l0_cli_diagnostics._load_file_lines(str path, dict[str, list[str]] cache)- Load lines of a source file, using a cache to avoid redundant reads._emit_diagnostic:None l0_cli_diagnostics._emit_diagnostic(str message)- Write one normative compiler diagnostic line to standard error.print_diagnostics:None l0_cli_diagnostics.print_diagnostics(AnalysisResult result)- Print diagnostics from the analysis result.print_diagnostic_list:None l0_cli_diagnostics.print_diagnostic_list(list[Diagnostic] diagnostics)- Print a list of diagnostics, using a file cache for source snippets.print_diagnostic_with_snippet:None l0_cli_diagnostics.print_diagnostic_with_snippet(Diagnostic diag, dict[str, list[str]] file_cache)- Print a single diagnostic, including the source line and a caret.