public class JsonGenerator extends Generator
| Constructor and Description |
|---|
JsonGenerator(FileManager fileManager,
TypeLoader loader) |
| Modifier and Type | Method and Description |
|---|---|
void |
generate(CDocument document)
Each compiler must implement this method.
|
getFileManagerpublic JsonGenerator(FileManager fileManager, TypeLoader loader)
public 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.