SourceTextModuleOptions

sealed external interface SourceTextModuleOptions(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?
Link copied to clipboard
abstract var context: Context?
Link copied to clipboard
abstract var identifier: String?

String used in stack traces.

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 initializeImportMeta: (@R|kotlin/ParameterName|(name = String(meta)) ERROR CLASS: Symbol not found for ImportMeta, module: SourceTextModule) -> Unit?

Called during evaluation of this module to initialize the import.meta.

Link copied to clipboard
abstract var lineOffset: Double?