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

Method is_const_decl

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

Source from the content-addressed store, hash-verified

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

Callers 1

extract_variableMethod · 0.80

Calls 1

has_keyword_childMethod · 0.80

Tested by

no test coverage detected