public void Run(IQlLanguageBuilder qlLanguageBuilder) { var astTree = qlLanguageBuilder.BuildAst(); var report = qlLanguageBuilder.CheckSyntax(astTree); if (!report.HasErrors()) { qlLanguageBuilder.RunApplication(astTree); } }
public void Run(IQlLanguageBuilder qlLanguageBuilder) { var astTree = qlLanguageBuilder.BuildAst(); var report = qlLanguageBuilder.CheckSyntax(astTree); if (!report.HasErrors()) { var widget = qlLanguageBuilder.CreateFormWidget(astTree); qlLanguageBuilder.RunApplication(widget); } }