C# Class Pytocs.Translator

Top-level class responsible for translation from Python to C#.
显示文件 Open project: uxmal/pytocs Class Usage Examples

Public Methods

Method Description
Translate ( string filename, TextReader input, TextWriter output ) : void
TranslateFile ( string inputFileName, string outputFileName ) : void
Translator ( string nmspace, string moduleName, IFileSystem fs, ILogger logger ) : System

Method Details

Translate() public method

public Translate ( string filename, TextReader input, TextWriter output ) : void
filename string
input TextReader
output System.IO.TextWriter
return void

TranslateFile() public method

public TranslateFile ( string inputFileName, string outputFileName ) : void
inputFileName string
outputFileName string
return void

Translator() public method

public Translator ( string nmspace, string moduleName, IFileSystem fs, ILogger logger ) : System
nmspace string
moduleName string
fs IFileSystem
logger ILogger
return System