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

Method is_class_scope_constant_assignment

codegraph-kernel/src/ruby.rs:543–546  ·  view source on GitHub ↗

isClassScopeConstantAssignment (tree-sitter.ts:1508).

(&self, node: Node)

Source from the content-addressed store, hash-verified

541
542 /// isClassScopeConstantAssignment (tree-sitter.ts:1508).
543 fn is_class_scope_constant_assignment(&self, node: Node) -> bool {
544 let left = node.child_by_field_name("left").or_else(|| node.named_child(0));
545 left.map(|l| l.kind() == "constant").unwrap_or(false)
546 }
547
548 // --- visitFunctionBody ------------------------------------------------------
549

Callers 1

visit_nodeMethod · 0.80

Calls 1

mapMethod · 0.80

Tested by

no test coverage detected