public RemoteCompiler(int maxProcessMemoryMB, ChangeCompilerStateEventDelegate ChangeCompilerState, SourceFilesProviderDelegate sourceFilesProvider) { this.OnChangeCompilerState += ChangeCompilerState; this.sourceFilesProvider = sourceFilesProvider; this.maxProcessMemoryMB = maxProcessMemoryMB; pabcnetcStreamReader = new EventedStreamReaderList(stringRecived); pabcnetcStreamReader.DataSeparator = ConsoleCompilerConstants.DataSeparator; Reload(); }
public Compiler(ICompiler comp, SourceFilesProviderDelegate SourceFilesProvider, ChangeCompilerStateEventDelegate ChangeCompilerState) { //SyntaxTreeChanger = new SyntaxTreeChanger.SyntaxTreeChange(); // SSM 01/05/16 - подключение изменяльщика синтаксического дерева this.ParsersController = comp.ParsersController; this.internalDebug = comp.InternalDebug; OnChangeCompilerState += ChangeCompilerStateEvent; if (SourceFilesProvider != null) this.sourceFilesProvider = SourceFilesProvider; if (ChangeCompilerState != null) OnChangeCompilerState += ChangeCompilerState; this.supportedSourceFiles = comp.SupportedSourceFiles; this.supportedProjectFiles = comp.SupportedProjectFiles; }
public Compiler(SourceFilesProviderDelegate SourceFilesProvider, ChangeCompilerStateEventDelegate ChangeCompilerState) { //SyntaxTreeChanger = new SyntaxTreeChanger.SyntaxTreeChange(); // SSM 01/05/16 - подключение изменяльщика синтаксического дерева OnChangeCompilerState += ChangeCompilerStateEvent; if (SourceFilesProvider != null) this.sourceFilesProvider = SourceFilesProvider; if (ChangeCompilerState != null) OnChangeCompilerState += ChangeCompilerState; Reload(); }
public Compiler(SourceFilesProviderDelegate SourceFilesProvider, ChangeCompilerStateEventDelegate ChangeCompilerState) { OnChangeCompilerState += ChangeCompilerStateEvent; if (SourceFilesProvider != null) this.sourceFilesProvider = SourceFilesProvider; if (ChangeCompilerState != null) OnChangeCompilerState += ChangeCompilerState; Reload(); }
public Compiler(ICompiler comp, SourceFilesProviderDelegate SourceFilesProvider, ChangeCompilerStateEventDelegate ChangeCompilerState) { this.ParsersController = comp.ParsersController; this.internalDebug = comp.InternalDebug; OnChangeCompilerState += ChangeCompilerStateEvent; if (SourceFilesProvider != null) this.sourceFilesProvider = SourceFilesProvider; if (ChangeCompilerState != null) OnChangeCompilerState += ChangeCompilerState; this.supportedSourceFiles = comp.SupportedSourceFiles; this.supportedProjectFiles = comp.SupportedProjectFiles; }
public Preprocessor2(SourceFilesProviderDelegate sourceFilesProvider) { this.sourceFilesProvider = sourceFilesProvider; this.sm.Reset(); }
public Preprocessor(SourceFilesProviderDelegate sourceFilesProvider) { this.sourceFilesProvider = sourceFilesProvider; }