Пример #1
0
        public MvLibrary(AstRoot ast)
            : base(ast, GMacLanguageServer.CSharp4())
        {
            MacroGenDefaults = new GMacMacroCodeComposerDefaults(this);

            MultivectorClassesData = new Dictionary <int, MvClassData>();
        }
Пример #2
0
        public SingleMacroGen(GMacMacroBinding macroBinding)
            : base(macroBinding.BaseMacro.Root, GMacLanguageServer.CSharp4())
        {
            MacroBinding = macroBinding;

            MacroGenDefaults = new GMacMacroCodeComposerDefaults(this);

            SelectedSymbols.Add(macroBinding.BaseMacro);
        }
Пример #3
0
        public BladesLibrary(AstRoot astInfo)
            : base(astInfo, GMacLanguageServer.CSharp4())
        {
            MacroGenDefaults = new GMacMacroCodeComposerDefaults(this);

            UniqueNameGenerator = new UniqueNameFactory()
            {
                IndexFormatString = "X4"
            };

            TempSymbolsCompiler = new GMacTempSymbolCompiler();
        }
Пример #4
0
 public DirectLibrary(AstRoot astInfo)
     : base(astInfo, GMacLanguageServer.CSharp4())
 {
     MacroGenDefaults = new GMacMacroCodeComposerDefaults(this);
 }
Пример #5
0
 /// <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);
 }
Пример #6
0
 public FrameLibrary(AstRoot ast)
     : base(ast, GMacLanguageServer.GMacDsl())
 {
     MacroGenDefaults = new GMacMacroCodeComposerDefaults(this);
 }