|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface CodeTarget
Interface which setups a code target for the compiler. There are a number
of predefined code targets in the Targets table. Targets are simply
different ANTLR string templates which can produce completely different
type of output.
To provide your own target simply implement this interface and return a set
of your own templates. The templates themselves, must implement the
IntermediateTemplate StringTemplate interface provided in the
org.jnetstream.lang.template package. This is a special type
of interface that is not a Java interface but a StringTemplate interface
that uses string template syntax. The string template interface ensures
that all the elements for which the output emitter utilizing intermediate
AST has all the appropriate template elements, all with correct formal
parameters and names.
| Method Summary | |
|---|---|
java.io.File[] |
getTemplateFiles()
Gets the list of template files that are grouped into a StringTemplateGroup by the compiler. |
| Method Detail |
|---|
java.io.File[] getTemplateFiles()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||