FSharp.Formatting.CodeFormat Namespace
Functionality relating to formatting F# scripts and code snippets
Type/Module | Description |
Exposes functionality of the F# code formatter with a nice interface |
|
Uses agent to handle formatting requests |
|
Represents a kind of error reported from the F# compiler (warning or error) |
|
Represents formatted snippets |
|
Represents an individual formatted snippet with title as key |
|
Represents a line of source code as a list of TokenSpan values. This is a single case discriminated union with Line constructor. |
|
An F# snippet consists of a snippet title and a list of lines |
|
Error reported from the F# compiler consists of location (start and end), error kind and the message (wrapped in a single case discriminated union with constructor SourceError) |
|
Classifies tokens reported by the FCS |
|
A token in a parsed F# code snippet. Aside from standard tokens reported from the compiler (Token), this also includes Error (wrapping the underlined tokens), Omitted for the special [omit:...] tags and Output for the special [output:...] tag |
|
A type alias representing a list of TokenSpan values |
|
A tool tip span can be emphasized text, plain text Literal or a line brak |
|
A tool tip consists of a list of items reported from the compiler |