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

Method visit_node

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

Source from the content-addressed store, hash-verified

1081 // --- visitNode -----------------------------------------------------------
1082
1083 fn visit_node(&mut self, node: Node<'t>) {
1084 if self.brace_scopes.is_some() {
1085 self.visit_in_brace_scope(node);
1086 } else {
1087 self.dispatch_node(node);
1088 }
1089 }
1090
1091 /// visitInCppBraceScope: walk `node` in the namespaces and classes its
1092 /// 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