C# Class Rosetta.Translation.BinaryExpressionTranslationUnit

Class describing binary expressions.
Inheritance: ExpressionTranslationUnit, ICompoundTranslationUnit
Show file Open project: andry-tino/Rosetta

Private Properties

Property Type Description

Public Methods

Method Description
Create ( ITranslationUnit lhand, ITranslationUnit rhand, OperatorToken operatorToken ) : BinaryExpressionTranslationUnit

Translate ( ) : string

Translate the unit into TypeScript.

Protected Methods

Method Description
BinaryExpressionTranslationUnit ( ) : System

Initializes a new instance of the BinaryExpressionTranslationUnit class.

BinaryExpressionTranslationUnit ( int nestingLevel ) : System

Initializes a new instance of the BinaryExpressionTranslationUnit class.

Method Details

BinaryExpressionTranslationUnit() protected method

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

BinaryExpressionTranslationUnit() protected method

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

Create() public static method

public static Create ( ITranslationUnit lhand, ITranslationUnit rhand, OperatorToken operatorToken ) : BinaryExpressionTranslationUnit
lhand ITranslationUnit
rhand ITranslationUnit
operatorToken OperatorToken
return BinaryExpressionTranslationUnit

Translate() public method

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