C# Class Rosetta.AST.LocalDeclarationStatementASTWalker

This is a walker for local eclarations.
This walker does not actually walks into more nodes. This is a dead-end walker.
Inheritance: StatementASTWalker
Show file Open project: andry-tino/Rosetta Class Usage Examples

Public Methods

Method Description
Create ( CSharpSyntaxNode node, Microsoft.CodeAnalysis.SemanticModel semanticModel = null ) : LocalDeclarationStatementASTWalker

Factory method for class LocalDeclarationStatementASTWalker.

LocalDeclarationStatementASTWalker ( LocalDeclarationStatementASTWalker other ) : System

Copy initializes a new instance of the LocalDeclarationStatementASTWalker class.

For testability.

Protected Methods

Method Description
LocalDeclarationStatementASTWalker ( CSharpSyntaxNode node, LocalDeclarationStatementTranslationUnit localDeclarationStatement, Microsoft.CodeAnalysis.SemanticModel semanticModel ) : System

Initializes a new instance of the LocalDeclarationStatementASTWalker class.

Method Details

Create() public static method

Factory method for class LocalDeclarationStatementASTWalker.
public static Create ( CSharpSyntaxNode node, Microsoft.CodeAnalysis.SemanticModel semanticModel = null ) : LocalDeclarationStatementASTWalker
node CSharpSyntaxNode Used to initialize the walker.
semanticModel Microsoft.CodeAnalysis.SemanticModel The semantic model.
return LocalDeclarationStatementASTWalker

LocalDeclarationStatementASTWalker() protected method

Initializes a new instance of the LocalDeclarationStatementASTWalker class.
protected LocalDeclarationStatementASTWalker ( CSharpSyntaxNode node, LocalDeclarationStatementTranslationUnit localDeclarationStatement, Microsoft.CodeAnalysis.SemanticModel semanticModel ) : System
node CSharpSyntaxNode
localDeclarationStatement Rosetta.Translation.LocalDeclarationStatementTranslationUnit
semanticModel Microsoft.CodeAnalysis.SemanticModel The semantic model.
return System

LocalDeclarationStatementASTWalker() public method

Copy initializes a new instance of the LocalDeclarationStatementASTWalker class.
For testability.
public LocalDeclarationStatementASTWalker ( LocalDeclarationStatementASTWalker other ) : System
other LocalDeclarationStatementASTWalker
return System