Lines Matching refs:Match
6 var Match = { variable
71 return Match.VARIABLE_REFERENCE_PATTERN.test(value);
94 if (name[0] == Match.UNDERSCORE) {
96 } else if (name[0] == Match.ASTERISK) {
98 } else if (lastValue[1][0] == Match.BANG && !lastValue[1].match(Match.IMPORTANT_WORD_PATTERN)) {
100 …} else if (lastValue[1].indexOf(Match.BANG) > 0 && !lastValue[1].match(Match.IMPORTANT_WORD_PATTER…
102 …else if (lastValue[1].indexOf(Match.BACKSLASH) > 0 && lastValue[1].indexOf(Match.BACKSLASH) == las…
103 match = [Hack.BACKSLASH, lastValue[1].substring(lastValue[1].indexOf(Match.BACKSLASH) + 1)];
104 } else if (lastValue[1].indexOf(Match.BACKSLASH) === 0 && lastValue[1].length == 2) {
116 if (Match.IMPORTANT_TOKEN_PATTERN.test(lastValue[1])) {
118 …} else if (Match.IMPORTANT_WORD_PATTERN.test(lastValue[1]) && Match.SUFFIX_BANG_PATTERN.test(prope…
129 if (Match.IMPORTANT_TOKEN_PATTERN.test(lastValue[1])) {
130 lastValue[1] = lastValue[1].replace(Match.IMPORTANT_TOKEN_PATTERN, '');
132 lastValue[1] = lastValue[1].replace(Match.IMPORTANT_WORD_PATTERN, '');
133 oneButLastValue[1] = oneButLastValue[1].replace(Match.SUFFIX_BANG_PATTERN, '');
152 … .substring(0, lastValue[1].indexOf(hackFrom[0] == Hack.BACKSLASH ? Match.BACKSLASH : Match.BANG))