diff Implab/Formats/ByteAlphabet.cs @ 176:0c3c69fe225b ref20160224

rewritten the text scanner
author cin
date Tue, 22 Mar 2016 18:58:40 +0300
parents 92d5278d1b10
children a0ff6a0e9c44
line wrap: on
line diff
--- a/Implab/Formats/ByteAlphabet.cs	Mon Mar 21 18:41:45 2016 +0300
+++ b/Implab/Formats/ByteAlphabet.cs	Tue Mar 22 18:58:40 2016 +0300
@@ -4,7 +4,7 @@
 
 namespace Implab.Formats {
     public class ByteAlphabet : IndexedAlphabetBase<byte> {
-        public ByteAlphabet() : base(byte.MaxValue + 1){
+        public ByteAlphabet() {
         }
 
         #region implemented abstract members of IndexedAlphabetBase
@@ -13,10 +13,6 @@
             return (int)symbol;
         }
 
-        public override byte GetSymbolByIndex(int index) {
-            return (byte)index;
-        }
-
         public IEnumerable<byte> InputSymbols {
             get {
                 return Enumerable.Range(byte.MinValue, byte.MaxValue).Cast<byte>();