This POC provides examples of use of tjpp[tm] (Tefigel Java preprocessor)
that produces Java files from corresponding input files with extension ".tj".
Purpose of the POC is to demonstrate how compact directives can
produce repetitive fragments of code by exploiting the lightweight
macro definition capabilities of Tefigel on micropatterns of
Java code.
Table 15 - Java Generator: Generated Files
File name
|
Source code
|
FiveProperties.java
|
View
|
Hello.java
|
View
|
Hello2.java
|
View
|
Results.java
|
View
|
SampleException1.java
|
View
|
SampleException2.java
|
View
|
SimpleClass.java
|
View
|
subpackage/ComplexClass.java
|
View
|
Table 16 - Java Generator: Input Design Files
File name
|
Source code
|
FiveProperties.tj
|
View
|
Hello.tj
|
View
|
Hello2.tj
|
View
|
Results.tj
|
View
|
SampleException1.tj
|
View
|
SampleException2.tj
|
View
|
SimpleClass.tj
|
View
|
subpackage/ComplexClass.tj
|
View
|
[Previous chapter]
[Next chapter]
[Back to top]
|