public abstract class Generator extends Object
| Constructor and Description |
|---|
Generator(FileManager manager) |
| Modifier and Type | Method and Description |
|---|---|
abstract void |
generate(CDocument document)
Each compiler must implement this method.
|
protected FileManager |
getFileManager() |
public Generator(FileManager manager)
protected final FileManager getFileManager()
public abstract void generate(CDocument document) throws IOException, GeneratorException
document - 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.