MCPcopy Index your code
hub / github.com/RustPython/RustPython / AwaitFinder

Class AwaitFinder

crates/codegen/src/symboltable.rs:323–323  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

321fn expr_contains_await(expr: &ast::Expr) -> bool {
322 use ast::visitor::Visitor;
323 struct AwaitFinder(bool);
324 impl ast::visitor::Visitor<'_> for AwaitFinder {
325 fn visit_expr(&mut self, expr: &ast::Expr) {
326 if !self.0 {

Callers 1

expr_contains_awaitFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected