annotate Implab/Automaton/RegularExpressions/EndTokenT.cs @ 233:d6fe09f5592c v2

Improved AsyncQueue Removed ImplabFx
author cin
date Wed, 04 Oct 2017 15:44:47 +0300
parents d5c5db0335ee
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
178
d5c5db0335ee working on JSON parser
cin
parents: 177
diff changeset
1 namespace Implab.Automaton.RegularExpressions {
177
a0ff6a0e9c44 refactoring
cin
parents:
diff changeset
2 /// <summary>
a0ff6a0e9c44 refactoring
cin
parents:
diff changeset
3 /// Конечный символ расширенного регулярного выражения, при построении ДКА
a0ff6a0e9c44 refactoring
cin
parents:
diff changeset
4 /// используется для определения конечных состояний.
a0ff6a0e9c44 refactoring
cin
parents:
diff changeset
5 /// </summary>
178
d5c5db0335ee working on JSON parser
cin
parents: 177
diff changeset
6 public class EndToken<TTag>: EndToken {
177
a0ff6a0e9c44 refactoring
cin
parents:
diff changeset
7
178
d5c5db0335ee working on JSON parser
cin
parents: 177
diff changeset
8 readonly TTag m_tag;
177
a0ff6a0e9c44 refactoring
cin
parents:
diff changeset
9
a0ff6a0e9c44 refactoring
cin
parents:
diff changeset
10 public EndToken(TTag tag) {
a0ff6a0e9c44 refactoring
cin
parents:
diff changeset
11 m_tag = tag;
a0ff6a0e9c44 refactoring
cin
parents:
diff changeset
12 }
a0ff6a0e9c44 refactoring
cin
parents:
diff changeset
13
a0ff6a0e9c44 refactoring
cin
parents:
diff changeset
14 public EndToken()
a0ff6a0e9c44 refactoring
cin
parents:
diff changeset
15 : this(default(TTag)) {
a0ff6a0e9c44 refactoring
cin
parents:
diff changeset
16 }
a0ff6a0e9c44 refactoring
cin
parents:
diff changeset
17
a0ff6a0e9c44 refactoring
cin
parents:
diff changeset
18 public TTag Tag {
a0ff6a0e9c44 refactoring
cin
parents:
diff changeset
19 get { return m_tag; }
a0ff6a0e9c44 refactoring
cin
parents:
diff changeset
20 }
178
d5c5db0335ee working on JSON parser
cin
parents: 177
diff changeset
21
177
a0ff6a0e9c44 refactoring
cin
parents:
diff changeset
22 }
a0ff6a0e9c44 refactoring
cin
parents:
diff changeset
23 }