isClassScopeConstantAssignment (tree-sitter.ts:1508).
(&self, node: Node)
| 515 | |
| 516 | /// isClassScopeConstantAssignment (tree-sitter.ts:1508). |
| 517 | fn is_class_scope_constant_assignment(&self, node: Node) -> bool { |
| 518 | let left = node.child_by_field_name("left").or_else(|| node.named_child(0)); |
| 519 | left.map(|l| l.kind() == "constant").unwrap_or(false) |
| 520 | } |
| 521 | |
| 522 | // --- visitFunctionBody ------------------------------------------------------ |
| 523 |