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

Method compile_statements

crates/codegen/src/compile.rs:1989–1994  ·  view source on GitHub ↗
(&mut self, statements: &[ast::Stmt])

Source from the content-addressed store, hash-verified

1987 }
1988
1989 fn compile_statements(&mut self, statements: &[ast::Stmt]) -> CompileResult<()> {
1990 for statement in statements {
1991 self.compile_statement(statement)?
1992 }
1993 Ok(())
1994 }
1995
1996 fn load_name(&mut self, name: &str) -> CompileResult<()> {
1997 self.compile_name(name, NameUsage::Load)

Callers 14

unwind_fblock_stackMethod · 0.80
compile_programMethod · 0.80
compile_block_exprMethod · 0.80
compile_try_statementMethod · 0.80
compile_function_bodyMethod · 0.80
compile_class_bodyMethod · 0.80
compile_ifMethod · 0.80
compile_whileMethod · 0.80
compile_withMethod · 0.80
compile_forMethod · 0.80

Calls 1

compile_statementMethod · 0.80

Tested by

no test coverage detected