MCPcopy Create free account
hub / github.com/Pilfer/hermes_rs / BytecodeOptions

Class BytecodeOptions

src/hermes/bytecode_options.rs:10–15  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

8#[cfg_attr(feature = "serde", derive(serde::Serialize))]
9#[derive(Debug)]
10pub struct BytecodeOptions {
11 pub static_builtins: bool,
12 pub cjs_modules_statically_resolved: bool,
13 pub has_async: bool,
14 pub flags: bool,
15}
16
17impl BytecodeOptions {
18 pub fn new() -> Self {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected