/// <summary> /// 拒绝当前的匹配,并尝试寻找下一个匹配。如果找不到下一个匹配,则会返回错误。 /// </summary> public void Reject() { if (!this.rejectable) { throw CompilerCommonExceptions.NotRejectable(); } if (this.reader.IsAccept) { throw CommonExceptions.ConflictingRejectAction(); } this.reader.IsReject = true; }