Method FindDeclaration
- Namespace
- Alternet.Syntax.CodeCompletion
- Assembly
- Alternet.Syntax.v10.dll
FindDeclaration(string, ISyntaxNode, Point)
Obtains information about where the language element is declared.
public virtual object FindDeclaration(string text, ISyntaxNode node, Point position)
Parameters
textstringSpecifies the source text.
nodeISyntaxNodeSpecifies
ISyntaxNoderepresenting a current language element.positionPointSpecifies position of language element.
Returns
- object
ISyntaxNoderepresenting declaration of the language element.