LexerError

open class LexerError(message: String, name: String, details: String, start: Position, end: Position) : CompilerError(source)

Constructors

Link copied to clipboard
constructor(base: LexingBase<*, *>, name: String, details: String, start: Position = base.input.positionMaker.createPositionAtLocation(), end: Position = start)
constructor(base: LexingBase<*, *>, details: String, start: Position = base.input.positionMaker.createPositionAtLocation(), end: Position = start)
constructor(name: String, details: String, start: Position, end: Position = start)
constructor(details: String, start: Position, end: Position = start)
constructor(message: String, name: String, details: String, start: Position, end: Position)

Properties

Link copied to clipboard
open val cause: Throwable?
Link copied to clipboard

The details of the CompilerError

Link copied to clipboard

The end position of the CompilerError

Link copied to clipboard

The name of the CompilerError

Link copied to clipboard

The marker of the Error

Link copied to clipboard
open val message: String?
Link copied to clipboard

The start position of the CompilerError

Functions

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

Stringify the CompilerError