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 TypeMethodDescriptionvoidvoidintsetupOutput(Tool tool, Grammar grammar) setupOutput(Tool tool, Grammar grammar, String fileName) setupOutput(Tool tool, String fileName) voidstartMapping(int sourceLine) voidstartSingleSourceLineMapping(int sourceLine)
-
Constructor Details
-
DefaultJavaCodeGeneratorPrintWriterManager
public DefaultJavaCodeGeneratorPrintWriterManager()
-
-
Method Details
-
setupOutput
- Specified by:
setupOutputin interfaceJavaCodeGeneratorPrintWriterManager- Throws:
IOException
-
setupOutput
- Specified by:
setupOutputin interfaceJavaCodeGeneratorPrintWriterManager- Throws:
IOException
-
setupOutput
- Throws:
IOException
-
startMapping
public void startMapping(int sourceLine) - Specified by:
startMappingin interfaceJavaCodeGeneratorPrintWriterManager
-
startSingleSourceLineMapping
public void startSingleSourceLineMapping(int sourceLine) - Specified by:
startSingleSourceLineMappingin interfaceJavaCodeGeneratorPrintWriterManager
-
endMapping
public void endMapping()- Specified by:
endMappingin interfaceJavaCodeGeneratorPrintWriterManager
-
finishOutput
- Specified by:
finishOutputin interfaceJavaCodeGeneratorPrintWriterManager- Throws:
IOException
-
getSourceMaps
- Specified by:
getSourceMapsin interfaceJavaCodeGeneratorPrintWriterManager
-
getCurrentOutputLine
public int getCurrentOutputLine()
-