Skip to main content

parse_new

Function parse_new 

Source
pub fn parse_new(
    source: &str,
    base_url: &str,
    prev: Option<&PrevParseInfo>,
) -> (Turtle, Vec<TurtleParseError>, PrevParseInfo, TurtleNode, GreenNode)
Expand description

Parse a Turtle document using the A* error-recovering parser.

Returns the model, parse errors, incremental parse state, and the syntax node.