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

Method range

crates/sith_python_parser/src/string.rs:18–24  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

16
17impl Ranged for StringType {
18 fn range(&self) -> TextRange {
19 match self {
20 Self::Str(node) => node.range(),
21 Self::Bytes(node) => node.range(),
22 Self::FString(node) => node.range(),
23 }
24 }
25}
26
27impl From<StringType> for Expr {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected