Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/RustPython/RustPython
/ in_func
Method
in_func
crates/codegen/src/compile.rs:214–216 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
212
213
impl CompileContext {
214
fn in_func(self) -> bool {
215
self.func != FunctionContext::NoFunction
216
}
217
}
218
219
/// Segment of a parsed %-format string for optimize_format_str.
Callers
6
can_optimize_super_call
Method · 0.80
is_inlined_comprehension_context
Method · 0.80
compile_name
Method · 0.80
compile_statement
Method · 0.80
compile_annotated_assign
Method · 0.80
compile_expression
Method · 0.80
Calls
no outgoing calls
Tested by
no test coverage detected