Пример #1
0
        public GMacMacroCodeComposerDefaults(GMacCodeLibraryComposer libGen)
        {
            LibraryComposer = libGen;

            AllowGenerateMacroCode = true;

            ActionBeforeGenerateComputations = null;

            ActionAfterGenerateComputations = null;
        }
Пример #2
0
        public GMacMacroCodeComposer(GMacCodeLibraryComposer libGen, AstMacro baseMacro = null)
            : base(libGen)
        {
            SyntaxList = new SteSyntaxElementsList();

            MacroBinding = baseMacro.IsNullOrInvalid() ? null : GMacMacroBinding.Create(baseMacro);

            UsedDefaults = libGen.MacroGenDefaults.Duplicate();

            SetDefaults();
        }
Пример #3
0
 protected GMacCodePartComposer(GMacCodeLibraryComposer libGen)
 {
     LibraryComposer = libGen;
 }
Пример #4
0
 protected GMacMacroCodeFileComposer(GMacCodeLibraryComposer libGen, AstMacro baseMacro = null)
     : base(libGen)
 {
     MacroCodeGenerator = new GMacMacroCodeComposer(libGen, baseMacro);
 }
Пример #5
0
 protected GMacCodeFileComposer(GMacCodeLibraryComposer libGen)
     : base(libGen)
 {
     FileComposer = LibraryComposer.ActiveFileComposer;
 }