C# Class Pytocs.Translate.ModuleTranslator

Inheritance: StatementTranslator
显示文件 Open project: uxmal/pytocs Class Usage Examples

Public Methods

Method Description
GenerateDocComment ( string text, List comments ) : void
IsStringStatement ( Statement s, Str &lit ) : bool
ModuleTranslator ( CodeGenerator gen ) : System
Translate ( IEnumerable statements ) : void

Protected Methods

Method Description
GenerateField ( string name, CodeExpression value ) : CodeMemberField

Method Details

GenerateDocComment() public method

public GenerateDocComment ( string text, List comments ) : void
text string
comments List
return void

GenerateField() protected method

protected GenerateField ( string name, CodeExpression value ) : CodeMemberField
name string
value CodeExpression
return CodeMemberField

IsStringStatement() public method

public IsStringStatement ( Statement s, Str &lit ) : bool
s Statement
lit Str
return bool

ModuleTranslator() public method

public ModuleTranslator ( CodeGenerator gen ) : System
gen Pytocs.CodeModel.CodeGenerator
return System

Translate() public method

public Translate ( IEnumerable statements ) : void
statements IEnumerable
return void