Header menu logo F# Compiler Guide

FSharp.Compiler.Text Namespace

Type/Module Description

ISourceText

Represents an input to the F# compiler

ISourceTextNew

Just like ISourceText, but with a checksum. Added as a separate type to avoid breaking changes.

Line

Functions related to converting between lines indexed at 0 and 1

Line0

Represents a line number when using zero-based line counting (used by Visual Studio)

NavigableTaggedText

An enhancement to TaggedText in the TaggedText layouts generated by FSharp.Compiler.Service

pos

Represents a position in a file

Position (Module)

Position (Type)

Represents a position in a file

Range (Module)

Range (Type)

Represents a range within a file

range

Represents a range within a file

SourceText

Functions related to ISourceText objects

SourceTextNew

TaggedText (Module)

TaggedText (Type)

Represents text with a tag

TextTag

Represents the tag of some tagged text

Type something to start searching.