MCPcopy Create free account
hub / github.com/sql-js/sql.js / addMatcher

Function addMatcher

documentation/javascript/application.js:5686–5693  ·  view source on GitHub ↗
( higher, deeper )

Source from the content-addressed store, hash-verified

5684}
5685
5686function addMatcher( higher, deeper ) {
5687 return higher ?
5688 function( elem ) {
5689 var result = deeper( elem );
5690 return result && higher( result === true ? elem : result );
5691 } :
5692 deeper;
5693}
5694
5695// ["TAG", ">", "ID", " ", "CLASS"]
5696function matcherFromTokens( tokens, context, xml ) {

Callers 1

matcherFromTokensFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…