[antlr-interest] Fwd: How can I check in a code section of which type a token is?
OJAY78 at gmx.de
OJAY78 at gmx.de
Sun Oct 7 14:59:07 PDT 2007
Hi @all,
I have such an Rule alternative
'IsEqual''('a=function_type ',' b=identifier','c=(STRING_CONST|identifier)')'
{
if ($c.type==STRING_CONST)????
}
How can I detect inside my code Section if c is of the typ STRING_CONST or identifier. Thanks for your help!!
--
Der GMX SmartSurfer hilft bis zu 70% Ihrer Onlinekosten zu sparen!
Ideal für Modem und ISDN: http://www.gmx.net/de/go/smartsurfer
--
Ist Ihr Browser Vista-kompatibel? Jetzt die neuesten
Browser-Versionen downloaden: http://www.gmx.net/de/go/browser
More information about the antlr-interest
mailing list