Unable to query the given java example #423
Bennet-Sunder
started this conversation in
General
Replies: 1 comment 3 replies
-
Hi! When you say that it doesn't work, what do you mean by that? Perhaps you can share the output of the command you ran? If memory serves mebe well, only a part of Java is supported. It could be that e.g. static wasn't modeled yet. The tests should give an idea of what is and isn't supported. |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I cloned the repo locally and started working on the given java example (https://github.com/github/stack-graphs/tree/main/languages/tree-sitter-stack-graphs-java) to get a hang of how it works. Unfortunately I'm not able to query
I created a test file to check it out.
sample.java
Then index that file
to review the status
and got this result
Now when I tried to query to find all references like so.
It doesn't work. I'm trying to find all references of
greet
method here.Can you pls let me know what SOURCE_PATH is here and what are the different query options I can find. I did try searching for documentation but I couldn't find any.
Beta Was this translation helpful? Give feedback.
All reactions