isClassScopeConstantAssignment (tree-sitter.ts:1508).
(&self, node: Node)
| 568 | |
| 569 | /// isClassScopeConstantAssignment (tree-sitter.ts:1508). |
| 570 | fn is_class_scope_constant_assignment(&self, node: Node) -> bool { |
| 571 | let left = node.child_by_field_name("left").or_else(|| node.named_child(0)); |
| 572 | left.map(|l| l.kind() == "constant").unwrap_or(false) |
| 573 | } |
| 574 | |
| 575 | // --- visitFunctionBody ------------------------------------------------------ |
| 576 |