public void transpile(N4JSResource resource,Writer outCode,Optional<SourceMapInfo> optSourceMapInfo){
  final TranspilerState state=prepare(resource);
  transform(state);
  prettyPrint(state,outCode,optSourceMapInfo);
}

public void transpile ( N4JSResource resource , Writer outCode , Optional < SourceMapInfo > optSourceMapInfo ) { final TranspilerState state = prepare ( resource ) ; transform ( state ) ; prettyPrint ( state , outCode , optSourceMapInfo ) ; }
transpile the given resource to the given writers .
