C# Class Rosetta.Translation.CastExpressionTranslationUnit

Class describing cast expressions.
Inheritance: ExpressionTranslationUnit, ICompoundTranslationUnit
ファイルを表示 Open project: andry-tino/Rosetta

Private Properties

Property Type Description

Public Methods

Method Description
Create ( ITranslationUnit type, ITranslationUnit castee ) : CastExpressionTranslationUnit

Translate ( ) : string

Translate the unit into TypeScript.

Protected Methods

Method Description
CastExpressionTranslationUnit ( ) : System

Initializes a new instance of the CastExpressionTranslationUnit class.

CastExpressionTranslationUnit ( int nestingLevel ) : System

Initializes a new instance of the CastExpressionTranslationUnit class.

Method Details

CastExpressionTranslationUnit() protected method

Initializes a new instance of the CastExpressionTranslationUnit class.
protected CastExpressionTranslationUnit ( ) : System
return System

CastExpressionTranslationUnit() protected method

Initializes a new instance of the CastExpressionTranslationUnit class.
protected CastExpressionTranslationUnit ( int nestingLevel ) : System
nestingLevel int
return System

Create() public static method

public static Create ( ITranslationUnit type, ITranslationUnit castee ) : CastExpressionTranslationUnit
type ITranslationUnit
castee ITranslationUnit
return CastExpressionTranslationUnit

Translate() public method

Translate the unit into TypeScript.
public Translate ( ) : string
return string