public class TinyGenerator extends Generator
| Constructor and Description |
|---|
TinyGenerator(FileManager manager,
net.morimekta.providence.reflect.util.TypeRegistry registry,
TinyOptions options) |
| Modifier and Type | Method and Description |
|---|---|
void |
generate(net.morimekta.providence.reflect.contained.CDocument document)
Each compiler must implement this method.
|
getFileManagerpublic TinyGenerator(FileManager manager, net.morimekta.providence.reflect.util.TypeRegistry registry, TinyOptions options)
public 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.