ParserErrorUtils class

Parser error with position and snippet.

Constructors

ParserErrorUtils(String message, {int? line, int? column, String? snippet})
Creates a parser error with a human-readable message and optional position (line, column) and source snippet. Audited: 2026-06-12 11:26 EDT
const

Properties

column → int?
The 1-based column where the error occurred, or null if unknown. Audited: 2026-06-12 11:26 EDT
no setter
hashCode → int
The hash code for this object.
no setterinherited
line → int?
The 1-based line where the error occurred, or null if unknown. Audited: 2026-06-12 11:26 EDT
no setter
message → String
The human-readable description of what went wrong. Audited: 2026-06-12 11:26 EDT
no setter
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
snippet → String?
The offending source excerpt, or null if none was captured. Audited: 2026-06-12 11:26 EDT
no setter

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