public MvLibrary(AstRoot ast) : base(ast, GMacLanguageServer.CSharp4()) { MacroGenDefaults = new GMacMacroCodeComposerDefaults(this); MultivectorClassesData = new Dictionary <int, MvClassData>(); }
public SingleMacroGen(GMacMacroBinding macroBinding) : base(macroBinding.BaseMacro.Root, GMacLanguageServer.CSharp4()) { MacroBinding = macroBinding; MacroGenDefaults = new GMacMacroCodeComposerDefaults(this); SelectedSymbols.Add(macroBinding.BaseMacro); }
public BladesLibrary(AstRoot astInfo) : base(astInfo, GMacLanguageServer.CSharp4()) { MacroGenDefaults = new GMacMacroCodeComposerDefaults(this); UniqueNameGenerator = new UniqueNameFactory() { IndexFormatString = "X4" }; TempSymbolsCompiler = new GMacTempSymbolCompiler(); }
public DirectLibrary(AstRoot astInfo) : base(astInfo, GMacLanguageServer.CSharp4()) { MacroGenDefaults = new GMacMacroCodeComposerDefaults(this); }
/// <summary> /// All derived classes must take a single AstRoot parameter for uniform operation purposes /// </summary> /// <param name="ast"></param> /// <param name="targetLanguage"></param> protected GMacCodeLibraryComposer(AstRoot ast, GMacLanguageServer targetLanguage) { Root = ast; GMacLanguage = targetLanguage; SelectedSymbols = new AstSymbolsCollection(Root); }
public FrameLibrary(AstRoot ast) : base(ast, GMacLanguageServer.GMacDsl()) { MacroGenDefaults = new GMacMacroCodeComposerDefaults(this); }