According to the docs, you can retrieve the index using Index
. However, this one only returns a single integer. Do I have to manually compute for the line number and column (e.g by using Util.lineNumberLookup
) or use IndexedParserInput.prettyIndex
on the resulting index?
Asked
Active
Viewed 69 times
3

Melvic Ybanez
- 1,893
- 4
- 19
- 26