Fantomas.Core Namespace
| Type/Module | Description |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Raised when one or more conditional compilation define combinations produce invalid syntax trees. |
|
|
|
|
|
|
|
|
Mutable doubly-linked list of WriterEvents. Supports O(1) append, insert, remove, and truncation. |
|
|
A node in the mutable doubly-linked list of WriterEvents.
We use [ |
|
|
|
|
|
Raised when Fantomas encounters a problem during formatting. |
|
|
|
|
|
Raised when Fantomas reaches a state that its own model says is impossible, for example a chain whose parts do not fit the shape the transformer guarantees. Unlike the other exceptions here, this never indicates a problem with the code being formatted: it is a bug in Fantomas, or a change in how the F# parser groups expressions. Failing loudly is deliberate — the alternative is silently dropping parts of the source. |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Raised when the F# parser produces errors for source code without conditional directives. |
|
|
|
|
|
append only collection optimized for quick append of block of data and query operations data - list of blocks in reverse order |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
What Fantomas made of a piece of F# source when it was asked whether that source is valid. The verdict and the reason for it together, because a caller that has to tell somebody why cannot reconstruct it from a boolean, and asking twice would parse the source twice. |
|
|
|
|
|
Represents a single event emitted during the code formatting process. The sequence of writer events captures how the formatter produces its output. |
fantomas