Свойство | Тип | Описание | |
---|---|---|---|
ApplyContextDependenciesToTranslationUnit | void | ||
CreateWalkingContext |
Метод | Описание | |
---|---|---|
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 |
|
Метод | Описание | |
---|---|---|
NamespaceDefinitionASTWalker ( CSharpSyntaxNode node, Rosetta.Translation.ModuleTranslationUnit module, Microsoft.CodeAnalysis.SemanticModel semanticModel ) : System |
Initializes a new instance of the NamespaceDefinitionASTWalker class.
|
|
OnContextChanged ( ) : void |
Метод | Описание | |
---|---|---|
ApplyContextDependenciesToTranslationUnit ( ) : void | ||
CreateWalkingContext ( ) : |
public static Create ( CSharpSyntaxNode node, |
||
node | CSharpSyntaxNode | |
context | The walking context. | |
semanticModel | Microsoft.CodeAnalysis.SemanticModel | The semantic model. |
Результат |
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. |
Результат | System |
public NamespaceDefinitionASTWalker ( |
||
other | ||
Результат | System |
public VisitClassDeclaration ( Microsoft.CodeAnalysis.CSharp.Syntax.ClassDeclarationSyntax node ) : void | ||
node | Microsoft.CodeAnalysis.CSharp.Syntax.ClassDeclarationSyntax | |
Результат | void |
public VisitEnumDeclaration ( EnumDeclarationSyntax node ) : void | ||
node | EnumDeclarationSyntax | |
Результат | void |
public VisitInterfaceDeclaration ( InterfaceDeclarationSyntax node ) : void | ||
node | InterfaceDeclarationSyntax | |
Результат | void |