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

Function subMode

documentation/javascript/application.js:375–381  ·  view source on GitHub ↗
(lexem, mode)

Source from the content-addressed store, hash-verified

373 }
374
375 function subMode(lexem, mode) {
376 for (var i = 0; i < mode.contains.length; i++) {
377 if (mode.contains[i].beginRe.test(lexem)) {
378 return mode.contains[i];
379 }
380 }
381 }
382
383 function endOfMode(mode_index, lexem) {
384 if (modes[mode_index].end && modes[mode_index].endRe.test(lexem))

Callers 1

processModeInfoFunction · 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…