Parses a TOML payload into a syntax tree.
public static DocumentSyntax Parse(string toml, string? sourceName = null, bool validate = true)
The TOML payload.
An optional source name used in diagnostics.
When true, runs semantic validation after parsing.