annotate Implab/Parsing/EmptyToken.cs @ 96:daffa72a1cec
v2
Added the chaining method to the non-generic IPromise
author |
cin |
date |
Thu, 30 Oct 2014 10:06:16 +0300 |
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 }
|