C# Class Rosetta.Translation.ClassDeclarationTranslationUnit

Interface for describing compound translation elements.
Internal members protected for testability.
Inheritance: ScopedElementTranslationUnit, ITranslationUnit, ICompoundTranslationUnit, ITranslationInjector
Afficher le fichier Open project: andry-tino/Rosetta Class Usage Examples

Protected Properties

Свойство Type Description
constructorDeclarations IEnumerable
injectedBefore ITranslationUnit
memberDeclarations IEnumerable
methodDeclarations IEnumerable
propertyDeclarations IEnumerable

Méthodes publiques

Méthode Description
AddConstructorDeclaration ( ITranslationUnit translationUnit ) : void

AddImplementedInterface ( ITranslationUnit implementedInterface ) : void

AddMemberDeclaration ( ITranslationUnit translationUnit ) : void

AddMethodDeclaration ( ITranslationUnit translationUnit ) : void

AddPropertyDeclaration ( ITranslationUnit translationUnit ) : void

ClassDeclarationTranslationUnit ( ClassDeclarationTranslationUnit other ) : System

Copy initializes a new instance of the ClassDeclarationTranslationUnit class.

For testability.

Create ( VisibilityToken visibility, ITranslationUnit name, ITranslationUnit baseClassName ) : ClassDeclarationTranslationUnit

Translate ( ) : string

Translate the unit into TypeScript.

Méthodes protégées

Méthode Description
ClassDeclarationTranslationUnit ( ) : System

Initializes a new instance of the ClassDeclarationTranslationUnit class.

Private Methods

Méthode Description
BuildClassInheritanceAndInterfaceImplementationList ( ) : string

Method Details

AddConstructorDeclaration() public méthode

public AddConstructorDeclaration ( ITranslationUnit translationUnit ) : void
translationUnit ITranslationUnit
Résultat void

AddImplementedInterface() public méthode

public AddImplementedInterface ( ITranslationUnit implementedInterface ) : void
implementedInterface ITranslationUnit
Résultat void

AddMemberDeclaration() public méthode

public AddMemberDeclaration ( ITranslationUnit translationUnit ) : void
translationUnit ITranslationUnit
Résultat void

AddMethodDeclaration() public méthode

public AddMethodDeclaration ( ITranslationUnit translationUnit ) : void
translationUnit ITranslationUnit
Résultat void

AddPropertyDeclaration() public méthode

public AddPropertyDeclaration ( ITranslationUnit translationUnit ) : void
translationUnit ITranslationUnit
Résultat void

ClassDeclarationTranslationUnit() protected méthode

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

ClassDeclarationTranslationUnit() public méthode

Copy initializes a new instance of the ClassDeclarationTranslationUnit class.
For testability.
public ClassDeclarationTranslationUnit ( ClassDeclarationTranslationUnit other ) : System
other ClassDeclarationTranslationUnit
Résultat System

Create() public static méthode

public static Create ( VisibilityToken visibility, ITranslationUnit name, ITranslationUnit baseClassName ) : ClassDeclarationTranslationUnit
visibility VisibilityToken
name ITranslationUnit
baseClassName ITranslationUnit
Résultat ClassDeclarationTranslationUnit

Translate() public méthode

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

Property Details

constructorDeclarations protected_oe property

protected IEnumerable constructorDeclarations
Résultat IEnumerable

injectedBefore protected_oe property

protected ITranslationUnit injectedBefore
Résultat ITranslationUnit

memberDeclarations protected_oe property

protected IEnumerable memberDeclarations
Résultat IEnumerable

methodDeclarations protected_oe property

protected IEnumerable methodDeclarations
Résultat IEnumerable

propertyDeclarations protected_oe property

protected IEnumerable propertyDeclarations
Résultat IEnumerable