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

Method is_const_decl

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

Source from the content-addressed store, hash-verified

831 }
832
833 fn is_const_decl(&self, node: Node) -> bool {
834 node.kind() == "lexical_declaration" && self.has_keyword_child(node, "const")
835 }
836
837 // (extract_* functions continue in impl blocks below)
838}

Callers 1

extract_variableMethod · 0.80

Calls 1

has_keyword_childMethod · 0.80

Tested by

no test coverage detected