private void OnSyntaxError(object sender, ISyntaxError syntaxError) => Report(new SyntaxError(syntaxError));
public SyntaxError(ISyntaxError error) { Error = error; }
private void ReportSyntaxError(ISyntaxError syntaxError) => SyntaxError?.Invoke(this, syntaxError);