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

Function is_wrapper

codegraph-kernel/src/docstring.rs:9–19  ·  view source on GitHub ↗

DOCSTRING_WRAPPER_TYPES (tree-sitter-helpers.ts).

(kind: &str)

Source from the content-addressed store, hash-verified

7
8/// DOCSTRING_WRAPPER_TYPES (tree-sitter-helpers.ts).
9fn is_wrapper(kind: &str) -> bool {
10 matches!(
11 kind,
12 "export_statement"
13 | "decorated_definition"
14 | "lexical_declaration"
15 | "variable_declaration"
16 | "variable_declarator"
17 | "ambient_declaration"
18 )
19}
20
21fn is_comment(kind: &str) -> bool {
22 matches!(

Callers 1

preceding_docstringFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected