public class JsonGenerator extends Generator
| Constructor and Description |
|---|
JsonGenerator(FileManager fileManager) |
| Modifier and Type | Method and Description |
|---|---|
void |
generate(ProgramTypeRegistry registry)
Each compiler must implement this method.
|
generateGlobal, getFileManagerpublic JsonGenerator(FileManager fileManager)
public void generate(ProgramTypeRegistry registry) throws IOException, GeneratorException
Generatorgenerate in class Generatorregistry - The typed and scoped registry for the program.IOException - If a file could not be written.GeneratorException - If some part of the file code could not be generated (invalid content).Copyright © 2015–2018 morimekta.net. All rights reserved.