groovy-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From <eric.mil...@thomsonreuters.com>
Subject Parrot Parser: AST position information
Date Mon, 12 Mar 2018 21:00:37 GMT
I just gave the Parrot Parser a quick try out for Groovy 2.6 / Eclipse 4.8.  One thing I'm
noticing right away is that the parser sets the line and column information of AST nodes,
but leaves position properties start, end, nameStart and nameEnd unset.  Is there a way to
request these properties get set?  Or is there an available line,col -> offset function
somewhere?

Eric Milles
Lead Software Engineer
Thomson Reuters
Email: eric.milles@thomsonreuters.com
Phone: 651-848-7040


Mime
View raw message