| 214 | } |
| 215 | |
| 216 | static int count_call_args(TSNode call_node) { |
| 217 | if (ts_node_is_null(call_node)) |
| 218 | return 0; |
| 219 | TSNode args = ts_node_child_by_field_name(call_node, "arguments", 9); |
| 220 | if (ts_node_is_null(args)) |
| 221 | return 0; |
| 222 | return (int)ts_node_named_child_count(args); |
| 223 | } |
| 224 | |
| 225 | /* Strip generic parameters from a type text (List<String> → List). */ |
| 226 | static const char *strip_generics(CBMArena *a, const char *type_text) { |
no outgoing calls
no test coverage detected