Mercurial > pub > ImplabNet
comparison Implab/Automaton/RegularExpressions/EmptyToken.cs @ 177:a0ff6a0e9c44 ref20160224
refactoring
author | cin |
---|---|
date | Wed, 23 Mar 2016 01:42:00 +0300 |
parents | 0526412bbb26 |
children |
comparison
equal
deleted
inserted
replaced
176:0c3c69fe225b | 177:a0ff6a0e9c44 |
---|---|
1 using Implab; | 1 using Implab; |
2 | 2 |
3 namespace Implab.Automaton.RegularExpressions { | 3 namespace Implab.Automaton.RegularExpressions { |
4 public class EmptyToken<TTag> : Token<TTag> { | 4 public class EmptyToken: Token { |
5 public override void Accept(IVisitor<TTag> visitor) { | 5 public override void Accept(IVisitor visitor) { |
6 Safe.ArgumentNotNull(visitor, "visitor"); | 6 Safe.ArgumentNotNull(visitor, "visitor"); |
7 visitor.Visit(this); | 7 visitor.Visit(this); |
8 } | 8 } |
9 public override string ToString() { | 9 public override string ToString() { |
10 return "$"; | 10 return "$"; |