Esempio n. 1
0
        public void Run(IQlLanguageBuilder qlLanguageBuilder)
        {
            var astTree = qlLanguageBuilder.BuildAst();
            var report  = qlLanguageBuilder.CheckSyntax(astTree);

            if (!report.HasErrors())
            {
                qlLanguageBuilder.RunApplication(astTree);
            }
        }
Esempio n. 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);
            }
        }
Esempio n. 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);
        }