Table of Contents

Method GetRangeAt

Namespace
Alternet.Syntax.Parsers.Roslyn
Assembly
Alternet.Syntax.Parsers.Roslyn.v9.dll

GetRangeAt(Point)

Gets IRange that contains given position.

public override IRange GetRangeAt(Point position)

Parameters

position Point

Position to find range.

Returns

IRange

IRange at specified position.

GetRangeAt(Point, IList<IRange>)

Gets IRange that contains given position.

public override IRange GetRangeAt(Point position, IList<IRange> ranges)

Parameters

position Point

Position to find range.

ranges IList<IRange>

List of begin/end ranges at the given position.

Returns

IRange

IRange at specified position.