Function leo_parser::parser::parse
source ยท pub fn parse<N: Network>(
handler: &Handler,
node_builder: &NodeBuilder,
source: &str,
start_pos: BytePos,
) -> Result<Program>
Expand description
Creates a new program from a given file path and source code text.