blob: 56d280b629da2f9ff014a70ae6184ebb95e47d5e [file]
package org.mozilla.javascript;
import java.io.Serializable;
import java.util.function.Supplier;
/**
* A lambda that can provide the source code for a given script.
*
* <p>It is expected that this is implemented externally, from Rhino users.
*
* @see CompileRequest.Builder#sourceSupplier(ISourceCodeSupplier)
*/
@FunctionalInterface
public interface SourceCodeSupplier extends Supplier<String>, Serializable {}