Package antlr
Class DefaultJavaCodeGeneratorPrintWriterManager
java.lang.Object
antlr.DefaultJavaCodeGeneratorPrintWriterManager
- All Implemented Interfaces:
JavaCodeGeneratorPrintWriterManager
public class DefaultJavaCodeGeneratorPrintWriterManager
extends Object
implements JavaCodeGeneratorPrintWriterManager
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
void
int
setupOutput
(Tool tool, Grammar grammar) setupOutput
(Tool tool, Grammar grammar, String fileName) setupOutput
(Tool tool, String fileName) void
startMapping
(int sourceLine) void
startSingleSourceLineMapping
(int sourceLine)
-
Constructor Details
-
DefaultJavaCodeGeneratorPrintWriterManager
public DefaultJavaCodeGeneratorPrintWriterManager()
-
-
Method Details
-
setupOutput
- Specified by:
setupOutput
in interfaceJavaCodeGeneratorPrintWriterManager
- Throws:
IOException
-
setupOutput
- Specified by:
setupOutput
in interfaceJavaCodeGeneratorPrintWriterManager
- Throws:
IOException
-
setupOutput
- Throws:
IOException
-
startMapping
public void startMapping(int sourceLine) - Specified by:
startMapping
in interfaceJavaCodeGeneratorPrintWriterManager
-
startSingleSourceLineMapping
public void startSingleSourceLineMapping(int sourceLine) - Specified by:
startSingleSourceLineMapping
in interfaceJavaCodeGeneratorPrintWriterManager
-
endMapping
public void endMapping()- Specified by:
endMapping
in interfaceJavaCodeGeneratorPrintWriterManager
-
finishOutput
- Specified by:
finishOutput
in interfaceJavaCodeGeneratorPrintWriterManager
- Throws:
IOException
-
getSourceMaps
- Specified by:
getSourceMaps
in interfaceJavaCodeGeneratorPrintWriterManager
-
getCurrentOutputLine
public int getCurrentOutputLine()
-