groovy-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From <eric.mil...@thomsonreuters.com>
Subject RE: Parrot Parser: AST position information
Date Tue, 13 Mar 2018 14:40:05 GMT
Sorry, yes Eclipse adds those.  I wasn't aware the patching began at such a low level.  It
would be nice to have the option of getting an offset instead of line,column.  But I can't
see an easy path to that.

-----Original Message-----
From: Daniel Sun [mailto:realbluesun@hotmail.com] 
Sent: Monday, March 12, 2018 6:51 PM
To: dev@groovy.incubator.apache.org
Subject: Re: Parrot Parser: AST position information

Hi Eric,

   Parrot will set node position of `ASTNode`, i.e. `lineNumber`, `columnNumber`, `lastLineNumber`,
`lastColumnNumber`. As for `start`, `end`, `nameStart` and `nameEnd`,  I can not find them
in the Apache Groovy project. Can you tell me which class contains them?

Cheers,
Daniel.Sun= 

Mime
View raw message