public class JGenerator extends Generator
| Constructor and Description |
|---|
JGenerator(FileManager manager,
TypeRegistry registry,
JOptions options) |
| Modifier and Type | Method and Description |
|---|---|
void |
generate(CDocument document)
Each compiler must implement this method.
|
getFileManagerpublic JGenerator(FileManager manager, TypeRegistry registry, JOptions options) throws GeneratorException
GeneratorExceptionpublic void generate(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.