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

Function is_comment

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

Source from the content-addressed store, hash-verified

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

Callers 1

preceding_docstringFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected