C# 클래스 Rosetta.AST.ASTWalker

Walks a class AST node. // TODO: Override class definition in order to create an inner class and remove the node!
상속: Microsoft.CodeAnalysis.CSharp.CSharpSyntaxWalker
파일 보기 프로젝트 열기: andry-tino/Rosetta 1 사용 예제들

보호된 프로퍼티들

프로퍼티 타입 설명
node CSharpSyntaxNode
semanticModel Microsoft.CodeAnalysis.SemanticModel

공개 메소드들

메소드 설명
ASTWalker ( ASTWalker other ) : System

Copy initializes a new instance of the ASTWalker class.

For testability.

보호된 메소드들

메소드 설명
ASTWalker ( CSharpSyntaxNode node, Microsoft.CodeAnalysis.SemanticModel semanticModel ) : System

Initializes a new instance of the ASTWalker class.

OnContextChanged ( ) : void

Called when the context has changed. When accessing the context, it is already the new context, no information is provided in this method about the old one.

메소드 상세

ASTWalker() 공개 메소드

Copy initializes a new instance of the ASTWalker class.
For testability.
public ASTWalker ( ASTWalker other ) : System
other ASTWalker
리턴 System

ASTWalker() 보호된 메소드

Initializes a new instance of the ASTWalker class.
protected ASTWalker ( CSharpSyntaxNode node, Microsoft.CodeAnalysis.SemanticModel semanticModel ) : System
node CSharpSyntaxNode
semanticModel Microsoft.CodeAnalysis.SemanticModel
리턴 System

OnContextChanged() 보호된 메소드

Called when the context has changed. When accessing the context, it is already the new context, no information is provided in this method about the old one.
protected OnContextChanged ( ) : void
리턴 void

프로퍼티 상세

node 보호되어 있는 프로퍼티

protected CSharpSyntaxNode node
리턴 CSharpSyntaxNode

semanticModel 보호되어 있는 프로퍼티

protected SemanticModel,Microsoft.CodeAnalysis semanticModel
리턴 Microsoft.CodeAnalysis.SemanticModel