Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/RustPython/RustPython
/ is_empty
Method
is_empty
crates/codegen/src/symboltable.rs:459–461 ·
view source on GitHub ↗
(&self)
Source
from the content-addressed store, hash-verified
457
self.v.len()
458
}
459
pub fn is_empty(&self) -> bool {
460
self.len() == 0
461
}
462
463
pub fn as_ref(&self) -> &[&T] {
464
unsafe { &*(self.v.as_slice() as *const [NonNull<T>] as *const [&T]) }
Callers
15
analyze_symbol
Method · 0.45
found_in_inner_scope
Method · 0.45
unparse_expr
Method · 0.45
unparse_arguments
Method · 0.45
can_optimize_super_call
Method · 0.45
enter_scope
Method · 0.45
compile_statement
Method · 0.45
compile_try_statement
Method · 0.45
compile_try_star_except
Method · 0.45
compile_default_arguments
Method · 0.45
compile_function_body
Method · 0.45
compile_module_annotate
Method · 0.45
Calls
1
len
Method · 0.45
Tested by
no test coverage detected