예제 #1
0
        public void Run(IQlLanguageBuilder qlLanguageBuilder)
        {
            var astTree = qlLanguageBuilder.BuildAst();
            var report  = qlLanguageBuilder.CheckSyntax(astTree);

            if (!report.HasErrors())
            {
                qlLanguageBuilder.RunApplication(astTree);
            }
        }
예제 #2
0
        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);
            }
        }
예제 #3
0
        public void Run(IQlLanguageBuilder qlLanguageBuilder, IQlsLanguageBuilder qlsLanguageBuilder)
        {
            var qlAstTree = qlLanguageBuilder.BuildAst();

            qlLanguageBuilder.CheckSyntax(qlAstTree);

            var qlsAstTree = qlsLanguageBuilder.BuildAst();

            qlsLanguageBuilder.CheckSyntax(qlAstTree, qlsAstTree);
            qlsLanguageBuilder.RunApplication(qlAstTree, qlsAstTree);
        }