C# Class Pytocs.Translate.ConstructorGenerator

Inheritance: MethodGenerator
Exibir arquivo Open project: uxmal/pytocs Class Usage Examples

Public Methods

Method Description
ConstructorGenerator ( FunctionDef f, List args, CodeGenerator gen ) : System

Protected Methods

Method Description
Generate ( CodeParameterDeclarationExpression parms ) : CodeMemberMethod
GenerateDefaultArgMethod ( CodeParameterDeclarationExpression argList, CodeExpression paramList ) : void

Private Methods

Method Description
XlatConstructor ( SuiteStatement stmt ) : void

Method Details

ConstructorGenerator() public method

public ConstructorGenerator ( FunctionDef f, List args, CodeGenerator gen ) : System
f FunctionDef
args List
gen Pytocs.CodeModel.CodeGenerator
return System

Generate() protected method

protected Generate ( CodeParameterDeclarationExpression parms ) : CodeMemberMethod
parms CodeParameterDeclarationExpression
return CodeMemberMethod

GenerateDefaultArgMethod() protected method

protected GenerateDefaultArgMethod ( CodeParameterDeclarationExpression argList, CodeExpression paramList ) : void
argList CodeParameterDeclarationExpression
paramList CodeExpression
return void