ParserError class
A parser error
- Inheritance
-
- Object
- Error
- SyntaxError
- ParserError
Constructors
-
ParserError(String message, String text, ParserState state, ParserSymbol symbol, int lineNo, int position, ParserLocation loc, List<
String> expected)
Properties
-
expected
→ List<
String> -
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- lineNo → int
-
final
- loc → ParserLocation
-
final
- message → String
-
The error message.
final
- position → int
-
The position of the error.
Note:
\n
is also counted.final - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- stackTrace → StackTrace?
-
The stack trace at the point where this error was first thrown.
no setterinherited
- state → ParserState
-
final
- symbol → ParserSymbol
-
final
- text → String
-
The source text causing the error.
final
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