jruby / jruby-parser

JRuby's parser customized for IDE usage

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Feature Request: Create AbstractNodeVisitor

esheri3 opened this issue · comments

Can you please consider the creation of an "AbstractNodeVisitor" class that implements all methods in NodeVisitor interface to return null? This simplifies the process of writing a NodeVisitor as we only need to implement the methods that we care about.

There is one which perhaps should have been called AbstractNodeVisitor but is instead called NoopNodeVisitor in org.jrubyparser.utils. I am speculatively closing hoping this the implementation you want.