[antlr-interest] Best way to get absolute character position?
Paul J. Lucas
dude at darkfigure.org
Fri Mar 5 13:47:22 PST 2004
The Token class provides getLine() and getColumn(). But what I want is something like
getBeginCharIndex() and getEndCharIndex(), i.e., functions to tell me the absolute
character positions the token starts/ends at from the begginning of the character stream.
What's the best way to get this information?
Yahoo! Groups Links
<*> To visit your group on the web, go to:
<*> To unsubscribe from this group, send an email to:
antlr-interest-unsubscribe at yahoogroups.com
<*> Your use of Yahoo! Groups is subject to:
More information about the antlr-interest