Properties
-
copyWith
→ _$$TokenExpectationImplCopyWith<_$TokenExpectationImpl>
-
Create a copy of ExpectationType
with the given fields replaced by the non-null parameter values.
no setter
-
description
→ String?
-
no setter
-
hashCode
→ int
-
The hash code for this object.
no setterinherited
-
runtimeType
→ Type
-
A representation of the runtime type of the object.
no setterinherited
-
token
→ TokenType
-
no setter
Methods
-
map<TResult extends Object?>({required TResult declaration(DeclarationExpectation value), required TResult expression(ExpressionExpectation value), required TResult oneOf(OneOfExpectation value), required TResult token(TokenExpectation value)})
→ TResult
-
inherited
-
mapOrNull<TResult extends Object?>({TResult? declaration(DeclarationExpectation value)?, TResult? expression(ExpressionExpectation value)?, TResult? oneOf(OneOfExpectation value)?, TResult? token(TokenExpectation value)?})
→ TResult?
-
inherited
-
maybeMap<TResult extends Object?>({TResult declaration(DeclarationExpectation value)?, TResult expression(ExpressionExpectation value)?, TResult oneOf(OneOfExpectation value)?, TResult token(TokenExpectation value)?, required TResult orElse()})
→ TResult
-
inherited
-
maybeWhen<TResult extends Object?>({TResult declaration(Declaration? declaration)?, TResult expression(Expression? expression)?, TResult oneOf(List<ExpectationType> expectations)?, TResult token(TokenType token, String? description)?, required TResult orElse()})
→ TResult
-
inherited
-
noSuchMethod(Invocation invocation)
→ dynamic
-
Invoked when a nonexistent method or property is accessed.
inherited
-
toString()
→ String
-
A string representation of this object.
inherited
-
when<TResult extends Object?>({required TResult declaration(Declaration? declaration), required TResult expression(Expression? expression), required TResult oneOf(List<ExpectationType> expectations), required TResult token(TokenType token, String? description)})
→ TResult
-
inherited
-
whenOrNull<TResult extends Object?>({TResult? declaration(Declaration? declaration)?, TResult? expression(Expression? expression)?, TResult? oneOf(List<ExpectationType> expectations)?, TResult? token(TokenType token, String? description)?})
→ TResult?
-
inherited