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

Function is_comment

codegraph-kernel/src/docstring.rs:23–28  ·  view source on GitHub ↗
(kind: &str)

Source from the content-addressed store, hash-verified

21}
22
23fn is_comment(kind: &str) -> bool {
24 matches!(
25 kind,
26 "comment" | "line_comment" | "block_comment" | "documentation_comment"
27 )
28}
29
30struct Cleaners {
31 block_open: Regex,

Callers 1

preceding_docstring_withFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected