Skip to content

parseMdiSyntax

const parseMdiSyntax: (source) => MdiSyntaxParseResult = parse

Defined in: mdi/src/index.ts:641

:::caution[Deprecated] Use parse; it now parses the complete document. :::

Parse the complete .mdi source in Rust and return the versioned language-neutral document IR. JavaScript performs no grammar work.

string

MdiSyntaxParseResult