Utf8TomlTokenType Enum

The kind of a token read by a Utf8TomlReader.

public enum Utf8TomlTokenType : byte

Fields

NameValueDescription
None0No token has been read yet.
TableHeader1The [ of a table header. The segments of its key follow as Utf8TomlTokenType.PropertyName tokens.
ArrayOfTablesHeader2The [[ of an array-of-tables header. The segments of its key follow as Utf8TomlTokenType.PropertyName tokens.
PropertyName3A segment of a key. A dotted key is read as one token per segment; the last one has Utf8TomlTokenFlags.LastKeySegment.
String4A string value.
Integer5An integer value.
Float6A floating-point value, including inf and nan.
Boolean7A boolean value.
OffsetDateTime8An offset date-time, such as 1979-05-27T07:32:00Z.
LocalDateTime9A local date-time, such as 1979-05-27T07:32:00.
LocalDate10A local date, such as 1979-05-27.
LocalTime11A local time, such as 07:32:00.
StartArray12The [ of an array value.
EndArray13The ] of an array value.
StartInlineTable14The { of an inline table.
EndInlineTable15The } of an inline table.
Comment16A comment, only read when Utf8TomlReaderOptions.CommentHandling is TomlCommentHandling.Allow.