--- source: crates/ruff_python_parser/tests/fixtures.rs input_file: crates/ruff_python_parser/resources/inline/ok/nonlocal_stmt.py --- ## AST ``` Module( ModModule { node_index: AtomicNodeIndex(..), range: 0..45, body: [ FunctionDef( StmtFunctionDef { node_index: AtomicNodeIndex(..), range: 0..44, is_async: false, decorator_list: [], name: Identifier { id: Name("_"), range: 4..5, node_index: AtomicNodeIndex(..), }, type_params: None, parameters: Parameters { range: 5..7, node_index: AtomicNodeIndex( 0, ), posonlyargs: [], args: [], vararg: None, kwonlyargs: [], kwarg: None, }, returns: None, body: [ Nonlocal( StmtNonlocal { node_index: AtomicNodeIndex(..), range: 13..23, names: [ Identifier { id: Name("x"), range: 22..23, node_index: AtomicNodeIndex(..), }, ], }, ), Nonlocal( StmtNonlocal { node_index: AtomicNodeIndex(..), range: 28..44, names: [ Identifier { id: Name("x"), range: 37..38, node_index: AtomicNodeIndex(..), }, Identifier { id: Name("y"), range: 40..41, node_index: AtomicNodeIndex(..), }, Identifier { id: Name("z"), range: 43..44, node_index: AtomicNodeIndex(..), }, ], }, ), ], }, ), ], }, ) ```