LexerError class

A LexerError exception thrown when the Lexer encounters invalid syntax or characters in the source code.

It includes the line number, column number, and a descriptive message indicating the nature of the error.

Implemented types

Constructors

LexerError(int line, int column, String message)

Properties

column → int
final
hashCode → int
The hash code for this object.
no setterinherited
line → int
final
message → String
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
override

Operators

operator ==(Object other) → bool
The equality operator.
inherited