MCPcopy Create free account
hub / github.com/LaBatata101/sith-language-server / PatternMatchSingleton

Class PatternMatchSingleton

crates/sith_python_ast/src/nodes.rs:2910–2913  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2908/// See also [MatchSingleton](https://docs.python.org/3/library/ast.html#ast.MatchSingleton)
2909#[derive(Clone, Debug, PartialEq, Eq, Hash)]
2910pub struct PatternMatchSingleton {
2911 pub range: TextRange,
2912 pub value: Singleton,
2913}
2914
2915impl From<PatternMatchSingleton> for Pattern {
2916 fn from(payload: PatternMatchSingleton) -> Self {

Callers 2

as_refMethod · 0.85
fromMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected