ErrorMarker

class ErrorMarker(val source: String, val colorPreview: String, val preview: String, val marker: String)(source)

A marker for the position of the CompilerError

Since

0.1.0

Constructors

Link copied to clipboard
constructor(source: String, colorPreview: String, preview: String, marker: String)

Properties

Link copied to clipboard

The colorPreview of the ErrorMarker

Link copied to clipboard

The marker of the ErrorMarker

Link copied to clipboard

The preview of the ErrorMarker

Link copied to clipboard

The source of the ErrorMarker

Functions

Link copied to clipboard

Generate the ErrorMarker as a string including console colors

Link copied to clipboard

Generate the ErrorMarker as a string

Link copied to clipboard
open override fun toString(): String

Stringify the CompilerError (just the same as ErrorMarker.generateMarker