DiagnosticStage

class DiagnosticStage(value)[source]

Bases: Enum

Pipeline stage that produced a diagnostic.

Matches the stages described in the architecture document so that a diagnostic message can be traced to its origin without reading source.

LOAD = 'load'
AST_PASS = 'ast_pass'
SYMBOL_TABLE = 'symbol_table'
ALIAS = 'alias'
RESOLVE = 'resolve'
EMIT = 'emit'
IMPORT = 'import'
GENERATOR = 'generator'

See also

Public API reference — overview of all public names.