Filter AstNode using Range #1785
Answered
by
msujew
kapishsingla
asked this question in
Q&A
|
Hi Team, Given that I have a Is there any smarter way other than iteratively check it? |
Answered by
msujew
Jan 9, 2025
Replies: 2 comments
|
Hi, did you checkout CstUtils? it should give you the cst node for the place and you then should be able to get to the ast node from there |
0 replies
|
Hey @kapishsingla, I believe you're looking for the |
0 replies
Answer selected by
msujew
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hey @kapishsingla,
I believe you're looking for the
AstUtils.streamAllContentsfunction. More specifically, take a look at itsoptionsparameter.