failAll<R> method
Implementation
@pragma('vm:prefer-inline')
Result<R>? failAll<R>(List<ParseError> errors) {
if (pos >= failPos) {
if (failPos < pos) {
failPos = pos;
errorCount = 0;
}
for (var i = 0; i < errors.length; i++) {
if (errorCount < errors.length) {
this.errors[errorCount++] = errors[i];
}
}
}
return null;
}