reading in multiple java file.
0 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   antlr_beginner
Posted On:   Thursday, February 19, 2004 08:52 AM

I am currently undertaking a java module at university where we are using ANTLR to read in a java file and our program then extracts information from the AST it produces. Where we need help is getting the program to read in a whole directory, i.e many java files rather than just one. Does ANTRL automatically handle this or do we need to write some java code to do this? At the moment ANTLR produces one AST based on the java file. What we want is ANTLR to produce one AST based on ALL the java files in the directory specified. Can anyone help please. It would be much appreciated.

Many thanks

About | Sitemap | Contact