MCPcopy Create free account
hub / github.com/colbymchenry/codegraph / visit_node

Method visit_node

codegraph-kernel/src/ccpp/mod.rs:1085–1091  ·  view source on GitHub ↗
(&mut self, node: Node<'t>)

Source from the content-addressed store, hash-verified

1083 // --- visitNode -----------------------------------------------------------
1084
1085 fn visit_node(&mut self, node: Node<'t>) {
1086 if self.brace_scopes.is_some() {
1087 self.visit_in_brace_scope(node);
1088 } else {
1089 self.dispatch_node(node);
1090 }
1091 }
1092
1093 /// visitInCppBraceScope: walk `node` in the namespaces and classes its
1094 /// source braces put it in (see brace_scopes.rs). The namespaces apply

Callers 7

extractFunction · 0.45
dispatch_nodeMethod · 0.45
extract_classMethod · 0.45
extract_aggregateMethod · 0.45
extract_enumMethod · 0.45
extract_type_aliasMethod · 0.45

Calls 2

visit_in_brace_scopeMethod · 0.80
dispatch_nodeMethod · 0.80

Tested by

no test coverage detected