Mercurial > pub > ImplabNet
comparison Implab/Formats/CharAlphabet.cs @ 172:92d5278d1b10 ref20160224
Working on text scanner
author | cin |
---|---|
date | Mon, 14 Mar 2016 01:19:38 +0300 |
parents | e227e78d72e4 |
children | 0c3c69fe225b |
comparison
equal
deleted
inserted
replaced
171:0f70905b4652 | 172:92d5278d1b10 |
---|---|
11 | 11 |
12 public override int GetSymbolIndex(char symbol) { | 12 public override int GetSymbolIndex(char symbol) { |
13 return symbol; | 13 return symbol; |
14 } | 14 } |
15 | 15 |
16 public override char GetSymbolByIndex(int index) { | |
17 return (char)index; | |
18 } | |
19 | |
16 public override IEnumerable<char> InputSymbols { | 20 public override IEnumerable<char> InputSymbols { |
17 get { return Enumerable.Range(char.MinValue, char.MaxValue).Cast<char>(); } | 21 get { return Enumerable.Range(char.MinValue, char.MaxValue).Cast<char>(); } |
18 } | 22 } |
19 } | 23 } |
20 } | 24 } |