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

Method compile_bool_op

crates/codegen/src/compile.rs:7480–7482  ·  view source on GitHub ↗

Compile a boolean operation as an expression. This means, that the last value remains on the stack.

(&mut self, op: &ast::BoolOp, values: &[ast::Expr])

Source from the content-addressed store, hash-verified

7478 /// Compile a boolean operation as an expression.
7479 /// This means, that the last value remains on the stack.
7480 fn compile_bool_op(&mut self, op: &ast::BoolOp, values: &[ast::Expr]) -> CompileResult<()> {
7481 self.compile_bool_op_with_target(op, values, None)
7482 }
7483
7484 /// Compile a boolean operation as an expression, with an optional
7485 /// short-circuit target override. When `short_circuit_target` is `Some`,

Callers 1

compile_expressionMethod · 0.80

Calls 1

Tested by

no test coverage detected