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:486–495  ·  view source on GitHub ↗
(&mut self)

Source from the content-addressed store, hash-verified

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

Callers 1

parse_decoratorsMethod · 0.80

Calls 1

Tested by

no test coverage detected