首页> 外文会议>Conference on object-oriented programming, systems, languages, and applications >A language for specifying recursive traversals of object structure
【24h】

A language for specifying recursive traversals of object structure

机译:一种用于指定对象结构的递归遍历的语言

获取原文

摘要

We present a domain-specific language for specifying recursive traversals of object structures, for use with the visitor pattern. Traversals are traditionally specified as iterations, forcing the programmer to adopt an imperative style, or are hard-coded into the program or visitor. Our proposal allows a number of problems best approached by recursive means to be tackled with the visitor pattern, while retaining the benefits of a separate traversal specification.
机译:我们提出了一种特定于域的语言,用于指定对象结构的递归遍历,以便与访问者模式一起使用。遍历传统上被指定为迭代,强迫程序员采用必要的样式,或者将载入程序或访客中的硬编码。我们的提议允许通过递归手段解决许多问题,以便与访客模式进行处理,同时保留单独的遍历规范的益处。

著录项

相似文献

  • 外文文献
  • 中文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号