Affiliation:
1. College of Computer Science, Northeastern University, 360 Huntington Avenue, Boston, MA
Abstract
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.
Publisher
Association for Computing Machinery (ACM)
Subject
Computer Graphics and Computer-Aided Design,Software
Reference9 articles.
1. Thomas H. Cormen Charles E. Leiserson and Ronald L. Rivest. Introduction to Algorithms. MIT press 1990. Thomas H. Cormen Charles E. Leiserson and Ronald L. Rivest. Introduction to Algorithms. MIT press 1990.
Cited by
3 articles.
订阅此论文施引文献
订阅此论文施引文献,注册后可以免费订阅5篇论文的施引文献,订阅后可以查看论文全部施引文献