⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 interfaces.cs

📁 英语句子自然语言处理统计分析例子 Statistical parsing of English sentences Shows how to generate parse trees for
💻 CS
字号:
using System;

namespace Netron.Lithium
{/// <summary>
	/// Interface of a visitor
	/// </summary>
	public interface IVisitor
	{
		/// <summary>
		/// The actual action to perform on visited objects
		/// </summary>
		/// <param name="shape"></param>
		void Visit(ShapeBase shape);
		/// <summary>
		/// Whether the visiting process is done
		/// </summary>
		bool IsDone { get; }
	}
	/// <summary>
	/// Interface of a prepost visitor which allows you to have
	/// an action before, during and after a visit
	/// </summary>
	public interface IPrePostVisitor : IVisitor
	{
		/// <summary>
		/// action before the visit
		/// </summary>
		/// <param name="shape"></param>
		void PreVisit(ShapeBase shape);		
		/// <summary>
		/// the action after the visit
		/// </summary>
		/// <param name="shape"></param>
		void PostVisit(ShapeBase shape);
		
	}
}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -