1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75
|
[quickjs-emscripten](../README.md) / [Exports](../modules.md) / ContextEvalOptions
# Interface: ContextEvalOptions
## Table of contents
### Properties
- [backtraceBarrier](ContextEvalOptions.md#backtracebarrier)
- [compileOnly](ContextEvalOptions.md#compileonly)
- [strict](ContextEvalOptions.md#strict)
- [strip](ContextEvalOptions.md#strip)
- [type](ContextEvalOptions.md#type)
## Properties
### backtraceBarrier
• `Optional` **backtraceBarrier**: `boolean`
don't include the stack frames before this eval in the Error() backtraces
#### Defined in
[ts/types.ts:212](https://github.com/justjake/quickjs-emscripten/blob/main/ts/types.ts#L212)
___
### compileOnly
• `Optional` **compileOnly**: `boolean`
compile but do not run. The result is an object with a
JS_TAG_FUNCTION_BYTECODE or JS_TAG_MODULE tag. It can be executed
with JS_EvalFunction().
#### Defined in
[ts/types.ts:210](https://github.com/justjake/quickjs-emscripten/blob/main/ts/types.ts#L210)
___
### strict
• `Optional` **strict**: `boolean`
Force "strict" mode
#### Defined in
[ts/types.ts:202](https://github.com/justjake/quickjs-emscripten/blob/main/ts/types.ts#L202)
___
### strip
• `Optional` **strip**: `boolean`
Force "strip" mode
#### Defined in
[ts/types.ts:204](https://github.com/justjake/quickjs-emscripten/blob/main/ts/types.ts#L204)
___
### type
• `Optional` **type**: ``"module"`` \| ``"global"``
Global code (default)
#### Defined in
[ts/types.ts:200](https://github.com/justjake/quickjs-emscripten/blob/main/ts/types.ts#L200)
|