public class DefaultJavaCodeGeneratorPrintWriterManager extends Object implements JavaCodeGeneratorPrintWriterManager
| Constructor and Description |
|---|
DefaultJavaCodeGeneratorPrintWriterManager() |
| Modifier and Type | Method and Description |
|---|---|
void |
endMapping() |
void |
finishOutput() |
int |
getCurrentOutputLine() |
Map |
getSourceMaps() |
PrintWriter |
setupOutput(Tool tool,
Grammar grammar) |
PrintWriter |
setupOutput(Tool tool,
Grammar grammar,
String fileName) |
PrintWriter |
setupOutput(Tool tool,
String fileName) |
void |
startMapping(int sourceLine) |
void |
startSingleSourceLineMapping(int sourceLine) |
public DefaultJavaCodeGeneratorPrintWriterManager()
public PrintWriter setupOutput(Tool tool, Grammar grammar) throws IOException
setupOutput in interface JavaCodeGeneratorPrintWriterManagerIOExceptionpublic PrintWriter setupOutput(Tool tool, String fileName) throws IOException
setupOutput in interface JavaCodeGeneratorPrintWriterManagerIOExceptionpublic PrintWriter setupOutput(Tool tool, Grammar grammar, String fileName) throws IOException
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 IOException
finishOutput in interface JavaCodeGeneratorPrintWriterManagerIOExceptionpublic Map getSourceMaps()
getSourceMaps in interface JavaCodeGeneratorPrintWriterManagerpublic int getCurrentOutputLine()
Copyright © 2017–2019 Eclipse Foundation. All rights reserved.