Property | Type | Description | |
---|---|---|---|
bodies | ITranslationUnit[] | ||
hasFinalElse | bool | ||
lastBody | ITranslationUnit | ||
testExpressions | ITranslationUnit[] |
Method | Description | |
---|---|---|
Create ( int blocksNumber, bool hasFinalElse ) : |
|
|
SetStatementInConditionalBlock ( ITranslationUnit statement, int index ) : void |
|
|
SetStatementInElseBlock ( ITranslationUnit statement ) : void |
|
|
SetTestExpression ( ITranslationUnit testExpression, int index ) : void |
|
|
Translate ( ) : string |
Translate the unit into TypeScript.
|
Method | Description | |
---|---|---|
ConditionalStatementTranslationUnit ( ) : System |
Initializes a new instance of the ConditionalStatementTranslationUnit class.
|
|
ConditionalStatementTranslationUnit ( |
Copy initializes a new instance of the ConditionalStatementTranslationUnit class. For testability. |
|
ConditionalStatementTranslationUnit ( int nestingLevel ) : System |
Initializes a new instance of the ConditionalStatementTranslationUnit class.
|
protected ConditionalStatementTranslationUnit ( ) : System | ||
return | System |
protected ConditionalStatementTranslationUnit ( |
||
other | ||
return | System |
protected ConditionalStatementTranslationUnit ( int nestingLevel ) : System | ||
nestingLevel | int | |
return | System |
public static Create ( int blocksNumber, bool hasFinalElse ) : |
||
blocksNumber | int | |
hasFinalElse | bool | |
return |
public SetStatementInConditionalBlock ( ITranslationUnit statement, int index ) : void | ||
statement | ITranslationUnit | Can be a block or a statement. |
index | int | |
return | void |
public SetStatementInElseBlock ( ITranslationUnit statement ) : void | ||
statement | ITranslationUnit | Can be a block or a statement. |
return | void |
public SetTestExpression ( ITranslationUnit testExpression, int index ) : void | ||
testExpression | ITranslationUnit | |
index | int | |
return | void |