Skip to content

ContextCodeGeneration

[<Interface>]
type ContextCodeGeneration =
    abstract member strings: bool option with get, set
    abstract member wasm: bool option with get, set
    static member Create (?strings: bool, ?wasm: bool) : ContextCodeGeneration
AssemblyXantham.Fable.Node
Attributes[<Interface>]

Properties

abstract member strings: bool option with get, set

If set to false any calls to eval or function constructors (Function, GeneratorFunction, etc) will throw an EvalError.

abstract member wasm: bool option with get, set

If set to false any attempt to compile a WebAssembly module will throw a WebAssembly.CompileError.

Methods

static member Create (?strings: bool, ?wasm: bool) : ContextCodeGeneration