FSharp.Compiler.Text Namespace
| Type/Module | Description |
|
Represents an input to the F# compiler |
|
|
Just like ISourceText, but with a checksum. Added as a separate type to avoid breaking changes. |
|
|
Functions related to converting between lines indexed at 0 and 1 |
|
|
Represents a line number when using zero-based line counting (used by Visual Studio) |
|
|
An enhancement to TaggedText in the TaggedText layouts generated by FSharp.Compiler.Service |
|
|
Represents a position in a file |
|
|
|
|
|
Represents a position in a file |
|
|
Represents a position using zero-based line counting (used by Visual Studio) |
|
|
|
|
|
Represents a range within a file |
|
|
Represents a range within a file |
|
|
Represents a range using zero-based line counting (used by Visual Studio) |
|
|
Represents text made of tagged parts, e.g. a diagnostic message in which types, identifiers and punctuation are classified, so that tooling is able to render them with colors. Text that carries no classification is represented as a single part tagged TextTag.Text, so that a plain string is always representable and Text is always equal to the original string. Two rich texts are equal when they read the same. Classification does not take part in equality, since the places that compare texts - such as deciding whether two types can be told apart in a message - are asking about what reaches the reader. |
|
|
Functions related to ISourceText objects |
|
|
|
|
|
|
|
|
Represents text with a tag |
|
|
Represents the tag of some tagged text |
F# Compiler Guide