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

Method visit_node

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

Source from the content-addressed store, hash-verified

1093 // --- visitNode -----------------------------------------------------------
1094
1095 fn visit_node(&mut self, node: Node<'t>) {
1096 if self.brace_scopes.is_some() {
1097 self.visit_in_brace_scope(node);
1098 } else {
1099 self.dispatch_node(node);
1100 }
1101 }
1102
1103 /// visitInCppBraceScope: walk `node` in the namespaces and classes its
1104 /// 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