Esempio n. 1
0
        public MvLibrary(AstRoot ast)
            : base(ast, GMacLanguageServer.CSharp4())
        {
            MacroGenDefaults = new GMacMacroCodeComposerDefaults(this);

            MultivectorClassesData = new Dictionary <int, MvClassData>();
        }
Esempio n. 2
0
        public SingleMacroGen(GMacMacroBinding macroBinding)
            : base(macroBinding.BaseMacro.Root, GMacLanguageServer.CSharp4())
        {
            MacroBinding = macroBinding;

            MacroGenDefaults = new GMacMacroCodeComposerDefaults(this);

            SelectedSymbols.Add(macroBinding.BaseMacro);
        }
Esempio n. 3
0
        public BladesLibrary(AstRoot astInfo)
            : base(astInfo, GMacLanguageServer.CSharp4())
        {
            MacroGenDefaults = new GMacMacroCodeComposerDefaults(this);

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

            TempSymbolsCompiler = new GMacTempSymbolCompiler();
        }
Esempio n. 4
0
 public DirectLibrary(AstRoot astInfo)
     : base(astInfo, GMacLanguageServer.CSharp4())
 {
     MacroGenDefaults = new GMacMacroCodeComposerDefaults(this);
 }
Esempio n. 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);
 }
Esempio n. 6
0
 public FrameLibrary(AstRoot ast)
     : base(ast, GMacLanguageServer.GMacDsl())
 {
     MacroGenDefaults = new GMacMacroCodeComposerDefaults(this);
 }