[antlr-interest] Can I catch filtered text as a token?

新买 inshua at gmail.com
Thu Nov 2 02:34:48 PST 2006


Now there is some text as
<java>
    <c>
          printf("ccc");
          <java>  System.out.println("javavava"); </java>
    </c>
</java>

I' m creating a lexer to parse the text. With filter option turned on, I can
get the tag <java> <c> etc.

But the important code is missing by filter.

Would you tell me how to snag the filtered text as a token? thanks.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.antlr.org/pipermail/antlr-interest/attachments/20061102/8d987f65/attachment.html 


More information about the antlr-interest mailing list