Replies: 1 comment
-
|
Hi. The getPatternIndex() method should return the pattern index in the query. The getId() method returns the id of the match(index in the match list for now). |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hello! I'm trying to use a query to extract nodes from the tree. My code:
I found out that match has methods called getPatternIndex and getId, but what are they used for? I though getId might return index of the node of interest but it seems not... I tried getPatternIndex but stuck with the same result
Beta Was this translation helpful? Give feedback.
All reactions