C# Class Rosetta.Translation.ExpressionTranslationUnit

Class describing expressions. TODO: Remove inherit from NestedElementTranslationUnit.
Inheritance: NestedElementTranslationUnit, ITranslationUnit
Afficher le fichier Open project: andry-tino/Rosetta Class Usage Examples

Méthodes publiques

Méthode Description
Translate ( ) : string

Override this.

Do not implement a fallback mechanism when overriding.

Méthodes protégées

Méthode Description
ExpressionTranslationUnit ( ) : System

Initializes a new instance of the ExpressionTranslationUnit class.

ExpressionTranslationUnit ( ITranslationUnit translationUnit ) : System

Initializes a new instance of the ExpressionTranslationUnit class.

ExpressionTranslationUnit ( int nestingLevel ) : System

Initializes a new instance of the ExpressionTranslationUnit class.

Private Methods

Méthode Description
Create ( ITranslationUnit translationUnit ) : ExpressionTranslationUnit

This builder has a sole purpose: allowing the ability to create expressions that translates in a particular desired way. This is more a utility mechanism!

Method Details

ExpressionTranslationUnit() protected méthode

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

ExpressionTranslationUnit() protected méthode

Initializes a new instance of the ExpressionTranslationUnit class.
protected ExpressionTranslationUnit ( ITranslationUnit translationUnit ) : System
translationUnit ITranslationUnit The translation unit to use for rendering.
Résultat System

ExpressionTranslationUnit() protected méthode

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

Translate() public méthode

Override this.
Do not implement a fallback mechanism when overriding.
public Translate ( ) : string
Résultat string