CaptureTrivia Property

Definition

Namespace Tomlyn.Parsing
Assembly Tomlyn.dll

Gets or sets a value indicating whether the parser captures comment trivia.

public bool CaptureTrivia { get; init; }

Returns

Remarks

When enabled, the parser records comment trivia around property names and scalar values so that higher-level layers can populate ITomlMetadataStore instances.