Gen Type
Renders a widget tree to F# source and verifies the result. mkOak turns
the root widget into a Fantomas node (recursively building its children),
run formats that node to source (optionally with a config), and parse round-trips
the source back through the parser to confirm it is syntactically valid.
Designed for pipeline use, e.g. widget |> Gen.parse or
widget |> Gen.mkOak |> Gen.run |> Gen.parse.
Static members
| Static member | Description |
|
|
|
|
Full Usage:
Gen.parse source
Parameters:
string
Returns: string
|
|
|
|
|
Fabulous.AST