Header menu logo fantomas

Range Type

Represents a range within a file

Instance members

Instance member Description

this.End

Full Usage: this.End

Returns: pos

The end position of the range

Returns: pos

this.EndColumn

Full Usage: this.EndColumn

Returns: int

The column number for the end position of the range

Returns: int

this.EndLine

Full Usage: this.EndLine

Returns: int

The line number for the end position of the range

Returns: int

this.EndRange

Full Usage: this.EndRange

Returns: range

The empty range that is located at the end position of the range

Returns: range

this.FileIndex

Full Usage: this.FileIndex

Returns: int

The file index for the range

Returns: int

this.FileName

Full Usage: this.FileName

Returns: string

The file name for the file of the range

Returns: string

this.IsAdjacentTo

Full Usage: this.IsAdjacentTo

Parameters:
Returns: bool

Check if the range is adjacent to another range

otherRange : Range
Returns: bool

this.IsSynthetic

Full Usage: this.IsSynthetic

Returns: bool

Synthetic marks ranges which are produced by intermediate compilation phases. This bit signifies that the range covers something that should not be visible to language service operations like dot-completion.

Returns: bool

this.MakeSynthetic

Full Usage: this.MakeSynthetic

Returns: range

Convert a range to be synthetic

Returns: range

this.NoteSourceConstruct

Full Usage: this.NoteSourceConstruct

Parameters:
Returns: range

Note that a range indicates a debug point

kind : NotedSourceConstruct
Returns: range

this.NotedSourceConstruct

Full Usage: this.NotedSourceConstruct

Returns: NotedSourceConstruct

When de-sugaring computation expressions we convert a debug point into a plain range, and then later recover that the range definitely indicates a debug point.

Returns: NotedSourceConstruct

this.Start

Full Usage: this.Start

Returns: pos

The start position of the range

Returns: pos

this.StartColumn

Full Usage: this.StartColumn

Returns: int

The start column of the range

Returns: int

this.StartLine

Full Usage: this.StartLine

Returns: int

The start line of the range

Returns: int

this.StartRange

Full Usage: this.StartRange

Returns: range

The empty range that is located at the start position of the range

Returns: range

Static members

Static member Description

Range.Zero

Full Usage: Range.Zero

Returns: range

The range where all values are zero

Returns: range

Type something to start searching.