getRawCharacters in langtools 8
Antonio Tancredi
nazareno.tancredi at gmail.com
Tue Dec 3 09:41:51 PST 2013
Hi,
I used to get the text for a token using the getRawCharacters from the
Scanner class.
For instance, here:
public class Wolf {
void f() {
long i = 1L;
}
}
for the long literal, I want to get back the text '1L' not just '1'.
In langtools 8, is there any way to access getRawCharacters from
UnicodeReader without extends anything (I think that extending the
tokenizer and the scanner could do the trick)?
Thanks,
Antonio
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.openjdk.java.net/pipermail/compiler-dev/attachments/20131203/41c103da/attachment.html
More information about the compiler-dev
mailing list