protected CompileWithStreams ( ICompiler comp, IEnumerable |
||
comp | ICompiler | |
args | IEnumerable |
|
stderr | ||
stdout | ||
includes | List |
|
return | int |
protected int CompileWithStreams(ICompiler comp, IEnumerable<string> args, StreamWriter stderr, StreamWriter stdout, List<string> includes)
{
var rv = comp.InvokeCompiler(args,
x =>
{
stderr.Write(x);
}, y =>
{
stdout.Write(y);
}, includes != null, includes);
return rv;
}