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

introduce abstraction for basic NodeVisitor usage

    Details

      Backports

        Description

        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.

          Attachments

            Issue Links

              Activity

                People

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

                  Dates

                  • Created:
                    Updated:
                    Resolved: