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 JavaCodeGeneratorPrintWriterManager
java.io.IOException
public java.io.PrintWriter setupOutput(Tool tool, java.lang.String fileName) throws java.io.IOException
setupOutput
in interface JavaCodeGeneratorPrintWriterManager
java.io.IOException
public java.io.PrintWriter setupOutput(Tool tool, Grammar grammar, java.lang.String fileName) throws java.io.IOException
java.io.IOException
public void startMapping(int sourceLine)
startMapping
in interface JavaCodeGeneratorPrintWriterManager
public void startSingleSourceLineMapping(int sourceLine)
startSingleSourceLineMapping
in interface JavaCodeGeneratorPrintWriterManager
public void endMapping()
endMapping
in interface JavaCodeGeneratorPrintWriterManager
public void finishOutput() throws java.io.IOException
finishOutput
in interface JavaCodeGeneratorPrintWriterManager
java.io.IOException
public java.util.Map getSourceMaps()
getSourceMaps
in interface JavaCodeGeneratorPrintWriterManager
public int getCurrentOutputLine()