no-mistakes-postgres-engine 0.109.130

PostgreSQL embedded SQL extraction, schema catalog, and replay-safety analysis for no-mistakes
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
use super::{resolve, ScopeVisitor};
use oxc_ast::ast::ForInStatement;
use oxc_ast_visit::walk;

pub(super) fn for_in_statement<'a>(visitor: &mut ScopeVisitor<'a>, statement: &ForInStatement<'a>) {
    visitor.push_scope();
    resolve::bind_for_statement_left(&statement.left, visitor);
    visitor.with_append_loop(statement.span.start, |visitor| {
        walk::walk_for_in_statement(visitor, statement)
    });
    visitor.pop_scope();
}