Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.java.programmer > #24364
| From | Jeff Higgins <jeff@invalid.invalid> |
|---|---|
| Newsgroups | comp.lang.java.programmer |
| Subject | Re: How to scan Java source texts? |
| Date | 2013-06-11 16:40 -0400 |
| Organization | A noiseless patient Spider |
| Message-ID | <kp81ku$kst$1@dont-email.me> (permalink) |
| References | <Java-Scanner-20130611180636@ram.dialup.fu-berlin.de> |
On 06/11/2013 12:26 PM, Stefan Ram wrote: > I'd like to scan Java source texts, printing one token per line. Do you mean these tokens: <http://docs.oracle.com/javase/specs/jls/se7/html/jls-3.html#jls-3.5> > I thought it might be possible with the compiler API, and > have read that it can return an AST, but I do not know how > to just obtain the tokens from the source code AST. An AST is built from the tokens above. [snip]
Back to comp.lang.java.programmer | Previous | Next — Next in thread | Find similar | Unroll thread
Re: How to scan Java source texts? Jeff Higgins <jeff@invalid.invalid> - 2013-06-11 16:40 -0400
Re: How to scan Java source texts? Jeff Higgins <jeff@invalid.invalid> - 2013-06-11 22:07 -0400
Re: How to scan Java source texts? Jeff Higgins <jeff@invalid.invalid> - 2013-06-12 04:04 -0400
Re: How to scan Java source texts? Jeff Higgins <jeff@invalid.invalid> - 2013-06-12 04:15 -0400
Re: How to scan Java source texts? Jeff Higgins <jeff@invalid.invalid> - 2013-06-12 12:22 -0400
Re: How to scan Java source texts? Jeff Higgins <jeff@invalid.invalid> - 2013-06-12 12:55 -0400
Re: How to scan Java source texts? Jeff Higgins <jeff@invalid.invalid> - 2013-06-12 14:38 -0400
Re: How to scan Java source texts? Jeff Higgins <jeff@invalid.invalid> - 2013-06-12 15:38 -0400
csiph-web