Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8134502

introduce abstraction for basic NodeVisitor usage

XMLWordPrintable

        Throughout the Nashorn code base, there are many occurrences of anonymous inner classes (and non-anonymous classes) that extend NodeVisitor<LexicalContext>. To reduce noise, an abstract class BasicNodeVisitor that extends NodeVisitor<LexicalContext> should be introduced. If possible, common code used in all / many of the current occurrences should also be factored out to appropriate methods in the BasicNodeVisitor.

              attila Attila Szegedi
              mhaupt Michael Haupt
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: