annotate Implab/Parsing/IVisitor.cs @ 145:706fccb85524 v2

RC: cancellation support for promises + tests
author cin
date Sun, 08 Mar 2015 02:52:27 +0300
parents c0bf853aa04f
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
55
c0bf853aa04f Added initial JSON support
cin
parents:
diff changeset
1 using System;
c0bf853aa04f Added initial JSON support
cin
parents:
diff changeset
2 using System.Collections.Generic;
c0bf853aa04f Added initial JSON support
cin
parents:
diff changeset
3 using System.Linq;
c0bf853aa04f Added initial JSON support
cin
parents:
diff changeset
4 using System.Text;
c0bf853aa04f Added initial JSON support
cin
parents:
diff changeset
5 using System.Threading.Tasks;
c0bf853aa04f Added initial JSON support
cin
parents:
diff changeset
6
c0bf853aa04f Added initial JSON support
cin
parents:
diff changeset
7 namespace Implab.Parsing {
c0bf853aa04f Added initial JSON support
cin
parents:
diff changeset
8 /// <summary>
c0bf853aa04f Added initial JSON support
cin
parents:
diff changeset
9 /// Интерфейс обходчика синтаксического дерева регулярного выражения
c0bf853aa04f Added initial JSON support
cin
parents:
diff changeset
10 /// </summary>
c0bf853aa04f Added initial JSON support
cin
parents:
diff changeset
11 public interface IVisitor {
c0bf853aa04f Added initial JSON support
cin
parents:
diff changeset
12 void Visit(AltToken token);
c0bf853aa04f Added initial JSON support
cin
parents:
diff changeset
13 void Visit(StarToken token);
c0bf853aa04f Added initial JSON support
cin
parents:
diff changeset
14 void Visit(CatToken token);
c0bf853aa04f Added initial JSON support
cin
parents:
diff changeset
15 void Visit(EmptyToken token);
c0bf853aa04f Added initial JSON support
cin
parents:
diff changeset
16 void Visit(EndToken token);
c0bf853aa04f Added initial JSON support
cin
parents:
diff changeset
17 void Visit(SymbolToken token);
c0bf853aa04f Added initial JSON support
cin
parents:
diff changeset
18 }
c0bf853aa04f Added initial JSON support
cin
parents:
diff changeset
19 }