public void AddParserError(string message, params object[] args) {
var location = CurrentParserInput == null? Source.Location : CurrentParserInput.Span.Location;
HasErrors = true;
AddParserMessage(ParserErrorLevel.Error, location, message, args);
}
public void AddParserMessage(ParserErrorLevel level, SourceLocation location, string message, params object[] args) {