Mercurial > pub > ImplabNet
annotate Implab/Automaton/RegularExpressions/EmptyToken.cs @ 172:92d5278d1b10 ref20160224
Working on text scanner
author | cin |
---|---|
date | Mon, 14 Mar 2016 01:19:38 +0300 |
parents | 0526412bbb26 |
children | a0ff6a0e9c44 |
rev | line source |
---|---|
162 | 1 using Implab; |
2 | |
3 namespace Implab.Automaton.RegularExpressions { | |
4 public class EmptyToken<TTag> : Token<TTag> { | |
5 public override void Accept(IVisitor<TTag> visitor) { | |
6 Safe.ArgumentNotNull(visitor, "visitor"); | |
7 visitor.Visit(this); | |
8 } | |
9 public override string ToString() { | |
10 return "$"; | |
11 } | |
12 } | |
13 } |