프로퍼티 | 타입 | 설명 | |
---|---|---|---|
bodies | ITranslationUnit[] | ||
hasFinalElse | bool | ||
lastBody | ITranslationUnit | ||
testExpressions | ITranslationUnit[] |
메소드 | 설명 | |
---|---|---|
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.
|
메소드 | 설명 | |
---|---|---|
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 | ||
리턴 | System |
protected ConditionalStatementTranslationUnit ( |
||
other | ||
리턴 | System |
protected ConditionalStatementTranslationUnit ( int nestingLevel ) : System | ||
nestingLevel | int | |
리턴 | System |
public static Create ( int blocksNumber, bool hasFinalElse ) : |
||
blocksNumber | int | |
hasFinalElse | bool | |
리턴 |
public SetStatementInConditionalBlock ( ITranslationUnit statement, int index ) : void | ||
statement | ITranslationUnit | Can be a block or a statement. |
index | int | |
리턴 | void |
public SetStatementInElseBlock ( ITranslationUnit statement ) : void | ||
statement | ITranslationUnit | Can be a block or a statement. |
리턴 | void |
public SetTestExpression ( ITranslationUnit testExpression, int index ) : void | ||
testExpression | ITranslationUnit | |
index | int | |
리턴 | void |