module

Mint::Message

This module contains the shared DSL for building rich, descriptive messages (used by both Error and Warning).

Instance methods

block
Source
block(contents : String)
Source
blocks

The message is based on blocks of elements. The blocks are separated by double new lines.

Source
bold(value : String)
Source
code(value : String)
Source
expected(subject : String, got : String)
Source
expected(subject : TypeChecker::Checkable | String, got : TypeChecker::Checkable)
Source
locations
Source
name

The name of the message.

Source
snippet(value : String, node : SnippetTarget)
Source
snippet(value : SnippetTarget)
Source
text(value : String)
Source
to_terminal(title : String)
Source

Nested types