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

Function print_yield_clause

graphlite/src/ast/pretty_printer.rs:281–301  ·  view source on GitHub ↗
(yield_clause: &YieldClause, indent: usize)

Source from the content-addressed store, hash-verified

279}
280
281fn print_yield_clause(yield_clause: &YieldClause, indent: usize) {
282 debug!(
283 "{}Yield Items ({})",
284 get_indent(indent),
285 yield_clause.items.len()
286 );
287
288 for (i, item) in yield_clause.items.iter().enumerate() {
289 debug!(
290 "{}Item {}: {}{}",
291 get_indent(indent + 1),
292 i,
293 item.column_name,
294 if let Some(alias) = &item.alias {
295 format!(" AS {}", alias)
296 } else {
297 String::new()
298 }
299 );
300 }
301}
302
303fn print_match_clause(match_clause: &MatchClause, indent: usize) {
304 debug!(

Callers 1

print_call_statementFunction · 0.85

Calls 1

iterMethod · 0.45

Tested by

no test coverage detected