C# 클래스 ArchiMetrics.Analysis.Metrics.HalsteadAnalyzer

상속: Microsoft.CodeAnalysis.SyntaxWalker
파일 보기 프로젝트 열기: jjrdk/ArchiMetrics 1 사용 예제들

공개 메소드들

메소드 설명
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

비공개 메소드들

메소드 설명
ParseTokens ( IEnumerable tokens, IEnumerable filter ) : IList>.IDictionary

메소드 상세

Calculate() 공개 메소드

public Calculate ( Microsoft.CodeAnalysis.SyntaxNode syntax ) : IHalsteadMetrics
syntax Microsoft.CodeAnalysis.SyntaxNode
리턴 IHalsteadMetrics

HalsteadAnalyzer() 공개 메소드

public HalsteadAnalyzer ( ) : System.Collections.Generic
리턴 System.Collections.Generic

Visit() 공개 메소드

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.
리턴 void

VisitBlock() 공개 메소드

public VisitBlock ( BlockSyntax node ) : void
node BlockSyntax
리턴 void