MCPcopy Create free account
hub / github.com/bathos/Ecmascript-Sublime / scope_equals

Function scope_equals

nested/src/modify-ecmascript.js:129–129  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

127
128 const captures = (i_group, si_scope) => `$.contexts..*[?(@.captures["${i_group}"]=="${si_scope}")]`;
129 const scope_equals = si_scope => `$.contexts..*[?(@.scope=="${si_scope}")]`;
130
131 let f_escape_backtick = match_replace(/([`])/g, '\\\\$1');
132

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected