Utf8TomlTokenFlags Enum

Describes how the current token of a Utf8TomlReader is written.

[Flags]
public enum Utf8TomlTokenFlags : ushort

Fields

NameValueDescription
None0No flag.
LastKeySegment1The key segment is the last one of its key.
HeaderKey2The key segment belongs to a table or an array-of-tables header.
Basic4The string or key is a basic string, written between double quotes.
Literal8The string or key is a literal string, written between single quotes.
Multiline16The string is a multi-line string.
RawValue32The bytes of Utf8TomlReader.ValueSpan are the value: there is no escape sequence to decode.
Hexadecimal64The integer is written in hexadecimal (0x).
Octal128The integer is written in octal (0o).
Binary256The integer is written in binary (0b).
HasUnderscores512The number contains underscores between its digits.
SpecialFloat1024The float is inf or nan, with an optional sign.
UtcOffset2048The offset date-time uses the Z offset.
TrailingComment4096The comment follows a value or a header on the same line.