[antlr-interest] column info for syntactic predicates
    Terence Parr 
    parrt at jguru.com
       
    Sat Sep 14 22:09:36 PDT 2002
    
    
  
On Saturday, September 14, 2002, at 09:55  PM, Oliver Burn wrote:
> Hi,
>
> I am the author of a tool called Checkstyle (http://checkstyle.sf.net) 
> which
> checks that Java code confirms to a coding standard. By default the 
> Sun coding
> standard. The tool makes extensive use of ANTLR.
>
> I am in the process of refactoring the way Checkstyle works, and want 
> to track
> line & column information in syntactic predicates. In my research I 
> came across
> the article on tracking column information at
> http://www.antlr.org/fieldguide/columns/index.html.
>
> At the end of the article it says that is it possible to track column 
> info for
> syntactic predicates. Does anybody have any more information (or 
> better still
> examples) on how to do this.
Hi Oliver, sounds like a great tool :)
That article is pretty old.  ANTLR tracks column number now 
automatically.  I think it's even stored in the token objects now.
Ter
--
Co-founder, http://www.jguru.com
Creator, ANTLR Parser Generator: http://www.antlr.org
 
Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 
    
    
More information about the antlr-interest
mailing list