public class DefaultJavaCodeGeneratorPrintWriterManager extends java.lang.Object implements JavaCodeGeneratorPrintWriterManager
| Constructor and Description |
|---|
DefaultJavaCodeGeneratorPrintWriterManager() |
| Modifier and Type | Method and Description |
|---|---|
void |
endMapping() |
void |
finishOutput() |
int |
getCurrentOutputLine() |
java.util.Map |
getSourceMaps() |
java.io.PrintWriter |
setupOutput(Tool tool,
Grammar grammar) |
java.io.PrintWriter |
setupOutput(Tool tool,
Grammar grammar,
java.lang.String fileName) |
java.io.PrintWriter |
setupOutput(Tool tool,
java.lang.String fileName) |
void |
startMapping(int sourceLine) |
void |
startSingleSourceLineMapping(int sourceLine) |
public DefaultJavaCodeGeneratorPrintWriterManager()
public java.io.PrintWriter setupOutput(Tool tool, Grammar grammar) throws java.io.IOException
setupOutput in interface JavaCodeGeneratorPrintWriterManagerjava.io.IOExceptionpublic java.io.PrintWriter setupOutput(Tool tool, java.lang.String fileName) throws java.io.IOException
setupOutput in interface JavaCodeGeneratorPrintWriterManagerjava.io.IOExceptionpublic java.io.PrintWriter setupOutput(Tool tool, Grammar grammar, java.lang.String fileName) throws java.io.IOException
java.io.IOExceptionpublic void startMapping(int sourceLine)
startMapping in interface JavaCodeGeneratorPrintWriterManagerpublic void startSingleSourceLineMapping(int sourceLine)
startSingleSourceLineMapping in interface JavaCodeGeneratorPrintWriterManagerpublic void endMapping()
endMapping in interface JavaCodeGeneratorPrintWriterManagerpublic void finishOutput()
throws java.io.IOException
finishOutput in interface JavaCodeGeneratorPrintWriterManagerjava.io.IOExceptionpublic java.util.Map getSourceMaps()
getSourceMaps in interface JavaCodeGeneratorPrintWriterManagerpublic int getCurrentOutputLine()