Skip to main content

parse

Function parse 

Source
pub fn parse(source: &str) -> Result<FSharpRoot, OakError>
Expand description

Parses F# source code into a FSharpRoot AST.

This is a convenience function that initializes the language, builder, and parser to process the source text.

ยงErrors

Returns an oak_core::OakError if parsing fails.