MCPcopy Create free account
hub / github.com/Houseofmvps/codesight / expr_string

Function expr_string

plugins/ast/python/src/lib.rs:186–192  ·  view source on GitHub ↗
(expression: &Expression)

Source from the content-addressed store, hash-verified

184// ─── helpers ───
185
186fn expr_string(expression: &Expression) -> Option<String> {
187 if let Expression::StringLiteral(StringLiteral { value, .. }) = expression {
188 Some(value.to_string())
189 } else {
190 None
191 }
192}
193
194// ─── routes ───
195

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected