C# Class Rosetta.Translation.StatementsGroupTranslationUnit

Class describing a group of statements.
Inheritance: NestedElementTranslationUnit, ITranslationUnit, ICompoundTranslationUnit
Afficher le fichier Open project: andry-tino/Rosetta Class Usage Examples

Méthodes publiques

Méthode Description
AddStatement ( ITranslationUnit statement ) : void

Create ( ) : StatementsGroupTranslationUnit

Translate ( ) : string

Translate the unit into TypeScript.

Méthodes protégées

Méthode Description
ShouldRenderSemicolon ( ITranslationUnit statement ) : bool
StatementsGroupTranslationUnit ( ) : System

Initializes a new instance of the StatementsGroupTranslationUnit class.

StatementsGroupTranslationUnit ( int nestingLevel ) : System

Initializes a new instance of the StatementsGroupTranslationUnit class.

Method Details

AddStatement() public méthode

public AddStatement ( ITranslationUnit statement ) : void
statement ITranslationUnit
Résultat void

Create() public static méthode

public static Create ( ) : StatementsGroupTranslationUnit
Résultat StatementsGroupTranslationUnit

ShouldRenderSemicolon() protected méthode

protected ShouldRenderSemicolon ( ITranslationUnit statement ) : bool
statement ITranslationUnit
Résultat bool

StatementsGroupTranslationUnit() protected méthode

Initializes a new instance of the StatementsGroupTranslationUnit class.
protected StatementsGroupTranslationUnit ( ) : System
Résultat System

StatementsGroupTranslationUnit() protected méthode

Initializes a new instance of the StatementsGroupTranslationUnit class.
protected StatementsGroupTranslationUnit ( int nestingLevel ) : System
nestingLevel int
Résultat System

Translate() public méthode

Translate the unit into TypeScript.
public Translate ( ) : string
Résultat string