Table of Contents

Method FindDeclaration

Namespace
Alternet.Syntax
Assembly
Alternet.Syntax.v9.dll

FindDeclaration(Point)

Finds the declaration node at given position.

public virtual SymbolLocation FindDeclaration(Point position)

Parameters

position Point

Specifies position to find a declaration.

Returns

SymbolLocation

SymbolLocation object that is found.

FindDeclaration(string, Point)

Finds the declaration node at given position.

public virtual object FindDeclaration(string text, Point position)

Parameters

text string

Contains string used to perform search.

position Point

Specifies position to find node.

Returns

object

ISyntaxNode node representing declaration.