MCPcopy 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
213impl 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

compile_nameMethod · 0.80
compile_statementMethod · 0.80
compile_expressionMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected