Skip to main content

parse_document_with_spans

Function parse_document_with_spans 

Source
pub fn parse_document_with_spans(
    content: &str,
) -> Result<(EtlDocument, SpanIndex), String>
Expand description

Parse the document with serde_yaml (producing the typed AST) and build a SpanIndex over the same content.