-
-
Notifications
You must be signed in to change notification settings - Fork 163
Open
Description
Hi,
I'm currently working to have a user autocompletion feature for a RSQL syntax query.
I've seen that the information about the next possible tokens and the information about the current cursor position of the syntax error is within the ParseException class but is not accessible due the ParseException is not exposing this information.
I guess it would be nice to have a general autocompletion feature in the RSQL parser, wouldn't be? Like I could also get suggestion based on a current cursor position?
The only option I currently see is to use reflection to retrieve the information from the ParseException and based on the currentToken and nextToken information provide suggestions or to implement an own grammar e.g. in ANTLR.
Cheers,
Michael
Metadata
Metadata
Assignees
Labels
No labels