Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/astral-sh/ruff
/ p_delim
Method
p_delim
crates/ruff_python_codegen/src/generator.rs:234–236 ·
view source on GitHub ↗
(&mut self, first: &mut bool, s: &str)
Source
from the content-addressed store, hash-verified
232
}
233
234
fn p_delim(&mut self, first: &mut bool, s: &str) {
235
self.p_if(!std::mem::take(first), s);
236
}
237
238
pub(crate) fn generate(self) -> String {
239
self.buffer
Callers
7
unparse_pattern
Method · 0.80
unparse_type_params
Method · 0.80
unparse_expr
Method · 0.80
unparse_parameters
Method · 0.80
unparse_string_literal_value
Method · 0.80
unparse_f_string_value
Method · 0.80
unparse_t_string_value
Method · 0.80
Calls
1
p_if
Method · 0.80
Tested by
no test coverage detected