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

Method current_code_info

crates/codegen/src/compile.rs:9594–9596  ·  view source on GitHub ↗
(&mut self)

Source from the content-addressed store, hash-verified

9592 }
9593
9594 fn current_code_info(&mut self) -> &mut ir::CodeInfo {
9595 self.code_stack.last_mut().expect("no code on stack")
9596 }
9597
9598 /// Evaluate whether an expression is a compile-time constant boolean.
9599 /// Returns Some(true) for truthy constants, Some(false) for falsy constants,

Callers 15

push_fblock_fullMethod · 0.80
pop_fblockMethod · 0.80
unwind_fblock_stackMethod · 0.80
_name_innerMethod · 0.80
set_qualnameMethod · 0.80
make_qualnameMethod · 0.80
compile_programMethod · 0.80
compile_nameMethod · 0.80
compile_statementMethod · 0.80
enter_functionMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected