(pos, def)
| 836 | return (tests || getTests(pos))[0]; |
| 837 | } |
| 838 | function positionCanMatchDefinition(pos, def) { |
| 839 | var valid = false, tests = getTests(pos); |
| 840 | for (var tndx = 0; tndx < tests.length; tndx++) { |
| 841 | if (tests[tndx].match && tests[tndx].match.def === def) { |
| 842 | valid = true; |
| 843 | break; |
| 844 | } |
| 845 | } |
| 846 | return valid; |
| 847 | } |
| 848 | function getTests(pos, ndxIntlzr, tstPs) { |
| 849 | var maskTokens = getMaskSet().maskToken, testPos = ndxIntlzr ? tstPs : 0, ndxInitializer = ndxIntlzr ? ndxIntlzr.slice() : [ 0 ], matches = [], insertStop = false, latestMatch, cacheDependency = ndxIntlzr ? ndxIntlzr.join("") : ""; |
| 850 | function resolveTestFromToken(maskToken, ndxInitializer, loopNdx, quantifierRecurse) { |
no test coverage detected