Property | Type | Description | |
---|---|---|---|
ApplyContextDependenciesToTranslationUnit | void | ||
CreateWalkingContext |
Method | Description | |
---|---|---|
Create ( CSharpSyntaxNode node, |
Factory method for class NamespaceDefinitionASTWalker.
|
|
NamespaceDefinitionASTWalker ( |
Copy initializes a new instance of the NamespaceDefinitionASTWalker class. For testability. |
|
VisitClassDeclaration ( Microsoft.CodeAnalysis.CSharp.Syntax.ClassDeclarationSyntax node ) : void |
This will cause an AST walker to be created, thus we don't need to go further deeper in the tree by visiting the node. |
|
VisitEnumDeclaration ( EnumDeclarationSyntax node ) : void |
|
|
VisitInterfaceDeclaration ( InterfaceDeclarationSyntax node ) : void |
|
Method | Description | |
---|---|---|
NamespaceDefinitionASTWalker ( CSharpSyntaxNode node, Rosetta.Translation.ModuleTranslationUnit module, Microsoft.CodeAnalysis.SemanticModel semanticModel ) : System |
Initializes a new instance of the NamespaceDefinitionASTWalker class.
|
|
OnContextChanged ( ) : void |
Method | Description | |
---|---|---|
ApplyContextDependenciesToTranslationUnit ( ) : void | ||
CreateWalkingContext ( ) : |
public static Create ( CSharpSyntaxNode node, |
||
node | CSharpSyntaxNode | |
context | The walking context. | |
semanticModel | Microsoft.CodeAnalysis.SemanticModel | The semantic model. |
return |
protected NamespaceDefinitionASTWalker ( CSharpSyntaxNode node, Rosetta.Translation.ModuleTranslationUnit module, Microsoft.CodeAnalysis.SemanticModel semanticModel ) : System | ||
node | CSharpSyntaxNode | |
module | Rosetta.Translation.ModuleTranslationUnit | |
semanticModel | Microsoft.CodeAnalysis.SemanticModel | The semantic model. |
return | System |
public NamespaceDefinitionASTWalker ( |
||
other | ||
return | System |
public VisitClassDeclaration ( Microsoft.CodeAnalysis.CSharp.Syntax.ClassDeclarationSyntax node ) : void | ||
node | Microsoft.CodeAnalysis.CSharp.Syntax.ClassDeclarationSyntax | |
return | void |
public VisitEnumDeclaration ( EnumDeclarationSyntax node ) : void | ||
node | EnumDeclarationSyntax | |
return | void |
public VisitInterfaceDeclaration ( InterfaceDeclarationSyntax node ) : void | ||
node | InterfaceDeclarationSyntax | |
return | void |