Hello,
I have a side project that is a parser for graphql. the main goal of it is to generate classes from a graphql schema.
I cannot seem to find a way to get the line and the column of the code that is being parsed.
I want to throw some ParseException with a good description and the where (namely the line : column) the issue came from.
I have already used JavaCC for parsing a subset of the ECMAScript language as a school project and I remember that JavaCC has that.
I wonder if petitParser has that or should we implement something to track the lines and the columns.
Thank you,
Ramdane.
Hello,
I have a side project that is a parser for graphql. the main goal of it is to generate classes from a graphql schema.
I cannot seem to find a way to get the line and the column of the code that is being parsed.
I want to throw some ParseException with a good description and the where (namely the line : column) the issue came from.
I have already used JavaCC for parsing a subset of the ECMAScript language as a school project and I remember that JavaCC has that.
I wonder if petitParser has that or should we implement something to track the lines and the columns.
Thank you,
Ramdane.