C# Class ArchiMetrics.Analysis.Metrics.HalsteadAnalyzer

Inheritance: Microsoft.CodeAnalysis.SyntaxWalker
Afficher le fichier Open project: jjrdk/ArchiMetrics Class Usage Examples

Méthodes publiques

Méthode Description
Calculate ( Microsoft.CodeAnalysis.SyntaxNode syntax ) : IHalsteadMetrics
HalsteadAnalyzer ( ) : System.Collections.Generic
Visit ( Microsoft.CodeAnalysis.SyntaxNode node ) : void

Called when the walker visits a node. This method may be overridden if subclasses want to handle the node. Overrides should call back into this base method if they want the children of this node to be visited.

VisitBlock ( BlockSyntax node ) : void

Private Methods

Méthode Description
ParseTokens ( IEnumerable tokens, IEnumerable filter ) : IList>.IDictionary

Method Details

Calculate() public méthode

public Calculate ( Microsoft.CodeAnalysis.SyntaxNode syntax ) : IHalsteadMetrics
syntax Microsoft.CodeAnalysis.SyntaxNode
Résultat IHalsteadMetrics

HalsteadAnalyzer() public méthode

public HalsteadAnalyzer ( ) : System.Collections.Generic
Résultat System.Collections.Generic

Visit() public méthode

Called when the walker visits a node. This method may be overridden if subclasses want to handle the node. Overrides should call back into this base method if they want the children of this node to be visited.
public Visit ( Microsoft.CodeAnalysis.SyntaxNode node ) : void
node Microsoft.CodeAnalysis.SyntaxNode The current node that the walker is visiting.
Résultat void

VisitBlock() public méthode

public VisitBlock ( BlockSyntax node ) : void
node BlockSyntax
Résultat void