public GMacMacroCodeComposer(GMacMacroCodeComposerDefaults codeGenDefaults, AstMacro baseMacro = null) : base(codeGenDefaults.LibraryComposer) { SyntaxList = new SteSyntaxElementsList(); MacroBinding = baseMacro.IsNullOrInvalid() ? null : GMacMacroBinding.Create(baseMacro); UsedDefaults = codeGenDefaults.Duplicate(); SetDefaults(); }
protected GMacMacroCodeFileComposer(GMacMacroCodeComposerDefaults defaults, AstMacro baseMacro = null) : base(defaults.LibraryComposer) { MacroCodeGenerator = new GMacMacroCodeComposer(defaults, baseMacro); }