(z_inserts, i_insert)
| 124 | const match_replace = (r_find, s_replace) => g_rule => g_rule.match = g_rule.match.replace(r_find, s_replace); |
| 125 | |
| 126 | const insert_rules = (z_inserts, i_insert) => a_rules => a_rules.splice(i_insert, 0, ...(yaml_load(z_inserts)).map(yaml_load)); |
| 127 | |
| 128 | const captures = (i_group, si_scope) => `$.contexts..*[?(@.captures["${i_group}"]=="${si_scope}")]`; |
| 129 | const scope_equals = si_scope => `$.contexts..*[?(@.scope=="${si_scope}")]`; |
no test coverage detected