antlr
Interface JavaCodeGeneratorPrintWriterManager
- DefaultJavaCodeGeneratorPrintWriterManager
public interface JavaCodeGeneratorPrintWriterManager
Defines a strategy that can be used to manage the printwriter
being used to write JavaCodeGenerator output
TODO generalize so all code gens could use?
endMapping
public void endMapping()
finishOutput
public void finishOutput()
throws IOException
getSourceMaps
public Map getSourceMaps()
setupOutput
public PrintWriter setupOutput(Tool tool,
String fileName)
throws IOException
setupOutput
public PrintWriter setupOutput(Tool tool,
Grammar grammar)
throws IOException
startMapping
public void startMapping(int sourceLine)
startSingleSourceLineMapping
public void startSingleSourceLineMapping(int sourceLine)