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

Method is_const_decl

codegraph-kernel/src/tsjs/mod.rs:1090–1092  ·  view source on GitHub ↗
(&self, node: Node)

Source from the content-addressed store, hash-verified

1088 }
1089
1090 fn is_const_decl(&self, node: Node) -> bool {
1091 node.kind() == "lexical_declaration" && self.has_keyword_child(node, "const")
1092 }
1093
1094 // (extract_* functions continue in impl blocks below)
1095}

Callers 2

extract_variableMethod · 0.80

Calls 1

has_keyword_childMethod · 0.80

Tested by

no test coverage detected