MCPcopy Create free account
hub / github.com/Pometry/Raphtory / parse_variable

Function parse_variable

raphtory-cypher/src/parser/mod.rs:258–260  ·  view source on GitHub ↗
(pair: Pair<Rule>)

Source from the content-addressed store, hash-verified

256}
257
258pub fn parse_variable(pair: Pair<Rule>) -> Result<String, ParseError> {
259 Ok(pair.as_str().to_string())
260}
261
262lazy_static::lazy_static! {
263 static ref PRATT_PARSER: PrattParser<Rule> = {

Callers 4

parse_return_itemFunction · 0.85
parse_pattern_partFunction · 0.85
parse_rel_detailFunction · 0.85
parse_node_patternFunction · 0.85

Calls 2

to_stringMethod · 0.80
as_strMethod · 0.45

Tested by

no test coverage detected