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

Method pseudo

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

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

(self)

Source from the content-addressed store, hash-verified

1593
1594 /// Gets the inner value of [`Self::Pseudo`].
1595 pub const fn pseudo(self) -> Option<PseudoInstruction> {
1596 match self {
1597 Self::Pseudo(ins) => Some(ins),
1598 _ => None,
1599 }
1600 }
1601
1602 /// Same as [`Self::real`] but panics if wasn't called on [`Self::Real`].
1603 ///

Callers 3

max_stackdepthMethod · 0.80
convert_pseudo_opsFunction · 0.80
expect_pseudoMethod · 0.80

Calls 1

SomeClass · 0.50

Tested by

no test coverage detected