Esempio n. 1
0
 public override void ProcessStringCharacter(char currentStringCharacter, int currentPatternPosition, WildcardPatternMatcher.PatternPositionsVisitor patternPositionsForCurrentStringPosition, WildcardPatternMatcher.PatternPositionsVisitor patternPositionsForNextStringPosition)
 {
     if (this._regex.IsMatch(new string(currentStringCharacter, 1)))
     {
         base.ProcessStringCharacter(currentStringCharacter, currentPatternPosition, patternPositionsForCurrentStringPosition, patternPositionsForNextStringPosition);
     }
 }
Esempio n. 2
0
 public override void ProcessStringCharacter(char currentStringCharacter, int currentPatternPosition, WildcardPatternMatcher.PatternPositionsVisitor patternPositionsForCurrentStringPosition, WildcardPatternMatcher.PatternPositionsVisitor patternPositionsForNextStringPosition)
 {
     patternPositionsForCurrentStringPosition.Add(currentPatternPosition + 1);
     patternPositionsForNextStringPosition.Add(currentPatternPosition);
 }
Esempio n. 3
0
 public override void ProcessEndOfString(int currentPatternPosition, WildcardPatternMatcher.PatternPositionsVisitor patternPositionsForEndOfStringPosition)
 {
     patternPositionsForEndOfStringPosition.Add(currentPatternPosition + 1);
 }
Esempio n. 4
0
 public abstract void ProcessStringCharacter(char currentStringCharacter, int currentPatternPosition, WildcardPatternMatcher.PatternPositionsVisitor patternPositionsForCurrentStringPosition, WildcardPatternMatcher.PatternPositionsVisitor patternPositionsForNextStringPosition);
Esempio n. 5
0
 public abstract void ProcessEndOfString(int currentPatternPosition, WildcardPatternMatcher.PatternPositionsVisitor patternPositionsForEndOfStringPosition);
Esempio n. 6
0
 public override void ProcessStringCharacter(char currentStringCharacter, int currentPatternPosition, WildcardPatternMatcher.PatternPositionsVisitor patternPositionsForCurrentStringPosition, WildcardPatternMatcher.PatternPositionsVisitor patternPositionsForNextStringPosition)
 {
     if (this._literalCharacter == currentStringCharacter)
     {
         base.ProcessStringCharacter(currentStringCharacter, currentPatternPosition, patternPositionsForCurrentStringPosition, patternPositionsForNextStringPosition);
     }
 }