Beispiel #1
0
 protected void ErrorAndThrow(DiagMsg diagMsg, TextSpan textSpan)
 {
     Error(diagMsg, textSpan);
     Throw();
 }
Beispiel #2
0
 protected void ErrorAndThrow(DiagMsg diagMsg)
 {
     ErrorAndThrow(diagMsg, GetToken().TextSpan);
 }
Beispiel #3
0
 protected void Error(DiagMsg diagMsg, TextSpan textSpan)
 {
     Error((int)diagMsg.Code, diagMsg.GetMessage(), textSpan);
 }