Table of Contents

Method FindDeclaration

Namespace
Alternet.Syntax.Parsers.Python
Assembly
Alternet.Syntax.Parsers.Advanced.Python.v9.dll

FindDeclaration(string, Point)

Finds the declaration node at given position.

public override 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.

FindDeclaration(Point)

Finds the declaration node at given position.

public override SymbolLocation FindDeclaration(Point position)

Parameters

position Point

Specifies position to find a declaration.

Returns

SymbolLocation

SymbolLocation object that is found.