MessageRendering
Value members
Concrete methods
The error message (msg
) aligned under pos
The error message (msg
) aligned under pos
- Returns
aligned error message
The whole message rendered from msg
The whole message rendered from msg
When inlining a method call, if there's an error we'd like to get the
outer context and the pos
at which the call was inlined.
When inlining a method call, if there's an error we'd like to get the
outer context and the pos
at which the call was inlined.
- Returns
a list of strings with inline locations
The separator between errors containing the source file and error type
The separator between errors containing the source file and error type
- Returns
separator containing error location and kind
Get the sourcelines before and after the position, as well as the offset for rendering line numbers
Get the sourcelines before and after the position, as well as the offset for rendering line numbers
- Returns
(lines before error, lines after error, line numbers offset)