Skip to main content

parse_with

Function parse_with 

Source
pub fn parse_with(parser: &Tabnas, src: &str) -> Result<Value, TabnasError>
Expand description

Parse one document with a parser this crate configured, and realize the expression nodes in the result.

A parser driven directly through Tabnas::parse returns a value whose expression nodes are still handles into the per-parse arena; pass that value to realize before the next parse on the same thread.