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