C# Class Rosetta.AST.ASTWalker

Walks a class AST node. // TODO: Override class definition in order to create an inner class and remove the node!
Inheritance: Microsoft.CodeAnalysis.CSharp.CSharpSyntaxWalker
Afficher le fichier Open project: andry-tino/Rosetta Class Usage Examples

Protected Properties

Свойство Type Description
node CSharpSyntaxNode
semanticModel Microsoft.CodeAnalysis.SemanticModel

Méthodes publiques

Méthode Description
ASTWalker ( ASTWalker other ) : System

Copy initializes a new instance of the ASTWalker class.

For testability.

Méthodes protégées

Méthode Description
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.

Method Details

ASTWalker() public méthode

Copy initializes a new instance of the ASTWalker class.
For testability.
public ASTWalker ( ASTWalker other ) : System
other ASTWalker
Résultat System

ASTWalker() protected méthode

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

OnContextChanged() protected méthode

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
Résultat void

Property Details

node protected_oe property

protected CSharpSyntaxNode node
Résultat CSharpSyntaxNode

semanticModel protected_oe property

protected SemanticModel,Microsoft.CodeAnalysis semanticModel
Résultat Microsoft.CodeAnalysis.SemanticModel