[antlr-interest] Declaring globals

Jono Juggler jono at mail2Juggler.com
Tue Feb 6 23:07:56 PST 2007


Hey all,

I am a Antlr gnub with a quick question. Is there a way to declare
globals or something within the scope of the main class that can be
accessed by the parser? I want a way to count language features (ie - if
statements, for loops, method calls) in Java source.

Thanks.



Rock bottom prices! Click to save on brand name copiers today
<http://tagline.bidsystem.com/fc/CAaCDCaBAAdfKLM6lRsIfSZraM91wp8p/> 



<span id=m2wTl><p><font face="Arial, Helvetica, sans-serif" size="2" style="font-size:13.5px">_______________________________________________________________<BR>Get the Free email that has everyone talking at <a href=http://www.mail2world.com target=new>http://www.mail2world.com</a><br>  <font color=#999999>Unlimited Email Storage &#150; POP3 &#150; Calendar &#150; SMS &#150; Translator &#150; Much More!</font></font></span>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.antlr.org/pipermail/antlr-interest/attachments/20070206/3456a853/attachment.html 


More information about the antlr-interest mailing list