C# Class Rosetta.ScriptSharp.Definition.AST.Factories.EnumDefinitionTranslationUnitFactory

Generic helper.
Inheritance: EnumTranslationUnitFactory
Exibir arquivo Open project: andry-tino/Rosetta Class Usage Examples

Public Methods

Method Description
EnumDefinitionTranslationUnitFactory ( CSharpSyntaxNode node, Microsoft.CodeAnalysis.SemanticModel semanticModel = null ) : System

Initializes a new instance of the EnumDefinitionTranslationUnitFactory class.

EnumDefinitionTranslationUnitFactory ( EnumDefinitionTranslationUnitFactory other ) : System

Copy initializes a new instance of the EnumDefinitionTranslationUnitFactory class.

For testability.

Protected Methods

Method Description
CreateTranslationUnit ( VisibilityToken visibility, ITranslationUnit name ) : ITranslationUnit

Creates the translation unit.

Must return a type inheriting from EnumTranslationUnit.

Method Details

CreateTranslationUnit() protected method

Creates the translation unit.
Must return a type inheriting from EnumTranslationUnit.
protected CreateTranslationUnit ( VisibilityToken visibility, ITranslationUnit name ) : ITranslationUnit
visibility VisibilityToken
name ITranslationUnit
return ITranslationUnit

EnumDefinitionTranslationUnitFactory() public method

Initializes a new instance of the EnumDefinitionTranslationUnitFactory class.
public EnumDefinitionTranslationUnitFactory ( CSharpSyntaxNode node, Microsoft.CodeAnalysis.SemanticModel semanticModel = null ) : System
node CSharpSyntaxNode
semanticModel Microsoft.CodeAnalysis.SemanticModel The semantic model
return System

EnumDefinitionTranslationUnitFactory() public method

Copy initializes a new instance of the EnumDefinitionTranslationUnitFactory class.
For testability.
public EnumDefinitionTranslationUnitFactory ( EnumDefinitionTranslationUnitFactory other ) : System
other EnumDefinitionTranslationUnitFactory
return System