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

Function print_node

graphlite/src/ast/pretty_printer.rs:337–350  ·  view source on GitHub ↗
(node: &Node, indent: usize)

Source from the content-addressed store, hash-verified

335}
336
337fn print_node(node: &Node, indent: usize) {
338 if let Some(identifier) = &node.identifier {
339 debug!("{}Identifier: {}", get_indent(indent), identifier);
340 }
341
342 if !node.labels.is_empty() {
343 debug!("{}Labels: [{}]", get_indent(indent), node.labels.join(", "));
344 }
345
346 if let Some(properties) = &node.properties {
347 debug!("{}Properties", get_indent(indent));
348 print_property_map(properties, indent + 1);
349 }
350}
351
352fn print_edge(edge: &Edge, indent: usize) {
353 if let Some(identifier) = &edge.identifier {

Callers 1

print_path_patternFunction · 0.85

Calls 2

print_property_mapFunction · 0.85
is_emptyMethod · 0.45

Tested by

no test coverage detected