Hello,
I was wondering if we could enhance the parser for the recognition of the absolute position if a statement expands over several lines.
A example could be found here: http://ramkulkarni.com/blog/capturing-absolute-offsets-for-javaccjjtree-tokens/
This involves changes to the following items (not final):
- jjt file
- New class BaseToken
- Move class SimpleCharStream to the main/src/java folder
- Adjust interfaces like Expression, Select, Update, LongValue, etc.
The main driver behind this idea is to write a parser that acts as online validator and is able to visually simplify demanding queries.
Please let me know what your 2 cents are.
Kind Regards,
Markus
Hello,
I was wondering if we could enhance the parser for the recognition of the absolute position if a statement expands over several lines.
A example could be found here: http://ramkulkarni.com/blog/capturing-absolute-offsets-for-javaccjjtree-tokens/
This involves changes to the following items (not final):
The main driver behind this idea is to write a parser that acts as online validator and is able to visually simplify demanding queries.
Please let me know what your 2 cents are.
Kind Regards,
Markus