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

Source from the content-addressed store, hash-verified

551 }
552
553 pub(super) fn parse_missing_name(&mut self) -> ast::ExprName {
554 let identifier = self.parse_missing_identifier();
555
556 ast::ExprName {
557 range: identifier.range,
558 id: identifier.id,
559 ctx: ExprContext::Invalid,
560 node_index: AtomicNodeIndex::NONE,
561 }
562 }
563
564 /// Parses an identifier.
565 ///

Callers 1

parse_decoratorsMethod · 0.80

Calls 1

Tested by

no test coverage detected