l0_check_liveness.py

l0_check_liveness.py

Module: l0_check_liveness

Source: compiler/stage1_py/l0_check_liveness.py Language: Python

Symbols

Namespace l0_check_liveness

Class l0_check_liveness::ExpressionLiveness

Expression-only liveness and try-operator inspection.

Member Data l0_check_liveness.ExpressionLiveness.state

1
CheckerState state

Function l0_check_liveness.ExpressionLiveness._expr_contains_try

1
bool l0_check_liveness.ExpressionLiveness._expr_contains_try(self, Expr expr)

Check if an expression contains a ‘?’ try operator.

Function l0_check_liveness.ExpressionLiveness._stmt_contains_try

1
bool l0_check_liveness.ExpressionLiveness._stmt_contains_try(self, Stmt stmt)

Check if a statement contains a ‘?’ try operator.

Function l0_check_liveness.ExpressionLiveness._check_expr_liveness

1
None l0_check_liveness.ExpressionLiveness._check_expr_liveness(self, Expr expr)

Replay only local-variable use checks for an already typed expression.