| 160 | } |
| 161 | |
| 162 | fn push_ref_at(&mut self, from_row: u32, name: &str, kind: &str, node: Node) { |
| 163 | let name_ref = self.arena.put(name); |
| 164 | self.tables.push_ref(&RefRow { |
| 165 | from_idx: from_row, |
| 166 | kind: edge_kind_index(kind).unwrap(), |
| 167 | line: self.line_of(node), |
| 168 | column: self.col_of(node), |
| 169 | reference_name: name_ref, |
| 170 | candidates: NONE_STR, |
| 171 | from_id_str: NONE_STR, |
| 172 | }); |
| 173 | } |
| 174 | |
| 175 | // --- createNode (tree-sitter.ts:1308) --------------------------------- |
| 176 | // R extras carry only `signature` (or nothing): no docstring, visibility, |