Exemple #1
0
        private void GenerateMacro_SampleTargetCode()
        {
            MacroCodeGenerator.Generate();

            var itemText = MacroCodeGenerator.CodeFilesComposer.FirstFileFinalText;

            MacroCodeGenerator.ReportNormal("Sample Target Code", itemText);
        }
        private void GenerateMacro_OptimizedBodyCallCode()
        {
            var itemText = MacroBinding.GenerateMacroBodyCallCode(
                AstMacroBodyKind.OptimizedCompiledBody,
                true
                );

            MacroCodeGenerator.ReportNormal("Optimized Body Call Code", itemText);
        }
        private void GenerateMacro_ParsedBodyCallCode()
        {
            var itemText = MacroBinding.GenerateMacroBodyCallCode(
                AstMacroBodyKind.ParsedBody,
                true
                );

            MacroCodeGenerator.ReportNormal("Parsed Body Call Code", itemText);
        }
Exemple #4
0
        private void GenerateMacro_OptimizedBody()
        {
            AstDescription.Log.Clear();

            AstDescription.Generate_Macro_UsingOptimizedCompiledBody(SelectedGMacMacro);

            var itemText = AstDescription.Log.ToString();

            MacroCodeGenerator.ReportNormal("Optimized Body", itemText);
        }
Exemple #5
0
        private void GenerateMacro_DslCode()
        {
            var itemText = SelectedGMacMacro.CodeLocation.CodeText;

            MacroCodeGenerator.ReportNormal("DSL Source Code", itemText);
        }