Irony.Parsing.FreeTextLiteral.CheckEscape C# (CSharp) Метод

CheckEscape() приватный Метод

private CheckEscape ( ISourceStream source, string &tokenText ) : bool
source ISourceStream
tokenText string
Результат bool
    private bool CheckEscape(ISourceStream source, ref string tokenText) {
      foreach (var dictEntry in Escapes) {
        if (source.MatchSymbol(dictEntry.Key, !Grammar.CaseSensitive)) {
          source.PreviewPosition += dictEntry.Key.Length;
          tokenText += dictEntry.Value;
          return true; 
        }
      }//foreach
      return false; 
    }