public class JGenerator extends Generator
| Constructor and Description |
|---|
JGenerator(FileManager manager,
net.morimekta.providence.reflect.util.TypeRegistry registry,
JOptions options) |
| Modifier and Type | Method and Description |
|---|---|
void |
generate(net.morimekta.providence.reflect.contained.CDocument document)
Each compiler must implement this method.
|
getFileManagerpublic JGenerator(FileManager manager, net.morimekta.providence.reflect.util.TypeRegistry registry, JOptions options) throws GeneratorException
GeneratorExceptionpublic void generate(net.morimekta.providence.reflect.contained.CDocument document) throws IOException, GeneratorException
Generatorgenerate in class Generatordocument - The document to generate files from.IOException - If a file could not be written.GeneratorException - If some part of the file code could not be generated (invalid content).Copyright © 2016. All rights reserved.