annotate Implab/Automaton/RegularExpressions/IVisitor.cs @ 203:4d9830a9bbb8 v2

Added 'Fail' method to RunnableComponent which allows component to move from Running to Failed state. Added PollingComponent a timer based runnable component More tests Added FailPromise a thin class to wrap exceptions Fixed error handling in SuccessPromise classes.
author cin
date Tue, 18 Oct 2016 17:49:54 +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 namespace Implab.Automaton.RegularExpressions {
0526412bbb26 DFA refactoring
cin
parents:
diff changeset
2 /// <summary>
0526412bbb26 DFA refactoring
cin
parents:
diff changeset
3 /// Интерфейс обходчика синтаксического дерева регулярного выражения
0526412bbb26 DFA refactoring
cin
parents:
diff changeset
4 /// </summary>
177
a0ff6a0e9c44 refactoring
cin
parents: 162
diff changeset
5 public interface IVisitor {
a0ff6a0e9c44 refactoring
cin
parents: 162
diff changeset
6 void Visit(AltToken token);
a0ff6a0e9c44 refactoring
cin
parents: 162
diff changeset
7 void Visit(StarToken token);
a0ff6a0e9c44 refactoring
cin
parents: 162
diff changeset
8 void Visit(CatToken token);
a0ff6a0e9c44 refactoring
cin
parents: 162
diff changeset
9 void Visit(EmptyToken token);
a0ff6a0e9c44 refactoring
cin
parents: 162
diff changeset
10 void Visit(EndToken token);
a0ff6a0e9c44 refactoring
cin
parents: 162
diff changeset
11 void Visit(SymbolToken token);
162
0526412bbb26 DFA refactoring
cin
parents:
diff changeset
12 }
0526412bbb26 DFA refactoring
cin
parents:
diff changeset
13 }