##// END OF EJS Templates
code cleanup and refactoring
code cleanup and refactoring

File last commit:

r177:a0ff6a0e9c44 ref20160224
r281:e0916ddc9950 v3
Show More
ByteAlphabet.cs
23 lines | 542 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 ByteAlphabet : IndexedAlphabetBase<byte> {
#region implemented abstract members of IndexedAlphabetBase
public override int GetSymbolIndex(byte symbol) {
return (int)symbol;
}
public IEnumerable<byte> InputSymbols {
get {
return Enumerable.Range(byte.MinValue, byte.MaxValue).Cast<byte>();
}
}
#endregion
}
}