rubysolo/dentaku

AST Function args aren't public

ryanb opened this issue · 1 comments

ryanb commented

I'm working on converting Dentaku AST nodes into an SQL query and need to access function arguments. I couldn't find a public way to do this, so I'm using instance_variable_get(:@args) which isn't ideal.

Would it be possible to expose function args in a public way that is considered stable? Adding attr_reader :args would suffice.

Thanks for the wonderful gem!

Done, thanks for the suggestion!