示例#1
0
        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);
        }