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

Method name_idx

crates/compiler-core/src/bytecode/oparg.rs:932–934  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

930
931 #[must_use]
932 pub const fn name_idx(self) -> u32 {
933 self.0 >> 1
934 }
935
936 #[must_use]
937 pub const fn is_method(self) -> bool {

Callers 6

execute_instructionMethod · 0.80
specialize_load_attrMethod · 0.80
load_attr_slowMethod · 0.80
load_super_attrMethod · 0.80
fmt_disMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected