MrKWatkins.Ast Help

MessageFormatter Class

Definition

Utility methods to format Messages as strings. Formatting optionally includes the original source code.

public abstract sealed class MessageFormatter

Methods

Name

Description

Format<TNode>(Node<TNode>, MessageLevel, Boolean)

Lazily enumerates over all Messages of the specified MessageLevel in the specified node.

Format<TNode>(Node<TNode>, Boolean)

Lazily enumerates over all Messages in the specified node, grouping by Level in descending order. I.e. Error then Warning and then Info.

FormatErrors<TNode>(Node<TNode>, Boolean)

Lazily enumerates over all Errors in the specified node.

Last modified: 22 November 2024