메소드 | 설명 | |
---|---|---|
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. |
메소드 | 설명 | |
---|---|---|
ProgramDefinitionASTWalker ( CSharpSyntaxNode node, |
Initializes a new instance of the ProgramDefinitionASTWalker class.
|
메소드 | 설명 | |
---|---|---|
CreateWalkingContext ( ) : |
public static Create ( CSharpSyntaxNode node, |
||
node | CSharpSyntaxNode | |
context | The walking context. | |
semanticModel | Microsoft.CodeAnalysis.SemanticModel | The semantic model. |
리턴 |
protected ProgramDefinitionASTWalker ( CSharpSyntaxNode node, |
||
node | CSharpSyntaxNode | |
program | ||
semanticModel | Microsoft.CodeAnalysis.SemanticModel | The semantic model. |
리턴 | System |
public ProgramDefinitionASTWalker ( |
||
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 |
public VisitNamespaceDeclaration ( Microsoft.CodeAnalysis.CSharp.Syntax.NamespaceDeclarationSyntax node ) : void | ||
node | Microsoft.CodeAnalysis.CSharp.Syntax.NamespaceDeclarationSyntax | |
리턴 | void |