MCPcopy Create free account
hub / github.com/atomicdotdev/atomic / comment

Function comment

atomic-audit/src/extract/tokens.rs:14–16  ·  view source on GitHub ↗
(node: SyntaxNode<'_>)

Source from the content-addressed store, hash-verified

12}
13
14pub(crate) fn comment(node: SyntaxNode<'_>) -> bool {
15 node.kind().contains("comment")
16}
17
18pub(crate) fn children(node: SyntaxNode<'_>) -> Vec<SyntaxNode<'_>> {
19 let mut cursor = node.walk();

Callers 6

inventoryFunction · 0.85
control_flowFunction · 0.85
leaf_tokensFunction · 0.85
code_linesFunction · 0.85
justifiedFunction · 0.85
code_childrenFunction · 0.85

Calls 2

containsMethod · 0.45
kindMethod · 0.45

Tested by

no test coverage detected