C# Class Rosetta.Translation.UnaryExpressionTranslationUnit

Class describing unary expressions.
Inheritance: ExpressionTranslationUnit, ICompoundTranslationUnit
Mostrar archivo Open project: andry-tino/Rosetta

Private Properties

Property Type Description

Public Methods

Method Description
Create ( ITranslationUnit body, OperatorToken operatorToken, UnaryPosition unaryPosition ) : UnaryExpressionTranslationUnit

Translate ( ) : string

Translate the unit into TypeScript.

Protected Methods

Method Description
UnaryExpressionTranslationUnit ( ) : System

Initializes a new instance of the UnaryExpressionTranslationUnit class.

UnaryExpressionTranslationUnit ( int nestingLevel ) : System

Initializes a new instance of the UnaryExpressionTranslationUnit class.

Method Details

Create() public static method

public static Create ( ITranslationUnit body, OperatorToken operatorToken, UnaryPosition unaryPosition ) : UnaryExpressionTranslationUnit
body ITranslationUnit
operatorToken OperatorToken
unaryPosition UnaryPosition
return UnaryExpressionTranslationUnit

Translate() public method

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

UnaryExpressionTranslationUnit() protected method

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

UnaryExpressionTranslationUnit() protected method

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