##// END OF EJS Templates
sync
sync

File last commit:

r172:92d5278d1b10 ref20160224
r175:96a89dcb4060 ref20160224
Show More
CharAlphabet.cs
24 lines | 634 B | text/x-csharp | CSharpLexer
cin
DFA refactoring
r165 using System.Collections.Generic;
cin
Almost complete DFA refactoring
r164 using System.Linq;
cin
DFA refactoring
r165 using Implab.Automaton;
cin
Almost complete DFA refactoring
r164
cin
DFA refactoring
r165 namespace Implab.Formats {
cin
Almost complete DFA refactoring
r164 public class CharAlphabet: IndexedAlphabetBase<char> {
public CharAlphabet()
: base(char.MaxValue + 1) {
}
public override int GetSymbolIndex(char symbol) {
return symbol;
}
cin
Working on text scanner
r172 public override char GetSymbolByIndex(int index) {
return (char)index;
}
cin
Almost complete DFA refactoring
r164 public override IEnumerable<char> InputSymbols {
get { return Enumerable.Range(char.MinValue, char.MaxValue).Cast<char>(); }
}
}
}