##// END OF EJS Templates
refactoring complete, JSONParser rewritten
refactoring complete, JSONParser rewritten

File last commit:

r177:a0ff6a0e9c44 ref20160224
r180:c32688129f14 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>(); }
}
}
}