Method GetNodeAt
- Namespace
- Alternet.Syntax.Parsers.Roslyn.CodeCompletion
- Assembly
- Alternet.Syntax.Parsers.Roslyn.v9.dll
GetNodeAt(int)
Gets Microsoft.CodeAnalysis.SyntaxNode
at specified line.
public virtual SyntaxNode GetNodeAt(int line)
Parameters
line
intLine to find node.
Returns
- SyntaxNode
Microsoft.CodeAnalysis.SyntaxNode
at specified line.
GetNodeAt(Point)
Gets Microsoft.CodeAnalysis.SyntaxNode
at specified position.
public virtual SyntaxNode GetNodeAt(Point position)
Parameters
position
PointPosition to find node.
Returns
- SyntaxNode
Microsoft.CodeAnalysis.SyntaxNode
at specified line.