compiler/stage1_py/l0_diagnostics.py
Module l0_diagnostics
Overview Symbols grouped by source file: compiler/stage1_py/l0_diagnostics.py
Source: compiler/stage1_py/l0_diagnostics.py Language: Python
Module Members
DIAGNOSTIC_CODE_FAMILIES:dict l0_diagnostics.DIAGNOSTIC_CODE_FAMILIESdiag_from_node:Diagnostic l0_diagnostics.diag_from_node(str kind, str message, *str|None module_name, str|None filename, Node|None node)- Create aDiagnosticfrom an AST node.diag_from_token:Diagnostic l0_diagnostics.diag_from_token(str kind, str message, *str|None module_name, str|None filename, "Token | None" token)- Create aDiagnosticfrom a lexer token.