MCPcopy Create free account
hub / github.com/astral-sh/ruff / p_id

Method p_id

crates/ruff_python_codegen/src/generator.rs:181–183  ·  view source on GitHub ↗
(&mut self, s: &Identifier)

Source from the content-addressed store, hash-verified

179 }
180
181 fn p_id(&mut self, s: &Identifier) {
182 self.p(s.as_str());
183 }
184
185 fn p_bytes_repr(&mut self, s: &[u8], flags: BytesLiteralFlags) {
186 // raw bytes are interpreted without escapes and should all be ascii (it's a python syntax

Callers 6

unparse_patternMethod · 0.80
unparse_type_paramMethod · 0.80
unparse_exprMethod · 0.80
unparse_parameterMethod · 0.80
unparse_aliasMethod · 0.80

Calls 2

pMethod · 0.80
as_strMethod · 0.45

Tested by

no test coverage detected