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

Method parse_missing_name

crates/ruff_python_parser/src/parser/expression.rs:485–494  ·  view source on GitHub ↗
(&mut self)

Source from the content-addressed store, hash-verified

483 }
484
485 pub(super) fn parse_missing_name(&mut self) -> ast::ExprName {
486 let identifier = self.parse_missing_identifier();
487
488 ast::ExprName {
489 range: identifier.range,
490 id: identifier.id,
491 ctx: ExprContext::Invalid,
492 node_index: AtomicNodeIndex::NONE,
493 }
494 }
495
496 /// Parses an identifier.
497 ///

Callers 1

parse_decoratorsMethod · 0.80

Calls 1

Tested by

no test coverage detected