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, *Optional[str] module_name, Optional[str] filename, Optional[Node] node)- Create aDiagnosticfrom an AST node.diag_from_token:Diagnostic l0_diagnostics.diag_from_token(str kind, str message, *Optional[str] module_name, Optional[str] filename, Optional["Token"] token)- Create aDiagnosticfrom a lexer token.