Mercurial > pub > ImplabNet
annotate Implab/Automaton/RegularExpressions/EmptyToken.cs @ 173:ecfece82ca11 ref20160224
Working on text scanner
author | cin |
---|---|
date | Tue, 15 Mar 2016 02:11:06 +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 } |