##// END OF EJS Templates
refactoring
refactoring

File last commit:

r177:a0ff6a0e9c44 ref20160224
r177:a0ff6a0e9c44 ref20160224
Show More
CharAlphabet.cs
16 lines | 434 B | text/x-csharp | CSharpLexer
using System.Collections.Generic;
using System.Linq;
using Implab.Automaton;
namespace Implab.Formats {
public class CharAlphabet: IndexedAlphabetBase<char> {
public override int GetSymbolIndex(char symbol) {
return symbol;
}
public IEnumerable<char> InputSymbols {
get { return Enumerable.Range(char.MinValue, char.MaxValue).Cast<char>(); }
}
}
}