SyntaxKind Enum
The kinds of node, token, and trivia a TOML tree is made of.
public enum SyntaxKindFields
| Name | Value | Description |
|---|---|---|
None | 0 | |
List | 1 | A sequence of children held in one slot. Shared by every language, and so fixed at 1. |
OpenBracketToken | 8200 | [, which opens a table header or an array. |
CloseBracketToken | 8201 | ], which closes a table header or an array. |
EqualsToken | 8202 | |
CommaToken | 8203 | |
OpenBracketOpenBracketToken | 8204 | [[, which opens an array-of-tables header. |
CloseBracketCloseBracketToken | 8205 | ]], which closes an array-of-tables header. |
OpenBraceToken | 8206 | |
CloseBraceToken | 8207 | |
DotToken | 8208 | ., which separates the parts of a dotted key. |
BareKeyToken | 8300 | A key made of A-Za-z0-9_- only. |
BasicStringToken | 8301 | A string between double quotes, such as "value". |
MultiLineBasicStringToken | 8302 | A string between three double quotes, which may span lines. |
LiteralStringToken | 8303 | A string between single quotes, which has no escape sequences. |
MultiLineLiteralStringToken | 8304 | A string between three single quotes, which may span lines and has no escape sequences. |
IntegerToken | 8305 | |
FloatToken | 8306 | |
TrueKeyword | 8307 | |
FalseKeyword | 8308 | |
OffsetDateTimeToken | 8309 | A date and time with an offset from UTC, such as 1979-05-27T07:32:00Z. |
LocalDateTimeToken | 8310 | A date and time without an offset, such as 1979-05-27T07:32:00. |
LocalDateToken | 8311 | A date without a time, such as 1979-05-27. |
LocalTimeToken | 8312 | A time without a date, such as 07:32:00. |
BadToken | 8500 | Text the parser could make no sense of. |
EndOfFileToken | 8501 | |
WhitespaceTrivia | 8600 | |
EndOfLineTrivia | 8601 | |
CommentTrivia | 8602 | |
TomlDocument | 9200 | |
TomlTable | 9201 | A table header such as [server]. |
TomlProperty | 9202 | A key/value pair such as port = 8080. |
TomlSkippedText | 9203 | A line the parser could make no sense of. |
TomlArray | 9204 | |
TomlArrayOfTables | 9205 | An array-of-tables header such as [[products]]. |
TomlKey | 9206 | A key, dotted or not, such as server.port. |
TomlInlineTable | 9207 | |
TomlString | 9208 | |
TomlInteger | 9209 | |
TomlFloat | 9210 | |
TomlBoolean | 9211 | |
TomlOffsetDateTime | 9212 | |
TomlLocalDateTime | 9213 | |
TomlLocalDate | 9214 | |
TomlLocalTime | 9215 | |
TomlSkippedValue | 9216 | A value the parser could make no sense of, or one that is missing. |