True when text of `node` equals `want` exactly (no arena allocation). */
| 9253 | |
| 9254 | /* True when text of `node` equals `want` exactly (no arena allocation). */ |
| 9255 | static bool js_node_text_is(TSNode node, const char *source, const char *want) { |
| 9256 | if (ts_node_is_null(node)) { |
| 9257 | return false; |
| 9258 | } |
| 9259 | uint32_t start = ts_node_start_byte(node); |
| 9260 | uint32_t end = ts_node_end_byte(node); |
| 9261 | size_t len = strlen(want); |
| 9262 | return end >= start && (size_t)(end - start) == len && memcmp(source + start, want, len) == 0; |
| 9263 | } |
| 9264 | |
| 9265 | /* #1916: `axios.create(...)` — the factory of a configured axios instance |
| 9266 | * (the vue-element-admin / RuoYi `request.js` wrapper). Only the literal |
no outgoing calls
no test coverage detected