MCPcopy Create free account
hub / github.com/GraphLite-AI/GraphLite / print_match_clause

Function print_match_clause

graphlite/src/ast/pretty_printer.rs:303–314  ·  view source on GitHub ↗
(match_clause: &MatchClause, indent: usize)

Source from the content-addressed store, hash-verified

301}
302
303fn print_match_clause(match_clause: &MatchClause, indent: usize) {
304 debug!(
305 "{}Patterns ({})",
306 get_indent(indent),
307 match_clause.patterns.len()
308 );
309
310 for (i, pattern) in match_clause.patterns.iter().enumerate() {
311 debug!("{}PathPattern {}", get_indent(indent + 1), i);
312 print_path_pattern(pattern, indent + 2);
313 }
314}
315
316fn print_path_pattern(path_pattern: &PathPattern, indent: usize) {
317 debug!(

Callers 2

print_basic_queryFunction · 0.85

Calls 2

print_path_patternFunction · 0.85
iterMethod · 0.45

Tested by

no test coverage detected