public void createSourceMapper(Document document, string jsFileName, TextWriter jsFile, TextWriter sourceMapOut, Func<string,string> resolvePath) { this.sourceMapper = new SourceMapper(jsFile, sourceMapOut, document, jsFileName, this.emitOptions, resolvePath); }
public SourceMapper ( TextWriter jsFile, TextWriter sourceMapOut, Document document, string jsFilePath, EmitOptions emitOptions, Func<string,string> resolvePath // (path: string) => string ) { this.jsFile = jsFile; this.sourceMapOut = sourceMapOut; this.setSourceMapOptions(document, jsFilePath, emitOptions, resolvePath); this.setNewSourceFile(document, emitOptions); }