会员
周边
众包
新闻
博问
闪存
赞助商
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
baiqjh
CnBlogs
Home
New Post
Contact
Admin
Subscription
2013年1月5日
解释器模式
解释器模式(interpreter):给定一个语言,定义它的方法的一种表示,并定义一个解释器,这个解释器使用该表示来解释语言中的句子。Context命令类,包含解释器之外的一些全局信息。 class Context { private string _input; public string Input { get { return _input; } set { _input = value; } } private string _output; pu...
Read More
posted @ 2013-01-05 17:38 baiqjh
Views(136)
Comments(0)
Diggs(0)
Edit
公告