MrKWatkins.Ast 0.9.132 Help

MessageFormatterOptions Class

Definition

Options for the MessageFormatter.

public sealed class MessageFormatterOptions

Constructors

Properties

Name

Description

Default

MessageFormatterOptions with PrefixWithSourcePosition = false and HighlightSourcePosition = false.

HighlightOnly

MessageFormatterOptions with PrefixWithSourcePosition = false and HighlightSourcePosition = true.

HighlightSourcePosition

Whether to suffix the message with a highlight of the message in its line.

PrefixAndHighlight

MessageFormatterOptions with PrefixWithSourcePosition = true and HighlightSourcePosition = true.

PrefixOnly

MessageFormatterOptions with PrefixWithSourcePosition = true and HighlightSourcePosition = false.

PrefixWithSourcePosition

Whether to prefix the message with the source position or not.

Last modified: 12 August 2025