addErrors method

ParseResult<T> addErrors(
  1. Iterable<SyntaxError> errors
)

Implementation

ParseResult<T> addErrors(Iterable<SyntaxError> errors) {
  return change(
    errors: new List<SyntaxError>.from(this.errors)..addAll(errors),
  );
}