The column markers aligned under the error
The error message (msg
) aligned under pos
The error message (msg
) aligned under pos
aligned error message
Explanation rendered under "Explanation" header
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.
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
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
(lines before error, lines after error, line numbers offset)
Remove ANSI coloring from str
, useful for getting real length of
strings
Remove ANSI coloring from str
, useful for getting real length of
strings
string stripped of ANSI escape codes