[antlr-interest] Knowing line and position in tree parser

Jim Idle jimi at temporal-wave.com
Sat Nov 20 17:34:00 PST 2010


Line and position of what? Did you look at the API docs?

Jim



> -----Original Message-----
> From: antlr-interest-bounces at antlr.org [mailto:antlr-interest-
> bounces at antlr.org] On Behalf Of BeRniTo
> Sent: Saturday, November 20, 2010 3:13 PM
> To: antlr-interest at antlr.org
> Subject: [antlr-interest] Knowing line and position in tree parser
> 
> Hello everybody!
> 
> How can I get line and position in a tree parser?
> I've tried rule.start but that returns the text the rule matched.
> 
> Thanks!
> 
> List: http://www.antlr.org/mailman/listinfo/antlr-interest
> Unsubscribe: http://www.antlr.org/mailman/options/antlr-interest/your-
> email-address



More information about the antlr-interest mailing list