Méthode | Description | |
---|---|---|
Create ( CSharpSyntaxNode node, |
Factory method for class ProgramASTWalker.
|
|
ProgramDefinitionASTWalker ( |
Copy initializes a new instance of the ProgramDefinitionASTWalker 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 |
|
|
VisitNamespaceDeclaration ( Microsoft.CodeAnalysis.CSharp.Syntax.NamespaceDeclarationSyntax 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. |
Méthode | Description | |
---|---|---|
ProgramDefinitionASTWalker ( CSharpSyntaxNode node, |
Initializes a new instance of the ProgramDefinitionASTWalker class.
|
Méthode | Description | |
---|---|---|
CreateWalkingContext ( ) : |
public static Create ( CSharpSyntaxNode node, |
||
node | CSharpSyntaxNode | |
context | The walking context. | |
semanticModel | Microsoft.CodeAnalysis.SemanticModel | The semantic model. |
Résultat |
protected ProgramDefinitionASTWalker ( CSharpSyntaxNode node, |
||
node | CSharpSyntaxNode | |
program | ||
semanticModel | Microsoft.CodeAnalysis.SemanticModel | The semantic model. |
Résultat | System |
public ProgramDefinitionASTWalker ( |
||
other | ||
Résultat | System |
public VisitClassDeclaration ( Microsoft.CodeAnalysis.CSharp.Syntax.ClassDeclarationSyntax node ) : void | ||
node | Microsoft.CodeAnalysis.CSharp.Syntax.ClassDeclarationSyntax | |
Résultat | void |
public VisitEnumDeclaration ( EnumDeclarationSyntax node ) : void | ||
node | EnumDeclarationSyntax | |
Résultat | void |
public VisitInterfaceDeclaration ( InterfaceDeclarationSyntax node ) : void | ||
node | InterfaceDeclarationSyntax | |
Résultat | void |
public VisitNamespaceDeclaration ( Microsoft.CodeAnalysis.CSharp.Syntax.NamespaceDeclarationSyntax node ) : void | ||
node | Microsoft.CodeAnalysis.CSharp.Syntax.NamespaceDeclarationSyntax | |
Résultat | void |