CompileFunctionOptions

sealed external interface CompileFunctionOptions : BaseOptions(source)

Properties

Link copied to clipboard
abstract var cachedData: Any?

Provides an optional data with V8's code cache data for the supplied source.

Link copied to clipboard
abstract var columnOffset: Double?

Specifies the column number offset that is displayed in stack traces produced by this script.

Link copied to clipboard
abstract var contextExtensions: ERROR CLASS: Symbol not found for js.array.ReadonlyArray<kotlin/Any>??

An array containing a collection of context extensions (objects wrapping the current scope) to be applied while compiling

Link copied to clipboard
abstract var filename: String?

Specifies the filename used in stack traces produced by this script.

Link copied to clipboard

Used to specify how the modules should be loaded during the evaluation of this script when import() is called. This option is part of the experimental modules API. We do not recommend using it in a production environment. For detailed information, see Support of dynamic import() in compilation APIs.

Link copied to clipboard
abstract var lineOffset: Double?

Specifies the line number offset that is displayed in stack traces produced by this script.

Link copied to clipboard
abstract var parsingContext: Context?

The sandbox/context in which the said function should be compiled in.

Link copied to clipboard
abstract var produceCachedData: Boolean?

Specifies whether to produce new cache data.