C# Class Rosetta.Translation.MemberAccessExpressionTranslationUnit

Class describing member access syntaxes.
Inheritance: ExpressionTranslationUnit, ICompoundTranslationUnit
Exibir arquivo Open project: andry-tino/Rosetta Class Usage Examples

Private Properties

Property Type Description
MemberAccessMethod2String string

Public Methods

Method Description
Create ( ITranslationUnit member, MemberAccessMethod accessMethod ) : MemberAccessExpressionTranslationUnit

Translate ( ) : string

Translate the unit into TypeScript.

Protected Methods

Method Description
MemberAccessExpressionTranslationUnit ( ) : System

Initializes a new instance of the MemberAccessExpressionTranslationUnit class.

MemberAccessExpressionTranslationUnit ( int nestingLevel ) : System

Initializes a new instance of the MemberAccessExpressionTranslationUnit class.

Private Methods

Method Description
MemberAccessMethod2String ( MemberAccessMethod accessMethod ) : string

Method Details

Create() public static method

public static Create ( ITranslationUnit member, MemberAccessMethod accessMethod ) : MemberAccessExpressionTranslationUnit
member ITranslationUnit
accessMethod MemberAccessMethod
return MemberAccessExpressionTranslationUnit

MemberAccessExpressionTranslationUnit() protected method

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

MemberAccessExpressionTranslationUnit() protected method

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

Translate() public method

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