public class CodeGenerator extends Object
Generator class that builds final source files from templates. It does so by replacing patterns in the template files.
Patterns
In classes with a single element type, "e" is used. The patterns start and end with a hash sign and come in these variants:
Block Replication
In addition to regular patterns, some classes use block replication. This allows
replicating a block of code for each type. A block starts with
====START_REPLICATED_CONTENT #<number>====
and ends with
=====END_REPLICATED_CONTENT #<number>=====
(each on a new line) where
"<number>" is an integer. Then, that content is replicated for each type where
the pattern "#REPLICATED
Constructor and Description |
---|
CodeGenerator() |
Copyright © 2015. All rights reserved.