Header menu logo fantomas

Fantomas.FCS.Text Namespace

Type/Module Description

Display

FileIndex (Module)

FileIndex (Type)

An index into a global tables of filenames

FormatOptions

A record of options to control structural formatting. For F# Interactive properties matching those of this value can be accessed via the 'fsi' value. Floating Point format given in the same format accepted by System.Double.ToString, e.g. f6 or g15. If ShowProperties is set the printing process will evaluate properties of the values being displayed. This may cause additional computation. The ShowIEnumerable is set the printing process will force the evaluation of IEnumerable objects to a small, finite depth, as determined by the printing parameters. This may lead to additional computation being performed during printing.

IEnvironment

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.

Joint

Data representing joints in structured layouts of terms. The representation of this data type is only for the consumption of formatting engines.

Layout (Module)

A layout is a sequence of strings which have been joined together. The strings are classified as words, separators and left and right parenthesis. This classification determines where spaces are inserted. A joint is either unbreakable, breakable or broken. If a joint is broken the RHS layout occurs on the next line with optional indentation. A layout can be squashed to for given width which forces breaks as required.

Layout (Type)

Data representing structured layouts of terms.

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)

NotedSourceConstruct

pos

Represents a position in a file

Position (Module)

Position (Type)

Represents a position in a file

Position01

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

Range (Module)

Range (Type)

Represents a range within a file

range

Represents a range within a file

Range01

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

SourceText

Functions related to ISourceText objects

SourceTextNew

TaggedText (Module)

TaggedText (Type)

Represents text with a tag

TaggedTextWriter

TextTag

Represents the tag of some tagged text

Type something to start searching.