Public Member Functions

antlr.JavaCodeGeneratorPrintWriterManager Interface Reference

Inheritance diagram for antlr.JavaCodeGeneratorPrintWriterManager:
antlr.DefaultJavaCodeGeneratorPrintWriterManager

List of all members.

Public Member Functions

PrintWriter setupOutput (Tool tool, Grammar grammar) throws IOException
PrintWriter setupOutput (Tool tool, String fileName) throws IOException
void startMapping (int sourceLine)
void startSingleSourceLineMapping (int sourceLine)
void endMapping ()
void finishOutput () throws IOException
Map getSourceMaps ()

Detailed Description

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?


Member Function Documentation

void antlr.JavaCodeGeneratorPrintWriterManager.finishOutput (  )  throws IOException
Map antlr.JavaCodeGeneratorPrintWriterManager.getSourceMaps (  ) 
PrintWriter antlr.JavaCodeGeneratorPrintWriterManager.setupOutput ( Tool  tool,
String  fileName 
) throws IOException
PrintWriter antlr.JavaCodeGeneratorPrintWriterManager.setupOutput ( Tool  tool,
Grammar  grammar 
) throws IOException
void antlr.JavaCodeGeneratorPrintWriterManager.startMapping ( int  sourceLine  ) 
void antlr.JavaCodeGeneratorPrintWriterManager.startSingleSourceLineMapping ( int  sourceLine  ) 

The documentation for this interface was generated from the following file:
 All Classes Namespaces Files Functions Variables Enumerations Properties