Header menu logo fantomas

Fantomas.Core overview (3)

After the Context travelled through the composed CodePrinter function, all events are captured.
These can be converted to a string of formatted code.

graph TD A[Transform source code to tree] --> B B[Traverse Oak to get formatted code] --> C[Formatted code] style C stroke:#338CBB,stroke-width:2px

Post processing

As a final step in the process, we validate the result of the code generation.
We do this by parsing the existing code and investigating the fsharp diagnostics. When there are any warnings or errors, we will throw an exception. Some warnings are are allowed as they indicate problems that were most likely already present in the input code. See Validation.fs for more details.

Type something to start searching.