Esempio n. 1
0
        //public List<string> UsedUnits;

        // Конструктор формы
        public AspectTreeForm()
        {
            InitializeComponent();
            // Инициализация данных плагина
            PascalABCCompiler.StringResources.SetTextForAllObjects(this, AspectTree_VisualPascalABCPlugin.StringsPrefix);
            SaveButtonsEnabled   = false;
            SaveOneButtonEnabled = false;
            InsertButtonsEnabled = false;

            // Создание подобъектов плагина
            this.AspectScm    = new PascalABCCompiler.ParserTools.SourceContextMap();
            this.AspectErrors = new List <Error>();
            //this.UsedUnits = new List<string>();
            PascalABCCompiler.SourceFilesProviderDelegate sourceFilesProvider = PascalABCCompiler.SourceFilesProviders.DefaultSourceFilesProvider;
            this.AspectPreprocessor = new PascalABCCompiler.Preprocessor2.Preprocessor2(sourceFilesProvider);
        }
Esempio n. 2
0
        //public List<string> UsedUnits;

        // Конструктор формы
        public AspectTreeForm()
        {
            InitializeComponent();
            // Инициализация данных плагина
            PascalABCCompiler.StringResources.SetTextForAllObjects(this, AspectTree_VisualPascalABCPlugin.StringsPrefix);
            SaveButtonsEnabled = false;
            SaveOneButtonEnabled = false;
            InsertButtonsEnabled = false;

            // Создание подобъектов плагина
            this.AspectScm = new PascalABCCompiler.ParserTools.SourceContextMap();
            this.AspectErrors = new List<Error>();
            //this.UsedUnits = new List<string>();
            PascalABCCompiler.SourceFilesProviderDelegate sourceFilesProvider = PascalABCCompiler.SourceFilesProviders.DefaultSourceFilesProvider;
            this.AspectPreprocessor = new PascalABCCompiler.Preprocessor2.Preprocessor2(sourceFilesProvider);           
        }