Property | Type | Description | |
---|---|---|---|
statements | IEnumerable |
Method | Description | |
---|---|---|
AddStatement ( ITranslationUnit translationUnit ) : void |
|
|
Create ( VisibilityToken visibility, ITranslationUnit returnType, ITranslationUnit name ) : |
|
|
MethodDeclarationTranslationUnit ( |
Copy initializes a new instance of the MethodDeclarationTranslationUnit class. For testability. |
|
Translate ( ) : string |
Translate the unit into TypeScript.
|
Method | Description | |
---|---|---|
MethodDeclarationTranslationUnit ( ) : System |
Initializes a new instance of the MethodDeclarationTranslationUnit class.
|
|
ShouldRenderSemicolon ( ITranslationUnit statement ) : bool |
public AddStatement ( ITranslationUnit translationUnit ) : void | ||
translationUnit | ITranslationUnit | |
return | void |
public static Create ( VisibilityToken visibility, ITranslationUnit returnType, ITranslationUnit name ) : |
||
visibility | VisibilityToken | |
returnType | ITranslationUnit | |
name | ITranslationUnit | |
return |
protected MethodDeclarationTranslationUnit ( ) : System | ||
return | System |
public MethodDeclarationTranslationUnit ( |
||
other | ||
return | System |
protected static ShouldRenderSemicolon ( ITranslationUnit statement ) : bool | ||
statement | ITranslationUnit | |
return | bool |