Method | Description | |
---|---|---|
LocateAll ( |
Gets all occurrances of a node type in the AST.
|
|
LocateFirst ( |
Gets the first occurrance of a node type in the AST.
|
|
LocateLast ( |
Gets the last occurrance of a node type in the AST.
|
|
NodeLocator ( Microsoft.CodeAnalysis.SyntaxNode syntaxNode ) : System |
Initializes a new instance of the NodeLocator class.
|
|
NodeLocator ( Microsoft.CodeAnalysis.SyntaxTree syntaxTree ) : System |
Initializes a new instance of the NodeLocator class.
|
Method | Description | |
---|---|---|
ValidateInputType ( |
public LocateAll ( |
||
nodeType | The node type to look for. | |
return | IEnumerable |
public LocateFirst ( |
||
nodeType | The node type to look for. | |
return | Microsoft.CodeAnalysis.SyntaxNode |
public LocateLast ( |
||
nodeType | The node type to look for. | |
return | Microsoft.CodeAnalysis.SyntaxNode |
public NodeLocator ( Microsoft.CodeAnalysis.SyntaxNode syntaxNode ) : System | ||
syntaxNode | Microsoft.CodeAnalysis.SyntaxNode | |
return | System |
public NodeLocator ( Microsoft.CodeAnalysis.SyntaxTree syntaxTree ) : System | ||
syntaxTree | Microsoft.CodeAnalysis.SyntaxTree | |
return | System |