annotate Implab/Parsing/EmptyToken.cs @ 76:c761fc982e1d
v2
Refactoring of the IPromise<T> interface
Added tests
author |
cin |
date |
Wed, 10 Sep 2014 17:53:05 +0400 |
parents |
c0bf853aa04f |
children |
|
rev |
line source |
55
|
1 using Implab;
|
|
2 using System;
|
|
3 using System.Collections.Generic;
|
|
4 using System.Linq;
|
|
5 using System.Text;
|
|
6 using System.Threading.Tasks;
|
|
7
|
|
8 namespace Implab.Parsing {
|
|
9 public class EmptyToken : Token {
|
|
10 public override void Accept(IVisitor visitor) {
|
|
11 Safe.ArgumentNotNull(visitor, "visitor");
|
|
12 visitor.Visit(this);
|
|
13 }
|
|
14 public override string ToString() {
|
|
15 return "$";
|
|
16 }
|
|
17 }
|
|
18 }
|