Replies: 1 comment 2 replies
-
I converted this from an issue into a discussion. As for your actual question, my gut reaction is that you probably need a special *query& per language, but you may be able to have your actual code be language-agnostic, if you structure your query in a general enough way. |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I've got a lot of hard-coded logic for the specific languages I was working with (
java
&kotlin
)-- which is less than idea.Question: are there any known approaches that allow me to generate a simple json out of the AST? like so:
this is what the madness I'm currently doing looks like (please tell me there's an easier way):
Beta Was this translation helpful? Give feedback.
All reactions