MCPcopy Create free account
hub / github.com/RustPython/RustPython / leave_conditional_block

Method leave_conditional_block

crates/codegen/src/compile.rs:9643–9647  ·  view source on GitHub ↗

Leave a conditional block

(&mut self)

Source from the content-addressed store, hash-verified

9641
9642 /// Leave a conditional block
9643 fn leave_conditional_block(&mut self) {
9644 let code_info = self.current_code_info();
9645 debug_assert!(code_info.in_conditional_block > 0);
9646 code_info.in_conditional_block -= 1;
9647 }
9648
9649 /// Compile break or continue statement with proper fblock cleanup.
9650 /// compiler_break, compiler_continue

Callers 5

compile_statementMethod · 0.80
compile_whileMethod · 0.80
compile_withMethod · 0.80
compile_forMethod · 0.80
compile_matchMethod · 0.80

Calls 1

current_code_infoMethod · 0.80

Tested by

no test coverage detected