view Implab/Parsing/IVisitor.cs @ 138:f75cfa58e3d4 v2

added ICancellable.Cancel(Exception) to allow specify the reason of cancellation
author cin
date Tue, 17 Feb 2015 18:16:26 +0300
parents c0bf853aa04f
children
line wrap: on
line source

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Implab.Parsing {
    /// <summary>
    /// Интерфейс обходчика синтаксического дерева регулярного выражения
    /// </summary>
    public interface IVisitor {
        void Visit(AltToken token);
        void Visit(StarToken token);
        void Visit(CatToken token);
        void Visit(EmptyToken token);
        void Visit(EndToken token);
        void Visit(SymbolToken token);
    }
}