annotate Implab/Automaton/RegularExpressions/EndToken.cs @ 240:fa6cbf4d8841 v3

refactoring, moving to dotnercore, simplifying promises
author cin
date Tue, 23 Jan 2018 19:39:21 +0300
parents a0ff6a0e9c44
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
162
0526412bbb26 DFA refactoring
cin
parents:
diff changeset
1 using Implab;
0526412bbb26 DFA refactoring
cin
parents:
diff changeset
2
0526412bbb26 DFA refactoring
cin
parents:
diff changeset
3 namespace Implab.Automaton.RegularExpressions {
0526412bbb26 DFA refactoring
cin
parents:
diff changeset
4 /// <summary>
0526412bbb26 DFA refactoring
cin
parents:
diff changeset
5 /// Конечный символ расширенного регулярного выражения, при построении ДКА
0526412bbb26 DFA refactoring
cin
parents:
diff changeset
6 /// используется для определения конечных состояний.
0526412bbb26 DFA refactoring
cin
parents:
diff changeset
7 /// </summary>
177
a0ff6a0e9c44 refactoring
cin
parents: 170
diff changeset
8 public class EndToken: Token {
162
0526412bbb26 DFA refactoring
cin
parents:
diff changeset
9
177
a0ff6a0e9c44 refactoring
cin
parents: 170
diff changeset
10 public override void Accept(IVisitor visitor) {
162
0526412bbb26 DFA refactoring
cin
parents:
diff changeset
11 Safe.ArgumentNotNull(visitor, "visitor");
0526412bbb26 DFA refactoring
cin
parents:
diff changeset
12 visitor.Visit(this);
0526412bbb26 DFA refactoring
cin
parents:
diff changeset
13 }
0526412bbb26 DFA refactoring
cin
parents:
diff changeset
14 public override string ToString() {
0526412bbb26 DFA refactoring
cin
parents:
diff changeset
15 return "#";
0526412bbb26 DFA refactoring
cin
parents:
diff changeset
16 }
0526412bbb26 DFA refactoring
cin
parents:
diff changeset
17 }
0526412bbb26 DFA refactoring
cin
parents:
diff changeset
18 }