Method | Description | |
---|---|---|
ClassDefinitionTranslationUnitFactory ( CSharpSyntaxNode node, Microsoft.CodeAnalysis.SemanticModel semanticModel = null ) : System |
Initializes a new instance of the ClassDefinitionTranslationUnitFactory class.
|
|
ClassDefinitionTranslationUnitFactory ( |
Copy initializes a new instance of the ClassDefinitionTranslationUnitFactory class. For testability. |
Method | Description | |
---|---|---|
CreateHelper ( Microsoft.CodeAnalysis.CSharp.Syntax.ClassDeclarationSyntax node, Microsoft.CodeAnalysis.SemanticModel semanticModel ) : Rosetta.AST.Helpers.ClassDeclaration |
|
|
CreateTranslationUnit ( VisibilityToken visibility, ITranslationUnit name, ITranslationUnit baseClassName ) : ITranslationUnit |
Creates the translation unit. Must return a type inheriting from ClassDeclarationTranslationUnit. |
public ClassDefinitionTranslationUnitFactory ( CSharpSyntaxNode node, Microsoft.CodeAnalysis.SemanticModel semanticModel = null ) : System | ||
node | CSharpSyntaxNode | |
semanticModel | Microsoft.CodeAnalysis.SemanticModel | The semantic model |
return | System |
public ClassDefinitionTranslationUnitFactory ( |
||
other | ||
return | System |
protected CreateHelper ( Microsoft.CodeAnalysis.CSharp.Syntax.ClassDeclarationSyntax node, Microsoft.CodeAnalysis.SemanticModel semanticModel ) : Rosetta.AST.Helpers.ClassDeclaration | ||
node | Microsoft.CodeAnalysis.CSharp.Syntax.ClassDeclarationSyntax | |
semanticModel | Microsoft.CodeAnalysis.SemanticModel | |
return | Rosetta.AST.Helpers.ClassDeclaration |
protected CreateTranslationUnit ( VisibilityToken visibility, ITranslationUnit name, ITranslationUnit baseClassName ) : ITranslationUnit | ||
visibility | VisibilityToken | |
name | ITranslationUnit | |
baseClassName | ITranslationUnit | |
return | ITranslationUnit |