public ICheckerReport CheckSyntax(FormStatement root) { var typeChecker = new SyntaxChecker(); var report = typeChecker.Check(root); foreach (var message in report.AllMessages) { Console.WriteLine(message); } Console.WriteLine("QL Type check done!"); return(report); }