isSynthetic property

  1. @override
bool get isSynthetic
inherited

Return true if this token is a synthetic token. A synthetic token is a token that was introduced by the parser in order to recover from an error in the code.

Implementation

@override
bool get isSynthetic => length == 0;