Exemple #1
0
 public WhiteSpace(int count)
 {
     _symbol = new Symbol(new string(' ', count));
 }
Exemple #2
0
 public static bool IsVowel(Symbol symbol)
 {
     return symbol.Value != null && symbol.Length == 1 && Vowels.Contains(char.ToUpper(symbol.Value[0]));
 }
Exemple #3
0
 public static bool IsConsonant(Symbol symbol)
 {
     return symbol.Value != null && symbol.Length == 1 && Consonants.Contains(char.ToUpper(symbol.Value[0]));
 }
Exemple #4
0
 public Punctuation(string punctuation)
 {
     this._symbol = new Symbol(punctuation);
 }