C# Class Rosetta.Translation.ExpressionTranslationUnit

Class describing expressions. TODO: Remove inherit from NestedElementTranslationUnit.
Inheritance: NestedElementTranslationUnit, ITranslationUnit
ファイルを表示 Open project: andry-tino/Rosetta Class Usage Examples

Public Methods

Method Description
Translate ( ) : string

Override this.

Do not implement a fallback mechanism when overriding.

Protected Methods

Method 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

Method 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 method

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

ExpressionTranslationUnit() protected method

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

ExpressionTranslationUnit() protected method

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

Translate() public method

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