TomlPropertyMetadata Class

Metadata describing a single TOML property.

public class TomlPropertyMetadata

Constructors

NameDescription
TomlPropertyMetadata()

TomlPropertyMetadata()

public TomlPropertyMetadata()

No documentation is available.

Properties

NameDescription
AllowHexEscapesGets or sets whether hexadecimal escapes may be emitted for control characters.
DisplayKindGets or sets the preferred display kind for this property.
InlineTablePolicyGets or sets the preferred inline table policy for this property.
LeadingTriviaGets the leading trivia attached to this node. Might be null if no leading trivias.
PreferLiteralWhenNoEscapesGets or sets whether literal strings should be preferred when no escaping is required.
SpanGets or sets the source span for the property.
StringStyleGets or sets the preferred string style for this property.
TableArrayStyleGets or sets the preferred array-of-tables style for this property.
TrailingTriviaGets the trailing trivia attached to this node. Might be null if no trailing trivias.
TrailingTriviaAfterEndOfLineGets the trailing trivia attached to this node. Might be null if no trailing trivias.

Gets or sets whether hexadecimal escapes may be emitted for control characters.

public bool? AllowHexEscapes { get; set; }

Property value

bool?

Gets or sets the preferred display kind for this property.

public TomlPropertyDisplayKind DisplayKind { get; set; }

InlineTablePolicy

TomlPropertyMetadata.cs

Gets or sets the preferred inline table policy for this property.

public TomlInlineTablePolicy? InlineTablePolicy { get; set; }

Gets the leading trivia attached to this node. Might be null if no leading trivias.

public List<TomlSyntaxTriviaMetadata>? LeadingTrivia { get; set; }

PreferLiteralWhenNoEscapes

TomlPropertyMetadata.cs

Gets or sets whether literal strings should be preferred when no escaping is required.

public bool? PreferLiteralWhenNoEscapes { get; set; }

Property value

bool?

Gets or sets the source span for the property.

public SourceSpan Span { get; set; }

Property value

SourceSpan

Gets or sets the preferred string style for this property.

public TomlStringStyle? StringStyle { get; set; }

Property value

TomlStringStyle?

Gets or sets the preferred array-of-tables style for this property.

public TomlTableArrayStyle? TableArrayStyle { get; set; }

Property value

TomlTableArrayStyle?

Gets the trailing trivia attached to this node. Might be null if no trailing trivias.

public List<TomlSyntaxTriviaMetadata>? TrailingTrivia { get; set; }

TrailingTriviaAfterEndOfLine

TomlPropertyMetadata.cs

Gets the trailing trivia attached to this node. Might be null if no trailing trivias.

public List<TomlSyntaxTriviaMetadata>? TrailingTriviaAfterEndOfLine { get; set; }