AnalysisError class

Implementers

Constructors

AnalysisError({required AnalysisErrorType type, String? message, SyntacticEntity? relevantNode})
AnalysisError.fromParser(ParsingError error)
factory

Properties

hashCode int
The hash code for this object.
no setterinherited
message String?
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
source SyntacticEntity?
final
span → FileSpan?
The relevant portion of the source code that caused this error. Some AST nodes don't have a span, in that case this error is going to have a null span as well.
no setter
type AnalysisErrorType
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