SqlScriptDOM icon indicating copy to clipboard operation
SqlScriptDOM copied to clipboard

A typed visitor would be nice

Open masonwheeler opened this issue 10 months ago • 0 comments

I'm trying to convert a project over from SqlParser, because SqlParser lacks support for some things I'm trying to parse and it doesn't have source available. But I've hit a roadblock: SqlScriptDom doesn't have anything analogous to ISqlCodeObjectVisitor<T>, which allows you to create visitors where every Visit() method returns T rather than void. It's incredibly useful for things like parsing expressions.

Would it be possible to add a typed visitor to SqlScriptDom?

masonwheeler avatar Mar 10 '25 18:03 masonwheeler