Represents a semantic parse event produced by TomlParser.
public readonly struct TomlParseEvent
kind:method, kind:property, kind:ctor. Press Esc to clear.ColumnGets the 1-based column number associated with this event, or 0 when unknown.DataGets the raw scalar payload for numeric and boolean scalars. When Kind is String, this contains the underlying TokenKind for the string literal. When Kind is PropertyName, this contains an internal packed payload that includes the TokenKind of the key literal (in the low 8 bits) as well as a case-sensitive hash of the decoded property name (in the remaining high bits).KindGets the event kind.LineGets the 1-based line number associated with this event, or 0 when unknown.PropertyNameGets the property name when Kind is PropertyName. This value is only populated when the parser was configured to decode scalars eagerly; otherwise use GetPropertyName() to decode it from the original input.SpanGets the source span associated with this event, when available.StringValueGets the string scalar value when Kind is String or DateTime. For String, this value is only populated when the parser was configured to decode scalars eagerly; otherwise use GetString(). When EagerStringValues is enabled, this value may also be populated for simple basic strings (single-line, no escape sequences) even when DecodeScalars is false. For DateTime, this value contains the raw literal text so that consumers can parse it without requiring DecodeScalars.GetBoolean()Gets the current scalar value as a boolean.GetDouble()Gets the current scalar value as a double-precision number.GetInt64()Gets the current scalar value as a 64-bit integer.GetString()Gets the current scalar value as a string.GetTomlDateTime()Gets the current scalar value as a TomlDateTime.