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

Method real

crates/compiler-core/src/bytecode/instruction.rs:1587–1592  ·  view source on GitHub ↗

Gets the inner value of [`Self::Real`].

(self)

Source from the content-addressed store, hash-verified

1585impl AnyInstruction {
1586 /// Gets the inner value of [`Self::Real`].
1587 pub const fn real(self) -> Option<Instruction> {
1588 match self {
1589 Self::Real(ins) => Some(ins),
1590 _ => None,
1591 }
1592 }
1593
1594 /// Gets the inner value of [`Self::Pseudo`].
1595 pub const fn pseudo(self) -> Option<PseudoInstruction> {

Callers 15

stack_effectFunction · 0.45
fold_unary_negativeMethod · 0.45
fold_binop_constantsMethod · 0.45
get_const_value_fromMethod · 0.45
fold_tuple_constantsMethod · 0.45
fold_list_constantsMethod · 0.45
fold_set_constantsMethod · 0.45
peephole_optimizeMethod · 0.45
remove_unused_constsMethod · 0.45

Calls 1

SomeClass · 0.50

Tested by

no test coverage detected