l0_check_liveness::ExpressionLiveness class

Defined in module l0_check_liveness (l0_check_liveness.py).

Expression-only liveness and try-operator inspection.

Public static attributes

static CheckerState state

Protected functions

auto _expr_contains_try(self, Expr expr) -> bool
Check if an expression contains a '?' try operator.
auto _stmt_contains_try(self, Stmt stmt) -> bool
Check if a statement contains a '?' try operator.
auto _check_expr_liveness(self, Expr expr) -> None
Replay only local-variable use checks for an already typed expression.