public PythonCompiler(IList <string> sourceFiles, IList <ResourceFile> resourceFiles, string outputAssembly, CompilerSink compilerSink) { this.sourceFiles = sourceFiles; this.resourceFiles = resourceFiles; this.outputAssembly = outputAssembly; this.compilerSink = compilerSink; }
public PythonCompiler(IList<string> sourceFiles, IList<ResourceFile> resourceFiles, string outputAssembly, CompilerSink compilerSink) { this.sourceFiles = sourceFiles; this.resourceFiles = resourceFiles; this.outputAssembly = outputAssembly; this.compilerSink = compilerSink; this.state = new SystemState(); }
public static Module Analyze(Modules modules, CompilerSink sink, string name, string text) { CompilerContext context = new CompilerContext(name, sink); Parser parser = Parser.FromString(state, context, text); Statement Statement = parser.ParseFileInput(); Analyzer analyzer = new Analyzer(); return analyzer.DoAnalyze(modules, name, Statement); }
public Module AnalyzeModule(CompilerSink sink, string name, string text) { Module module = Analyzer.Analyze(this, sink, name, text); return module; }
public PythonCompiler(IList<string> sourceFiles, string outputAssembly, CompilerSink compilerSink) : this(sourceFiles, null, outputAssembly, compilerSink) { }
public PythonCompilerSink(CompilerSink sink) { this.sink = sink; }
public PythonCompiler(IList <string> sourceFiles, string outputAssembly, CompilerSink compilerSink) : this(sourceFiles, null, outputAssembly, compilerSink) { }
public CompilerContext(string sourceFile, CompilerSink sink) { this.sourceFile = sourceFile; this.sink = sink; }