TypeScript-TmLanguage/tests/cases/Issue243.ts

109 строки
4.2 KiB
TypeScript

'use strict';
var pieces = [];
var numeration = [];
for (var i in pieces) {
switch (true) {
case /^\"?Accession\"?/.test(pieces[i]):
numeration[0] = i;
break;
case /^\"?Accession\"?/.test(pieces[i]):
numeration[0] = i;
break;
case /^\"?Accession\"?/.test(pieces[i]):
numeration[0] = i;
break;
case /^\"?Accession\"?/.test(pieces[i]):
numeration[0] = i;
break;
case /^\"?Accession\"?/.test(pieces[i]):
numeration[0] = i;
break;
case /^\"?Accession\"?/.test(pieces[i]):
numeration[0] = i;
break;
case /^\"?Accession\"?/.test(pieces[i]):
numeration[0] = i;
break;
case /^\"?Accession\"?/.test(pieces[i]):
numeration[0] = i;
break;
case /^\"?Accession\"?/.test(pieces[i]):
numeration[0] = i;
break;
case /^\"?Accession\"?/.test(pieces[i]):
numeration[0] = i;
break;
case /^\"?Accession\"?/.test(pieces[i]):
numeration[0] = i;
break;
case /^\"?Accession\"?/.test(pieces[i]):
numeration[0] = i;
break;
case /^\"?Accession\"?/.test(pieces[i]):
numeration[0] = i;
break;
case /^\"?Accession\"?/.test(pieces[i]):
numeration[0] = i;
break;
case /^\"?Accession\"?/.test(pieces[i]):
numeration[0] = i;
break;
case /^\"?Accession\"?/.test(pieces[i]):
numeration[0] = i;
break;
case /^\"?Accession\"?/.test(pieces[i]):
numeration[0] = i;
break;
case /^\"?Accession\"?/.test(pieces[i]):
numeration[0] = i;
break;
case /^\"?Accession\"?/.test(pieces[i]):
numeration[0] = i;
break;
case /^\"?Accession\"?/.test(pieces[i]):
numeration[0] = i;
break;
case /^\"?Accession\"?/.test(pieces[i]):
numeration[0] = i;
break;
case /^\"?Accession\"?/.test(pieces[i]):
numeration[0] = i;
break;
case /^\"?Accession\"?/.test(pieces[i]):
numeration[0] = i;
break;
case /^\"?Accession\"?/.test(pieces[i]):
numeration[0] = i;
break;
case /^\"?Accession\"?/.test(pieces[i]):
numeration[0] = i;
break;
case /^\"?Accession\"?/.test(pieces[i]):
numeration[0] = i;
break;
case /^\"?Accession\"?/.test(pieces[i]):
numeration[0] = i;
break;
case /^\"?Accession\"?/.test(pieces[i]):
numeration[0] = i;
break;
case /^\"?Accession\"?/.test(pieces[i]):
numeration[0] = i;
break;
case /^\"?Accession\"?/.test(pieces[i]):
numeration[0] = i;
break;
case /^\"?Accession\"?/.test(pieces[i]):
numeration[0] = i;
break;
case /^\"?Accession\"?/.test(pieces[i]):
numeration[0] = i;
break;
case /^\"?Accession\"?/.test(pieces[i]):
numeration[0] = i;
break;
}
}