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

Method from

crates/sith_python_parser/src/string.rs:28–34  ·  view source on GitHub ↗
(string: StringType)

Source from the content-addressed store, hash-verified

26
27impl From<StringType> for Expr {
28 fn from(string: StringType) -> Self {
29 match string {
30 StringType::Str(node) => Expr::from(node),
31 StringType::Bytes(node) => Expr::from(node),
32 StringType::FString(node) => Expr::from(node),
33 }
34 }
35}
36
37enum EscapedChar {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected