Method FindDeclaration
- Namespace
- Alternet.Syntax.Parsers.Lsp.PowerShell
- Assembly
- Alternet.Syntax.Parsers.PowerShell.v10.dll
FindDeclaration(Point, bool)
Finds the declaration node at given position.
public override SymbolLocation FindDeclaration(Point position, bool includeNonSource = false)
Parameters
positionPointSpecifies position to find a declaration.
includeNonSourceboolSpecifies that locations should be returned even if it's not in the source files.
Returns
- SymbolLocation
SymbolLocationobject that is found.