C# Class Rosetta.Translation.Renderings.Data.TranslationUnitHelper

Datei anzeigen Open project: andry-tino/Rosetta

Public Methods

Method Description
AddClass ( this translationUnit, string className ) : ClassDeclarationTranslationUnit

AddClass ( this translationUnit, string className, string baseClassName ) : ClassDeclarationTranslationUnit

AddEmptyMethod ( this translationUnit, string method ) : MethodDeclarationTranslationUnit

AddExtendedInterface ( this translationUnit, string interfaceName ) : void

AddInterface ( this translationUnit, string interfaceName ) : void

AddMethod ( this translationUnit, string returnType, string name ) : MethodDeclarationTranslationUnit

AddSignature ( this translationUnit, string signature ) : MethodSignatureDeclarationTranslationUnit

AddVariable ( this translationUnit, string type, string name ) : VariableDeclarationTranslationUnit

Method Details

AddClass() public static method

public static AddClass ( this translationUnit, string className ) : ClassDeclarationTranslationUnit
translationUnit this
className string
return ClassDeclarationTranslationUnit

AddClass() public static method

public static AddClass ( this translationUnit, string className, string baseClassName ) : ClassDeclarationTranslationUnit
translationUnit this
className string
baseClassName string
return ClassDeclarationTranslationUnit

AddEmptyMethod() public static method

public static AddEmptyMethod ( this translationUnit, string method ) : MethodDeclarationTranslationUnit
translationUnit this
method string
return MethodDeclarationTranslationUnit

AddExtendedInterface() public static method

public static AddExtendedInterface ( this translationUnit, string interfaceName ) : void
translationUnit this
interfaceName string
return void

AddInterface() public static method

public static AddInterface ( this translationUnit, string interfaceName ) : void
translationUnit this
interfaceName string
return void

AddMethod() public static method

public static AddMethod ( this translationUnit, string returnType, string name ) : MethodDeclarationTranslationUnit
translationUnit this
returnType string
name string
return MethodDeclarationTranslationUnit

AddSignature() public static method

public static AddSignature ( this translationUnit, string signature ) : MethodSignatureDeclarationTranslationUnit
translationUnit this
signature string
return MethodSignatureDeclarationTranslationUnit

AddVariable() public static method

public static AddVariable ( this translationUnit, string type, string name ) : VariableDeclarationTranslationUnit
translationUnit this
type string
name string
return VariableDeclarationTranslationUnit