C# Класс CodeConnect.Gistify.Engine.DiscoveryWalker

Наследование: Microsoft.CodeAnalysis.CSharp.CSharpSyntaxWalker
Показать файл Открыть проект Примеры использования класса

Private Properties

Свойство Тип Описание
DiscoveryWalker System
FindObjects IEnumerable
processIdentifierName void

Открытые методы

Метод Описание
VisitIdentifierName ( Microsoft.CodeAnalysis.CSharp.Syntax.IdentifierNameSyntax node ) : void

Called by the base class. Processes identifiers that are in desired range.

Приватные методы

Метод Описание
DiscoveryWalker ( int start, int end, Microsoft.CodeAnalysis.SemanticModel model ) : System
FindObjects ( Microsoft.CodeAnalysis.SyntaxTree tree, Microsoft.CodeAnalysis.SemanticModel model, int startPosition, int endPosition ) : IEnumerable

Finds elements used by the code in specified region of provided syntax.

processIdentifierName ( Microsoft.CodeAnalysis.CSharp.Syntax.IdentifierNameSyntax node ) : void

Examines the identifier and if applicable, creates an instance of ObjectInformation which will be consumed later by the SyntaxBuilder

Описание методов

VisitIdentifierName() публичный Метод

Called by the base class. Processes identifiers that are in desired range.
public VisitIdentifierName ( Microsoft.CodeAnalysis.CSharp.Syntax.IdentifierNameSyntax node ) : void
node Microsoft.CodeAnalysis.CSharp.Syntax.IdentifierNameSyntax
Результат void