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

Method pattern

crates/ruff_python_formatter/src/pattern/mod.rs:398–403  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

396 }
397
398 fn pattern(self) -> Option<&'a Pattern> {
399 match self {
400 First::None | First::Token => None,
401 First::Pattern(pattern) => Some(pattern),
402 }
403 }
404}

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected