Skip to content

CompileFunctionOptions

[<Interface>]
type CompileFunctionOptions =
    abstract member contextExtensions: Object array option with get, set
    abstract member importModuleDynamically: U2<float,ImportModuleDynamically> option with get, set
    abstract member parsingContext: Context option with get, set
    static member Create (?parsingContext: Context, ?contextExtensions: Object array, ?importModuleDynamically: U2<float,ImportModuleDynamically>, ?filename: string, ?lineOffset: float, ?columnOffset: float, ?cachedData: U12<BigInt64Array<U2<ArrayBuffer,SharedArrayBuffer>>,BigUint64Array<U2<ArrayBuffer,SharedArrayBuffer>>,DataView<U2<ArrayBuffer,SharedArrayBuffer>>,Float32Array<U2<ArrayBuffer,SharedArrayBuffer>>,Float64Array<U2<ArrayBuffer,SharedArrayBuffer>>,Int16Array<U2<ArrayBuffer,SharedArrayBuffer>>,Int32Array<U2<ArrayBuffer,SharedArrayBuffer>>,Int8Array<U2<ArrayBuffer,SharedArrayBuffer>>,Uint16Array<U2<ArrayBuffer,SharedArrayBuffer>>,Uint32Array<U2<ArrayBuffer,SharedArrayBuffer>>,Uint8Array<U2<ArrayBuffer,SharedArrayBuffer>>,Uint8ClampedArray<U2<ArrayBuffer,SharedArrayBuffer>>>, ?produceCachedData: bool) : CompileFunctionOptions
AssemblyXantham.Fable.Node
ImplementsBase, BaseOptions
Attributes[<Interface>]

Declared inside

Base
ImportModuleDynamically

Properties

abstract member contextExtensions: Object array option with get, set

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

abstract member importModuleDynamically: U2<float,ImportModuleDynamically> option with get, set

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.

abstract member parsingContext: Context option with get, set

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

Methods

static member Create (?parsingContext: Context, ?contextExtensions: Object array, ?importModuleDynamically: U2<float,ImportModuleDynamically>, ?filename: string, ?lineOffset: float, ?columnOffset: float, ?cachedData: U12<BigInt64Array<U2<ArrayBuffer,SharedArrayBuffer>>,BigUint64Array<U2<ArrayBuffer,SharedArrayBuffer>>,DataView<U2<ArrayBuffer,SharedArrayBuffer>>,Float32Array<U2<ArrayBuffer,SharedArrayBuffer>>,Float64Array<U2<ArrayBuffer,SharedArrayBuffer>>,Int16Array<U2<ArrayBuffer,SharedArrayBuffer>>,Int32Array<U2<ArrayBuffer,SharedArrayBuffer>>,Int8Array<U2<ArrayBuffer,SharedArrayBuffer>>,Uint16Array<U2<ArrayBuffer,SharedArrayBuffer>>,Uint32Array<U2<ArrayBuffer,SharedArrayBuffer>>,Uint8Array<U2<ArrayBuffer,SharedArrayBuffer>>,Uint8ClampedArray<U2<ArrayBuffer,SharedArrayBuffer>>>, ?produceCachedData: bool) : CompileFunctionOptions