Target.java | Class | The code generator for ANTLR can usually be retargeted just by providing
a new X.stg file for language X, however, sometimes the files that must
be generated vary enough that some X-specific functionality is required.
For example, in C, you must generate header files whereas in Java you do not.
Other languages may want to keep DFA separate from the main
generated recognizer file.
The notion of a Code Generator target abstracts out the creation
of the various files. |