Low-level parsing APIs: allocation-free lexer and incremental parser, plus the lossless syntax parser.
SyntaxParserProvides a full-fidelity TOML syntax parser producing a round-trippable DocumentSyntax.TomlLexerProvides incremental lexical tokenization for TOML text.TomlLexerOptionsConfigures the behavior of TomlLexer.TomlParserParses TOML into an incremental event stream.TomlParserOptionsConfigures the behavior of TomlParser.SyntaxTokenValueA lightweight token struct to avoid GC allocations.TomlParseEventRepresents a semantic parse event produced by TomlParser.TomlLexerModeControls whether the lexer reads key-oriented or value-oriented tokens.TomlParseEventKindRepresents the semantic event kinds emitted by TomlParser.TomlParserModeSpecifies how TomlParser handles syntax errors.This namespace provides:
TomlLexer: an allocation-free token stream with precise source locations.TomlParser: a pull-based, incremental event stream (MoveNext()) suitable for readers/serializers.SyntaxParser: a full-fidelity parser that builds a round-trippable DocumentSyntax (trivia-preserving).